[e38993]: / project / sparkplug™_mqtt_host_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.5 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)1252","Tag":null,"Text":"(string)// Set all Edge metrics to offline and Edge.isQualityOK = FALSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1222","Tag":null,"Text":"(string)THIS^.setAllMetricsStatus( NewStatus := SPStack.MetricStatus.EdgeOffline );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1259","Tag":null,"Text":"(string)THIS^.QualityOK := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1176","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1177","Tag":null,"Text":"(string)/// Set all Device metric to offline and each device.isQualityOK = FALSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1182","Tag":null,"Text":"(string)_devices.ItterateRestart(hasnext => existingHasNextDevice);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1183","Tag":null,"Text":"(string)WHILE existingHasNextDevice DO"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1212","Tag":null,"Text":"(string)    _devices.ItterateNext(itfElement => itfExistingElement, hasnext => existingHasNextDevice);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1234","Tag":null,"Text":"(string)    IF __QUERYINTERFACE(itfExistingElement, itfExistingDevice) THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1258","Tag":null,"Text":"(string)        itfExistingDevice.QualityOK := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1235","Tag":null,"Text":"(string)        itfExistingDevice.setAllMetricsStatus( NewStatus := SPStack.MetricStatus.EdgeOffline );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1233","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)1158","Tag":null,"Text":"(string)//NDEATH certificate is received -> it tells which Edge FROM which group has \"died\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1159","Tag":null,"Text":"(string)//ProcessNDEATH :"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1160","Tag":null,"Text":"(string)//     Mark the edge status as \"EdgeOffline\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1260","Tag":null,"Text":"(string)//     Every Metric in the edge list should be se to \"stale\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1161","Tag":null,"Text":"(string)//     Every child Device should be counted as \"DeviceOffline\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1162","Tag":null,"Text":"(string)//     Every Metric in each Device should be set to \"stale\""}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1165","Tag":null,"Text":"(string)METHOD ProcessNDEATH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1170","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1208","Tag":null,"Text":"(string)    existingHasNextDevice : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1171","Tag":null,"Text":"(string)\texistingHasNextMetric : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1172","Tag":null,"Text":"(string)\titfExistingElement  : LinkedList.IElement;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1210","Tag":null,"Text":"(string)\titfExistingDevice   : 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"}