Diff of /project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_payloadsimple_87cbd74b/fb_payloadsimpledecoder_54e3b80b/54e3b80b2c1d45d5a7f3723cb22586ec.object [d0f23c] .. [a2c721]  Maximize  Restore

Switch to side-by-side view

--- a/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_payloadsimple_87cbd74b/fb_payloadsimpledecoder_54e3b80b/54e3b80b2c1d45d5a7f3723cb22586ec.object
+++ b/project/sparkplug™_mqtt_edge_and_host-stack_b9741afd/function_blocks_8ad6e219/fb_payloadsimple_87cbd74b/fb_payloadsimpledecoder_54e3b80b/54e3b80b2c1d45d5a7f3723cb22586ec.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)54e3b80b-2c1d-45d5-a7f3-723cb22586ec","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_PayloadSimpleDecoder","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)87cbd74b-1e08-4fd7-84a8-ae77a5b16e68"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","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":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)578","Tag":null,"Text":"(string)THIS^._Payload(xDecode := xEnable,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)579","Tag":null,"Text":"(string)    xEncode := FALSE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)580","Tag":null,"Text":"(string)    protobufBlobStartIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)581","Tag":null,"Text":"(string)    protobufBlobMaxIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)582","Tag":null,"Text":"(string)    protobufBlobSize := protobufBlobSize,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)583","Tag":null,"Text":"(string)    myProtobufBlob := myProtobufBlob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)584","Tag":null,"Text":"(string)    myBodyPool := ADR(BodyPool),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)585","Tag":null,"Text":"(string)    myBodyPoolSize := 0,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)586","Tag":null,"Text":"(string)    xDecodeDone => xDone,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)587","Tag":null,"Text":"(string)    xDecodeBusy => xBusy,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)588","Tag":null,"Text":"(string)    xDecodeError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)589","Tag":null,"Text":"(string)    eDecodeError => eError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)590","Tag":null,"Text":"(string)    xEncodeDone =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)591","Tag":null,"Text":"(string)    xEncodeBusy =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)592","Tag":null,"Text":"(string)    xEncodeError =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)9","Tag":null,"Text":"(string)    eEncodeError =>);"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)555","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)556","Tag":null,"Text":"(string)    Represents the sparkplugb data to be sent in a MQTT Publisher or received by an MQTT Subscriber"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)557","Tag":null,"Text":"(string)\tIt contains data for both the raw bytes and also a structured view of the data"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)558","Tag":null,"Text":"(string)\tIt contains code to transform from the raw bytes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)559","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)560","Tag":null,"Text":"(string){attribute 'hide'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)561","Tag":null,"Text":"(string)FUNCTION_BLOCK FB_PayloadSimpleDecoder"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)562","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)563","Tag":null,"Text":"(string)    (*Triger for conversion*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)564","Tag":null,"Text":"(string)    xEnable : BOOL; //Based on CBML.LCon.  Current implementation, It will always xDone or xError every cycle, it never takes more than one cycle"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)565","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)566","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)567","Tag":null,"Text":"(string)    protobufBlobSize : DINT; //size in bytes.  for encode, this FB will write the size here.  for decode, the caller must tell the size"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)568","Tag":null,"Text":"(string)    myProtobufBlob : ARRAY[*] OF BYTE; //array of bytes containing the protobuf payload"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)569","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)570","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)571","Tag":null,"Text":"(string)    xDone, xBusy, xError : BOOL; //Based on CBML.LCon, but will automatically be reset if xEnable"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)572","Tag":null,"Text":"(string)    eError : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)573","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)574","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)575","Tag":null,"Text":"(string)    _Payload : FB_Payload;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)576","Tag":null,"Text":"(string)    //Dummy Pool"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)577","Tag":null,"Text":"(string)    BodyPool : ARRAY[0..0] OF BYTE; // for example Payload.Metric[].Body"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)592","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)54e3b80b-2c1d-45d5-a7f3-723cb22586ec","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_PayloadSimpleDecoder","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)87cbd74b-1e08-4fd7-84a8-ae77a5b16e68"}]}}}}]},"TypeGuid":"(Guid)6f9dac99-8de1-4efc-8465-68ac443b7d08","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":"6f9dac99","@Value":{"SpecialFunc":{"@Type":"0db3d7bb:Enum","@Value":"None"},"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)616","Tag":null,"Text":"(string)THIS^._Payload(xDecode := xEnable,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)617","Tag":null,"Text":"(string)               xEncode := FALSE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)618","Tag":null,"Text":"(string)               protobufBlobStartIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)619","Tag":null,"Text":"(string)               protobufBlobMaxIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)620","Tag":null,"Text":"(string)               protobufBlobSize := protobufBlobSize,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)621","Tag":null,"Text":"(string)               myProtobufBlob := myProtobufBlob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)622","Tag":null,"Text":"(string)               myBodyPool := ADR(BodyPool),"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)623","Tag":null,"Text":"(string)               myBodyPoolSize := 0,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)624","Tag":null,"Text":"(string)               xDecodeDone => xDone,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)625","Tag":null,"Text":"(string)               xDecodeBusy => xBusy,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)626","Tag":null,"Text":"(string)               xDecodeError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)627","Tag":null,"Text":"(string)               eDecodeError => eError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)628","Tag":null,"Text":"(string)               xEncodeDone =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)629","Tag":null,"Text":"(string)               xEncodeBusy =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)630","Tag":null,"Text":"(string)               xEncodeError =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)9","Tag":null,"Text":"(string)               eEncodeError =>);"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)593","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)594","Tag":null,"Text":"(string)    Represents the sparkplugb data to be sent in a MQTT Publisher or received by an MQTT Subscriber"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)595","Tag":null,"Text":"(string)\tIt contains data for both the raw bytes and also a structured view of the data"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)596","Tag":null,"Text":"(string)\tIt contains code to transform from the raw bytes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)597","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)598","Tag":null,"Text":"(string){attribute 'hide'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)599","Tag":null,"Text":"(string)FUNCTION_BLOCK FB_PayloadSimpleDecoder"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)600","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)601","Tag":null,"Text":"(string)    (*Triger for conversion*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)602","Tag":null,"Text":"(string)    xEnable : BOOL; //Based on CBML.LCon.  Current implementation, It will always xDone or xError every cycle, it never takes more than one cycle"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)603","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)604","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)605","Tag":null,"Text":"(string)    protobufBlobSize : DINT; //size in bytes.  for encode, this FB will write the size here.  for decode, the caller must tell the size"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)606","Tag":null,"Text":"(string)    myProtobufBlob : ARRAY[*] OF BYTE; //array of bytes containing the protobuf payload"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)607","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)608","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)609","Tag":null,"Text":"(string)    xDone, xBusy, xError : BOOL; //Based on CBML.LCon, but will automatically be reset if xEnable"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)610","Tag":null,"Text":"(string)    eError : ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)611","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)612","Tag":null,"Text":"(string)VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)613","Tag":null,"Text":"(string)    _Payload : FB_Payload;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)614","Tag":null,"Text":"(string)    //Dummy Pool"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)615","Tag":null,"Text":"(string)    BodyPool : ARRAY[0..0] OF BYTE; // for example Payload.Metric[].Body"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)630","POULevel":{"@Type":"8e575c5b:Enum","@Value":"Standard"},"ChildObjectGuids":{"@Type":"ArrayList:IList","@Value":[]},"AddAttributeSubsequent":"(bool)False"}},"TypeInfos":{"0db3d7bb":"{0db3d7bb-cde0-4416-9a7b-ce49a0124323}","3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","6f9dac99":"{6f9dac99-8de1-4efc-8465-68ac443b7d08}","8e575c5b":"{8e575c5b-1d37-49c6-941b-5c0ec7874787}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","ArrayList":"System.Collections.ArrayList","bool":"System.Boolean","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file