[91f2a2]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_remoteedge_9577d5db / fb_remoteedge_c0d3796d / processndeath_b7746a9b / b7746a9ba02d420e8ae16595b3e4908a.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 4.6 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)b7746a9b-a02d-420e-8ae1-6595b3e4908a","ParentGuid":"(Guid)c0d3796d-4869-4b84-9cfc-2810ff81dc66","Name":"(string)ProcessNDEATH","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)1273","Tag":null,"Text":"(string)// Set all Edge metrics to offline and Edge.isQualityOK = FALSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1274","Tag":null,"Text":"(string)THIS^.setAllMetricsStatus(NewStatus := MetricStatus.EdgeOffline);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1275","Tag":null,"Text":"(string)THIS^.QualityOK := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1276","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1277","Tag":null,"Text":"(string)/// Set all Device metric to offline and each device.isQualityOK = FALSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1278","Tag":null,"Text":"(string)_devices.ItterateRestart(hasnext => existingHasNextDevice);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1279","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1280","Tag":null,"Text":"(string)WHILE existingHasNextDevice DO"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1281","Tag":null,"Text":"(string)    _devices.ItterateNext(itfElement => itfExistingElement, hasnext => existingHasNextDevice);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1282","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1283","Tag":null,"Text":"(string)    IF __QUERYINTERFACE(itfExistingElement, itfExistingDevice) THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1284","Tag":null,"Text":"(string)        itfExistingDevice.QualityOK := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1285","Tag":null,"Text":"(string)        itfExistingDevice.setAllMetricsStatus(NewStatus := MetricStatus.EdgeOffline);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1286","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1080","Tag":null,"Text":"(string)END_WHILE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)1261","Tag":null,"Text":"(string)//NDEATH certificate is received -> it tells which Edge FROM which group has \"died\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1262","Tag":null,"Text":"(string)//ProcessNDEATH :"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1263","Tag":null,"Text":"(string)//     Mark the edge status as \"EdgeOffline\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1264","Tag":null,"Text":"(string)//     Every Metric in the edge List should be se to \"stale\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1265","Tag":null,"Text":"(string)//     Every child Device should be counted as \"DeviceOffline\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1266","Tag":null,"Text":"(string)//     Every Metric in each Device should be set to \"stale\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1267","Tag":null,"Text":"(string)METHOD ProcessNDEATH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1268","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1269","Tag":null,"Text":"(string)    existingHasNextDevice : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1270","Tag":null,"Text":"(string)    existingHasNextMetric : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1271","Tag":null,"Text":"(string)    itfExistingElement : LinkedList.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1272","Tag":null,"Text":"(string)    itfExistingDevice : IRemoteDevice;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)4","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}