Diff of /project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_sparkplugbsimple_c978db11/fb_sparkplugbsimple_b276ae31/initialisedata_5d842877/5d8428775b7546e4b78eabf74751572d.object [9a5d66] .. [05c878]  Maximize  Restore

Switch to side-by-side view

--- a/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_sparkplugbsimple_c978db11/fb_sparkplugbsimple_b276ae31/initialisedata_5d842877/5d8428775b7546e4b78eabf74751572d.object
+++ b/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_sparkplugbsimple_c978db11/fb_sparkplugbsimple_b276ae31/initialisedata_5d842877/5d8428775b7546e4b78eabf74751572d.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)5d842877-5b75-46e4-b78e-abf74751572d","ParentGuid":"(Guid)b276ae31-a54c-4d6f-8b78-cab400d0ac12","Name":"(string)InitialiseDATA","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)427","Tag":null,"Text":"(string)InitialiseDATA := ERROR.NO_ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)428","Tag":null,"Text":"(string)SysTimeRtc.SysTimeRtcHighResGet( pTimestamp := _Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)429","Tag":null,"Text":"(string)InitEncoderErr := _Encoder.InitializePayloadBeforeAddingMetrics( timestamp := _Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)430","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)431","Tag":null,"Text":"(string)InitialiseDATA := InitEncoderErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)432","Tag":null,"Text":"(string)IF InitialiseDATA = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)433","Tag":null,"Text":"(string)    WriteDeviceLog( GC_Sparkplug.CMP_CORE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)434","Tag":null,"Text":"(string)                    CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)435","Tag":null,"Text":"(string)                    'SparkplugBSimple InitialiseDATA Succes: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)436","Tag":null,"Text":"(string)                    TO_STRING( InitialiseDATA ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)437","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)438","Tag":null,"Text":"(string)    WriteDeviceLog( GC_Sparkplug.CMP_CORE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)439","Tag":null,"Text":"(string)                    CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)440","Tag":null,"Text":"(string)                    'SparkplugBSimple InitialiseDATA Error: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)441","Tag":null,"Text":"(string)                    TO_STRING( InitialiseDATA ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)29","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)396","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)397","Tag":null,"Text":"(string)\tInitialiseDATA Encoder for NDATA or DDATA Payloads"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)398","Tag":null,"Text":"(string)\t"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)399","Tag":null,"Text":"(string)\tThe NDATA/DDATA message requires the following payload components."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)400","Tag":null,"Text":"(string)\t• They must include the a seq number in the payload and it must have a value of one greater than"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)401","Tag":null,"Text":"(string)\tthe previous MQTT message from the EoN node contained unless the previous MQTT message contained"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)402","Tag":null,"Text":"(string)\ta value of 255. In this case the seq number must be 0."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)403","Tag":null,"Text":"(string)\t• They must include a timestamp denoting the DateTime the message was sent from the EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)404","Tag":null,"Text":"(string)\t• They must include the EoN node’s metrics that have changed since the last xBIRTH or xDATA message."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)405","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)406","Tag":null,"Text":"(string)METHOD InitialiseDATA : ERROR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)410","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)411","Tag":null,"Text":"(string)    InitEncoderErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)34","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"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)5d842877-5b75-46e4-b78e-abf74751572d","ParentGuid":"(Guid)b276ae31-a54c-4d6f-8b78-cab400d0ac12","Name":"(string)InitialiseDATA","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)427","Tag":null,"Text":"(string)InitialiseDATA := ERROR.NO_ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)428","Tag":null,"Text":"(string)SysTimeRtc.SysTimeRtcHighResGet( pTimestamp := _Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)429","Tag":null,"Text":"(string)InitEncoderErr := _Encoder.InitializePayloadBeforeAddingMetrics( timestamp := _Timestamp );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)430","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)431","Tag":null,"Text":"(string)InitialiseDATA := InitEncoderErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)432","Tag":null,"Text":"(string)IF InitialiseDATA = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)433","Tag":null,"Text":"(string)    WriteStackLog( GC_Sparkplug.CMP_CORE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)434","Tag":null,"Text":"(string)                    CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)435","Tag":null,"Text":"(string)                    'SparkplugBSimple InitialiseDATA Succes: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)436","Tag":null,"Text":"(string)                    TO_STRING( InitialiseDATA ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)437","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)438","Tag":null,"Text":"(string)    WriteStackLog( GC_Sparkplug.CMP_CORE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)439","Tag":null,"Text":"(string)                    CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)440","Tag":null,"Text":"(string)                    'SparkplugBSimple InitialiseDATA Error: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)441","Tag":null,"Text":"(string)                    TO_STRING( InitialiseDATA ) );"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)29","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)396","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)397","Tag":null,"Text":"(string)\tInitialiseDATA Encoder for NDATA or DDATA Payloads"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)398","Tag":null,"Text":"(string)\t"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)399","Tag":null,"Text":"(string)\tThe NDATA/DDATA message requires the following payload components."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)400","Tag":null,"Text":"(string)\t• They must include the a seq number in the payload and it must have a value of one greater than"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)401","Tag":null,"Text":"(string)\tthe previous MQTT message from the EoN node contained unless the previous MQTT message contained"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)402","Tag":null,"Text":"(string)\ta value of 255. In this case the seq number must be 0."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)403","Tag":null,"Text":"(string)\t• They must include a timestamp denoting the DateTime the message was sent from the EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)404","Tag":null,"Text":"(string)\t• They must include the EoN node’s metrics that have changed since the last xBIRTH or xDATA message."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)405","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)406","Tag":null,"Text":"(string)METHOD InitialiseDATA : ERROR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)410","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)411","Tag":null,"Text":"(string)    InitEncoderErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)34","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"}
\ No newline at end of file