--- a/project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_primaryhostmessageconsumer_070fbc41/consumeddeathmessage_255dc54b/255dc54b61c848a794173acdf40e5e6f.object
+++ b/project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_primaryhostmessageconsumer_070fbc41/consumeddeathmessage_255dc54b/255dc54b61c848a794173acdf40e5e6f.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)255dc54b-61c8-48a7-9417-3acdf40e5e6f","ParentGuid":"(Guid)070fbc41-83aa-457a-b520-a064079b516d","Name":"(string)ConsumeDDEATHMessage","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)1169","Tag":null,"Text":"(string)MyDevice REF= pPrimaryHost^.GetDevice( GroupId := TopicParser.GroupId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1170","Tag":null,"Text":"(string)                                        EdgeId := TopicParser.EdgeId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1171","Tag":null,"Text":"(string)                                        DeviceId := TopicParser.DeviceId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1172","Tag":null,"Text":"(string)                                        eError => GetDeviceError );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1173","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1174","Tag":null,"Text":"(string)// Log remote edge death"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1175","Tag":null,"Text":"(string)WriteHostLog( CmpLog.LogClass.LOG_INFO, 'Host registered Remote Edge Death: %s', TO_STRING( TopicParser.DeviceId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1176","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1177","Tag":null,"Text":"(string)CASE GetDeviceError OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1178","Tag":null,"Text":"(string)    SPStack.ERROR.NO_ERROR: // ==> UPDATE EXISTING EDGE              "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1179","Tag":null,"Text":"(string)        MyDevice.ProcessDDEATH();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1180","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1181","Tag":null,"Text":"(string)    xGetDeviceError := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1182","Tag":null,"Text":"(string)    GetDeviceError := SPStack.ERROR.OhMy_ThatShouldNotHaveHappened;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1183","Tag":null,"Text":"(string)    WriteHostLog( CmpLog.LogClass.LOG_ERROR,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1184","Tag":null,"Text":"(string)                  'PrimaryHost process DDEATH metric error: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1185","Tag":null,"Text":"(string)                  TO_STRING( GetDeviceError ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)5","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)1137","Tag":null,"Text":"(string)METHOD PRIVATE ConsumeDDEATHMessage"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1138","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1139","Tag":null,"Text":"(string)    pPrimaryHost : POINTER TO FB_PrimaryHost;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1140","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1141","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1144","Tag":null,"Text":"(string)    TopicParser : FB_TopicParser; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1145","Tag":null,"Text":"(string)    MyDevice : REFERENCE TO FB_RemoteDevice;   "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1146","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1147","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1148","Tag":null,"Text":"(string)    GetDeviceError : SPStack.ERROR; // an error that will be given back by a function, but we can handle the error."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1186","Tag":null,"Text":"(string)    xGetDeviceError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1149","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)"}}]}}}}}}},"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"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)255dc54b-61c8-48a7-9417-3acdf40e5e6f","ParentGuid":"(Guid)070fbc41-83aa-457a-b520-a064079b516d","Name":"(string)ConsumeDDEATHMessage","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)1217","Tag":null,"Text":"(string)// Get Edge"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1199","Tag":null,"Text":"(string)MyDevice REF= pPrimaryHost^.GetDevice( GroupId := pTopicParser^.GroupId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1200","Tag":null,"Text":"(string)                                        EdgeId := pTopicParser^.EdgeId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1201","Tag":null,"Text":"(string)                                        DeviceId := pTopicParser^.DeviceId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1202","Tag":null,"Text":"(string)                                        eError => GetDeviceError );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1203","Tag":null,"Text":"(string)// Log remote edge death"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1204","Tag":null,"Text":"(string)WriteHostLog( CmpLog.LogClass.LOG_INFO, 'Host registered Remote Edge Device Death: %s', TO_STRING( pTopicParser^.DeviceId ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1205","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1206","Tag":null,"Text":"(string)CASE GetDeviceError OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1207","Tag":null,"Text":"(string)    SPStack.ERROR.NO_ERROR: // ==> UPDATE EXISTING EDGE              "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1208","Tag":null,"Text":"(string)        MyDevice.ProcessDDEATH();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1209","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1210","Tag":null,"Text":"(string)    xGetDeviceError := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1211","Tag":null,"Text":"(string)    GetDeviceError := SPStack.ERROR.OhMy_ThatShouldNotHaveHappened;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1212","Tag":null,"Text":"(string)    WriteHostLog( CmpLog.LogClass.LOG_ERROR,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1213","Tag":null,"Text":"(string)                  'PrimaryHost process DDEATH metric error: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1214","Tag":null,"Text":"(string)                  TO_STRING( GetDeviceError ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)5","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)1187","Tag":null,"Text":"(string)METHOD PRIVATE ConsumeDDEATHMessage"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1188","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1189","Tag":null,"Text":"(string)    pPrimaryHost : POINTER TO FB_PrimaryHost;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1216","Tag":null,"Text":"(string)    pTopicParser : POINTER TO FB_TopicParser; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1190","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1191","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1193","Tag":null,"Text":"(string)    MyDevice : REFERENCE TO FB_RemoteDevice;   "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1194","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1195","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1196","Tag":null,"Text":"(string)    GetDeviceError : SPStack.ERROR; // an error that will be given back by a function, but we can handle the error."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1197","Tag":null,"Text":"(string)    xGetDeviceError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1198","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)"}}]}}}}}}},"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"}
\ No newline at end of file