Update modalità invio parametri allo start
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user