Diff of /project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_sparkplugbsimple_c978db11/fb_sparkplugbsimple_b276ae31/ndeath_026b4d4a/geteonnodedeathcertificate_210517f8/210517f87a8a45c5936bd97a42e41bb8.object [6780ad] .. [9aeb0e]  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/ndeath_026b4d4a/geteonnodedeathcertificate_210517f8/210517f87a8a45c5936bd97a42e41bb8.object
+++ b/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_sparkplugbsimple_c978db11/fb_sparkplugbsimple_b276ae31/ndeath_026b4d4a/geteonnodedeathcertificate_210517f8/210517f87a8a45c5936bd97a42e41bb8.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)210517f8-7a8a-45c5-936b-d97a42e41bb8","ParentGuid":"(Guid)b276ae31-a54c-4d6f-8b78-cab400d0ac12","Name":"(string)GetEoNNodeDeathCertificate","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)026b4d4a-f3ee-469e-9817-1d59a83ad1ca"}]}}}}]},"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}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","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)773","Tag":null,"Text":"(string)SysTimeRtc.SysTimeRtcHighResGet(pTimestamp := _Timestamp);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)774","Tag":null,"Text":"(string)// Since the NDeath metrics contains a seqnum, we skip inserting a seqnum here"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)775","Tag":null,"Text":"(string)InitEncoderErr := _Encoder.InitializePayloadBeforeAddingMetrics(timestamp := _Timestamp);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)776","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)777","Tag":null,"Text":"(string)(*  NDEATH Sequence Metric \"bdSeq\", None, MetricDataType.Int64, getBdSeqNum()) *)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)778","Tag":null,"Text":"(string)IF InitEncoderErr = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)779","Tag":null,"Text":"(string)    NDEATH.Name := \"bdSeq\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)780","Tag":null,"Text":"(string)    NDEATH.DataType := MetricDataType.UInt64;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)781","Tag":null,"Text":"(string)    NDEATH.Uint64 := getBdSeqNum();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)782","Tag":null,"Text":"(string)    AddSimpleMetricErr := AddMetricSimple(TimeStamp := _Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)783","Tag":null,"Text":"(string)        SimpleObject := NDEATH);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)784","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)785","Tag":null,"Text":"(string)    GetEoNNodeDeathCertificate := AddSimpleMetricErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)786","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)787","Tag":null,"Text":"(string)    IF GetEoNNodeDeathCertificate = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)788","Tag":null,"Text":"(string)        WriteStackLog(GC_Sparkplug.CMP_CORE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)789","Tag":null,"Text":"(string)            CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)790","Tag":null,"Text":"(string)            'SparkplugBSimple GetNDEATHCertificate Succes',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)791","Tag":null,"Text":"(string)            '');"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)792","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)793","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)794","Tag":null,"Text":"(string)    GetEoNNodeDeathCertificate := InitEncoderErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)243","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)753","Tag":null,"Text":"(string)(*  "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)754","Tag":null,"Text":"(string)    NDEATH – Death certificate for EoN nodes."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)755","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)756","Tag":null,"Text":"(string)    The NDEATH message contains a very simple payload that only includes a single metric, the bdSeq number, so"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)757","Tag":null,"Text":"(string)    that the NDEATH event can be associated with the NBIRTH. Since this is typically published by the MQTT Server"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)758","Tag":null,"Text":"(string)    on behalf of the EoN node, information about the current state of the EoN node and its devices is not and cannot"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)759","Tag":null,"Text":"(string)    be known."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)760","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)761","Tag":null,"Text":"(string)    - Always request this before requesting the Node Birth Payload, pass this sequence to NBIRTH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)762","Tag":null,"Text":"(string)    - After Calling, the encoder must be used immedeatly to obtain the blob payload for NDEATH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)763","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)764","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)765","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)766","Tag":null,"Text":"(string)METHOD GetEoNNodeDeathCertificate : ERROR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)767","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)768","Tag":null,"Text":"(string)    NDEATH : FB_Metric; // Un-encoded NDEATH Metric for external storage purpose, contains BSeqNumber for usage with NBIRTH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)769","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)770","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)771","Tag":null,"Text":"(string)    InitEncoderErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)772","Tag":null,"Text":"(string)    AddSimpleMetricErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)309","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)210517f8-7a8a-45c5-936b-d97a42e41bb8","ParentGuid":"(Guid)b276ae31-a54c-4d6f-8b78-cab400d0ac12","Name":"(string)GetEoNNodeDeathCertificate","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)026b4d4a-f3ee-469e-9817-1d59a83ad1ca"}]}}}}]},"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}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","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)773","Tag":null,"Text":"(string)SysTimeRtc.SysTimeRtcHighResGet(pTimestamp := _Timestamp);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)774","Tag":null,"Text":"(string)// Since the NDeath metrics contains a seqnum, we skip inserting a seqnum here"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)775","Tag":null,"Text":"(string)InitEncoderErr := _Encoder.InitializePayloadBeforeAddingMetrics(timestamp := _Timestamp);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)776","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)777","Tag":null,"Text":"(string)(*  NDEATH Sequence Metric \"bdSeq\", None, MetricDataType.Int64, getBdSeqNum()) *)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)778","Tag":null,"Text":"(string)IF InitEncoderErr = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)779","Tag":null,"Text":"(string)    NDEATH.Name := \"bdSeq\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)780","Tag":null,"Text":"(string)    NDEATH.DataType := MetricDataType.UInt64;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)781","Tag":null,"Text":"(string)    NDEATH.Uint64 := getBdSeqNum();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)782","Tag":null,"Text":"(string)    AddSimpleMetricErr := AddMetricSimple(TimeStamp := _Timestamp,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)783","Tag":null,"Text":"(string)        SimpleObject := NDEATH);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)784","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)785","Tag":null,"Text":"(string)    GetEoNNodeDeathCertificate := AddSimpleMetricErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)786","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)787","Tag":null,"Text":"(string)    IF GetEoNNodeDeathCertificate = ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)788","Tag":null,"Text":"(string)        WriteStackLog(GC_Sparkplug.CMP_STACK,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)789","Tag":null,"Text":"(string)            CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)790","Tag":null,"Text":"(string)            'SparkplugBSimple GetNDEATHCertificate Succes',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)791","Tag":null,"Text":"(string)            '');"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)792","Tag":null,"Text":"(string)    END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)793","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)794","Tag":null,"Text":"(string)    GetEoNNodeDeathCertificate := InitEncoderErr;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)243","Tag":null,"Text":"(string)END_IF"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)753","Tag":null,"Text":"(string)(*  "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)754","Tag":null,"Text":"(string)    NDEATH – Death certificate for EoN nodes."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)755","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)756","Tag":null,"Text":"(string)    The NDEATH message contains a very simple payload that only includes a single metric, the bdSeq number, so"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)757","Tag":null,"Text":"(string)    that the NDEATH event can be associated with the NBIRTH. Since this is typically published by the MQTT Server"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)758","Tag":null,"Text":"(string)    on behalf of the EoN node, information about the current state of the EoN node and its devices is not and cannot"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)759","Tag":null,"Text":"(string)    be known."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)760","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)761","Tag":null,"Text":"(string)    - Always request this before requesting the Node Birth Payload, pass this sequence to NBIRTH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)762","Tag":null,"Text":"(string)    - After Calling, the encoder must be used immedeatly to obtain the blob payload for NDEATH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)763","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)764","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)765","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)766","Tag":null,"Text":"(string)METHOD GetEoNNodeDeathCertificate : ERROR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)767","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)768","Tag":null,"Text":"(string)    NDEATH : FB_Metric; // Un-encoded NDEATH Metric for external storage purpose, contains BSeqNumber for usage with NBIRTH"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)769","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)770","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)771","Tag":null,"Text":"(string)    InitEncoderErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)772","Tag":null,"Text":"(string)    AddSimpleMetricErr : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)309","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