@fluxhub/fluxhub-lib 10.0.221 → 10.0.223

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.
@@ -16139,7 +16139,7 @@ class dati_aggiuntivi {
16139
16139
  }
16140
16140
  }
16141
16141
  if (this.nlevel.livello >= 900) {
16142
- var ltn = this.getLvlInfo(this.nlevel.livello);
16142
+ let ltn = this.getLvlInfo(this.nlevel.livello);
16143
16143
  /*
16144
16144
  if(ltn!=null){
16145
16145
 
@@ -16549,6 +16549,7 @@ class dati_aggiuntivi {
16549
16549
  if (this.override_livs == null)
16550
16550
  this.override_livs = [];
16551
16551
  this.override_livs.push(lvlcfg);
16552
+ this.apply_over_load();
16552
16553
  }
16553
16554
  getLvlInfo(lvl) {
16554
16555
  for (let i = 0; i < this.livs.length; i++)
@@ -16825,20 +16826,22 @@ class dati_aggiuntivi {
16825
16826
  this.m_dataService.doQuery(p).subscribe(data => {
16826
16827
  if (data != null)
16827
16828
  if (data.result_msg == "OK") {
16828
- if (this.override_livs != null)
16829
- if (data.result_data != null)
16830
- for (var y = 0; y < this.override_livs.length; y++)
16831
- for (var i = 0; i < data.result_data.length; i++)
16832
- if (data.result_data[i].id_Applicativo != null)
16833
- if (data.result_data[i].id_Applicativo == this.override_livs[y].id_Applicativo) {
16834
- data.result_data[i].idp = this.override_livs[y].idp;
16835
- data.result_data[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
16836
- data.result_data[i].nc = this.override_livs[y].nc;
16837
- }
16838
16829
  this.ok_livelli_doc(data.result_data);
16839
16830
  }
16840
16831
  });
16841
16832
  }
16833
+ apply_over_load() {
16834
+ if (this.override_livs != null)
16835
+ if (this.livs != null)
16836
+ for (var y = 0; y < this.override_livs.length; y++)
16837
+ for (var i = 0; i < this.livs.length; i++)
16838
+ if (this.livs[i].id_Applicativo != null)
16839
+ if (this.livs[i].id_Applicativo == this.override_livs[y].id_Applicativo) {
16840
+ this.livs[i].idp = this.override_livs[y].idp;
16841
+ this.livs[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
16842
+ this.livs[i].nc = this.override_livs[y].nc;
16843
+ }
16844
+ }
16842
16845
  ok_livelli_doc(r) {
16843
16846
  this.livs = r;
16844
16847
  this.over_canale_iniz();