[5b2544]: / project / sparkplug™_mqtt_edge_and_host-stack_b9741afd / function_blocks_8ad6e219 / fb_payloadsimple_87cbd74b / fb_payloadsimpleencoder_1f607d29 / 1f607d294c3d4ff9917a3446e8ba16b7.object  Maximize  Restore  History

Download this file

1 lines (1 with data), 6.2 kB

1
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)1f607d29-4c3d-4ff9-917a-3446e8ba16b7","ParentGuid":"(Guid)00000000-0000-0000-0000-000000000000","Name":"(string)FB_PayloadSimpleEncoder","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)772","Tag":null,"Text":"(string)THIS^._Payload(xDecode := FALSE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)773","Tag":null,"Text":"(string)    xEncode := xEnable,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)774","Tag":null,"Text":"(string)    protobufBlobStartIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)775","Tag":null,"Text":"(string)    protobufBlobMaxIndex :=,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)776","Tag":null,"Text":"(string)    protobufBlobSize := protobufBlobSize,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)777","Tag":null,"Text":"(string)    myProtobufBlob := myProtobufBlob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)778","Tag":null,"Text":"(string)    xDecodeDone =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)779","Tag":null,"Text":"(string)    xDecodeBusy =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)780","Tag":null,"Text":"(string)    xDecodeError =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)781","Tag":null,"Text":"(string)    eDecodeError =>,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)782","Tag":null,"Text":"(string)    xEncodeDone => xDone,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)783","Tag":null,"Text":"(string)    xEncodeBusy => xBusy,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)784","Tag":null,"Text":"(string)    xEncodeError => xError,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)9","Tag":null,"Text":"(string)    eEncodeError => eError);"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)751","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)752","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)753","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)754","Tag":null,"Text":"(string)\tIt contains code to transform to the raw bytes"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)755","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)756","Tag":null,"Text":"(string)//{attribute 'hide'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)757","Tag":null,"Text":"(string)FUNCTION_BLOCK FB_PayloadSimpleEncoder"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)758","Tag":null,"Text":"(string)VAR_INPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)759","Tag":null,"Text":"(string)    (*Triger for conversion*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)760","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)761","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)762","Tag":null,"Text":"(string)VAR_IN_OUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)763","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)764","Tag":null,"Text":"(string)    myProtobufBlob : ARRAY[*] OF BYTE; //array of bytes containing the protobuf payload"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)765","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)766","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)767","Tag":null,"Text":"(string)    xDone, xBusy, xError : BOOL; //Based on CBML.LCon, but will automatically be reset if xEncode"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)768","Tag":null,"Text":"(string)    eError : ERROR;"}},{"@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)    _Payload : FB_Payload;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)1","Tag":null,"Text":"(string)END_VAR"}}]}}}}},"UniqueIdGenerator":"(string)784","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"}