Diff of /project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_primaryhostmessageconsumer_070fbc41/consumeddatamessage_20a4907d/20a4907d812444f0879175fbda2d27fe.object [000000] .. [fba71e]  Maximize  Restore

Switch to unified view

a b/project/sparkplug™_mqtt_host_b9741afd/function_blocks_8ad6e219/fb_primaryhost_ec6863e3/fb_primaryhostmessageconsumer_070fbc41/consumeddatamessage_20a4907d/20a4907d812444f0879175fbda2d27fe.object
1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)20a4907d-8124-44f0-8791-75fbda2d27fe","ParentGuid":"(Guid)070fbc41-83aa-457a-b520-a064079b516d","Name":"(string)ConsumeDDATAMessage","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)1120","Tag":null,"Text":"(string)MyDevice REF= pPrimaryHost^.GetDevice( GroupId := TopicParser.GroupId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1121","Tag":null,"Text":"(string)                                       EdgeId := TopicParser.EdgeId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1122","Tag":null,"Text":"(string)                                       DeviceId := TopicParser.DeviceId,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1123","Tag":null,"Text":"(string)                                       eError => GetDeviceError );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1124","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1125","Tag":null,"Text":"(string)CASE GetDeviceError OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1126","Tag":null,"Text":"(string)    SPStack.ERROR.NO_ERROR: // ==> UPDATE EXISTING EDGE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1127","Tag":null,"Text":"(string)        MyDevice.ProcessDDATA( itfPrimaryHost := pPrimaryHost^,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1128","Tag":null,"Text":"(string)                               pMessage := RecvMesg,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1129","Tag":null,"Text":"(string)                               xError => xProcessDDATAError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1130","Tag":null,"Text":"(string)                               eError => ProcessDDATAError );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1131","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1132","Tag":null,"Text":"(string)    xProcessDDATAError := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1133","Tag":null,"Text":"(string)    ProcessDDATAError := SPStack.Error.DeviceIDNotFound;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1134","Tag":null,"Text":"(string)    WriteHostLog( CmpLog.LogClass.LOG_ERROR,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1135","Tag":null,"Text":"(string)                  'PrimaryHost process DDATA metric error: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1136","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)1089","Tag":null,"Text":"(string)METHOD PRIVATE ConsumeDDATAMessage"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1090","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1091","Tag":null,"Text":"(string)    pPrimaryHost : POINTER TO FB_PrimaryHost;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1092","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1093","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1094","Tag":null,"Text":"(string)    RecvMesg : REFERENCE TO SPStack.FB_Payload;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1095","Tag":null,"Text":"(string)    TopicParser : FB_TopicParser; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1137","Tag":null,"Text":"(string)    MyDevice : REFERENCE TO FB_RemoteDevice;    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1097","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1098","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1100","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)1138","Tag":null,"Text":"(string)    ProcessDDATAError : SPStack.ERROR; // an error that will be given back by a function, but we can handle the error."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1101","Tag":null,"Text":"(string)    xProcessDDATAError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1102","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"}