@fluxhub/fluxhub-lib 10.0.291 → 10.0.292

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16087,6 +16087,9 @@
16087
16087
  this.override_livs.push(lvlcfg);
16088
16088
  this.apply_over_load();
16089
16089
  };
16090
+ dati_aggiuntivi.prototype.overwriteLivs = function (o) {
16091
+ this.livs = JSON.parse(JSON.stringify(o));
16092
+ };
16090
16093
  dati_aggiuntivi.prototype.getLvlInfo = function (lvl) {
16091
16094
  for (var i = 0; i < this.livs.length; i++)
16092
16095
  if (lvl == this.livs[i].livello) {
@@ -16377,7 +16380,7 @@
16377
16380
  });
16378
16381
  };
16379
16382
  dati_aggiuntivi.prototype.apply_over_load = function () {
16380
- console.log(' this.apply_over_load(); ');
16383
+ // console.log(' this.apply_over_load(); ');
16381
16384
  if (this.override_livs != null)
16382
16385
  if (this.livs != null)
16383
16386
  for (var y = 0; y < this.override_livs.length; y++)
@@ -16388,7 +16391,7 @@
16388
16391
  this.livs[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
16389
16392
  this.livs[i].nc = this.override_livs[y].nc;
16390
16393
  }
16391
- console.log(this.livs, this.override_livs);
16394
+ // console.log(this.livs,this.override_livs);
16392
16395
  };
16393
16396
  dati_aggiuntivi.prototype.ok_livelli_doc = function (r) {
16394
16397
  this.livs = r;