diff --git a/IOB-WIN-NEXT/DATA/CONF/GIACO_ICOEL_002.json b/IOB-WIN-NEXT/DATA/CONF/GIACO_ICOEL_002.json index 6af521b5..f82c0260 100644 --- a/IOB-WIN-NEXT/DATA/CONF/GIACO_ICOEL_002.json +++ b/IOB-WIN-NEXT/DATA/CONF/GIACO_ICOEL_002.json @@ -1,18 +1,10 @@ { "mMapWrite": { - "L1_Batch": { - "name": "L1_Batch", - "description": "Send Batch", + "setSupplier": { + "name": "setSupplier", + "description": "Send Batch req (GrowerCode|Descript)", "tipoMem": "String", - "memAddr": "L1_Batch", - "index": 0, - "size": 50 - }, - "L2_Batch": { - "name": "L2_Batch", - "description": "Send Batch", - "tipoMem": "String", - "memAddr": "L2_Batch", + "memAddr": "setSupplier", "index": 0, "size": 50 } @@ -20,7 +12,7 @@ "mMapRead": { "VelTonnOra": { "name": "VelTonnOra", - "description": "Velocità Impianto Tonnellate / Ora", + "description": "Vel. Impianto Tonnellate / Ora", "memAddr": "VelTonnOra", "tipoMem": "Real", "index": 0, @@ -31,7 +23,7 @@ }, "VelFruttiMinuto": { "name": "VelFruttiMinuto", - "description": "Velocità Impianto Frutti / Minuto", + "description": "Vel. Impianto Frutti / Minuto", "memAddr": "VelFruttiMinuto", "tipoMem": "Real", "index": 0, @@ -64,7 +56,7 @@ }, "L1_Batch": { "name": "L1_Batch", - "description": "Send Batch", + "description": "Curr Batch", "tipoMem": "String", "memAddr": "L1_Batch", "index": 0, @@ -75,7 +67,7 @@ }, "L2_Batch": { "name": "L2_Batch", - "description": "Send Batch", + "description": "Curr Batch", "tipoMem": "String", "memAddr": "L2_Batch", "index": 0, diff --git a/IOB-WIN-NEXT/IobGeneric.cs b/IOB-WIN-NEXT/IobGeneric.cs index 1e496278..67d94972 100644 --- a/IOB-WIN-NEXT/IobGeneric.cs +++ b/IOB-WIN-NEXT/IobGeneric.cs @@ -4961,12 +4961,12 @@ namespace IOB_WIN_NEXT allParam.Add(currItem); } // invio su cloud parametri SE sono connesso all'OPC-ua... - if (connectionOk) + if (serverOk) { rawData = JsonConvert.SerializeObject(allParam, Formatting.Indented); if (serverOk) { - utils.callUrl($"{urlSaveAllParams}", rawData); + var resp = utils.callUrl($"{urlSaveAllParams}", rawData); } else {