[r227]: / branches / i-campbell / mqttsparkplugb / mqttsparkplugb / SparkplugB / Function Blocks / FB_PayloadSimple / FB_PayloadSimpleEncoder / svnobj  Maximize  Restore  History

Download this file

4 lines (4 with data), 6.9 kB

Gx_l!0…jüoóánxñu…lSystem.StringL{6f9dac99-8de1-4efc-8465-68ac443b7d08}SpecialFuncL{0db3d7bb-cde0-4416-9a7b-ce49a0124323}NoneImplementationL{3b83b776-fb25-43b8-99f2-3c507c9143fc}TextDocument	L{f3878285-8e4f-490b-bb1b-9acbb7eb04db}
TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}Id
longTagTextTHIS^._Payload($	xDecode:= FALSE, (	xEncode:= xEnable, 8	protobufBlobStartIndex:= , 4	protobufBlobMaxIndex:= , L	protobufBlobSize:= protobufBlobSize, D	myProtobufBlob:= myProtobufBlob, @	myMetricsPool:= myMetricsPool, 0	myKeysPool:= KeysPool, d	myPropertySetValuesPool:= PropertySetValuesPool, P	myPropertySetsPool:= PropertySetsPool, X	myDataSetColumnsPool:= DataSetColumnsPool, P	myDataSetTypesPool:= DataSetTypesPool, 0	myRowsPool:= RowsPool, @	myElementsPool:= ElementsPool, H	myParametersPool:= ParametersPool,  0	myBodyPool:= BodyPool, !"	xDecodeDone=> , ""	xDecodeBusy=> , #$	xDecodeError=> , $$	eDecodeError=> , %,	xEncodeDone=> xDone, &,	xEncodeBusy=> xBusy, '0	xEncodeError=> xError, (0	eEncodeError=> eError);)Interface*L{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}+(*,Æ    Represents the sparkplugb data to be sent in a MQTT Publisher or received by an MQTT Subscriber-ž	It contains data for both the raw bytes and also a structured view of the data.^	It contains code to transform to the raw bytes/*)0LFUNCTION_BLOCK FB_PayloadSimpleEncoder1VAR_INPUT24	(*Triger for conversion*)3œ	xEnable : BOOL; //Based on CBML.LCon.  Current implementation, It will always xDone or xError every cycle, it never takes more than one cycle4END_VAR5VAR_IN_OUT	6ˆ	protobufBlobSize : DINT; //size in bytes.  for encode, this FB will write the size here.  for decode, the caller must tell the size7®    myProtobufBlob : ARRAY [*] OF BYTE;//array of bytes containing the protobuf payload8T	myMetricsPool : List; //OF ISimpleStorage9VAR_OUTPUT:	xDone,;	xBusy,<¢	xError : BOOL;  //Based on CBML.LCon, but will automatically be reset if xEncode= 	eError : ERROR;>VAR?.	_Payload : FB_Payload;@	A	//dummy poolsBj	KeysPool : ARRAY [0..0] OF LinkedListWStringElement;C‚	PropertySetValuesPool : ARRAY [0..0] OF FB_PayloadPropertyValue;Dt	PropertySetsPool : ARRAY [0..0] OF FB_PayloadPropertySet;Eº	DataSetColumnsPool : ARRAY[0..0] OF LinkedListWStringElement; //Maybe combine with KeysPool?Fr	DataSetTypesPool : ARRAY[0..0] OF FB_PayloadDataSetType;Gd	RowsPool         : ARRAY [0..0] OF FB_PayloadRow;Hl	ElementsPool     : ARRAY [0..0] OF FB_PayloadElement;Ip	ParametersPool   : ARRAY [0..0] OF FB_PayloadParameter;Jœ	BodyPool         : ARRAY [0..0] OF BYTE; // for example Payload.Metric[].BodyKL"UniqueIdGeneratorM187NPOULevelOL{8e575c5b-1d37-49c6-941b-5c0ec7874787}PStandardQ ChildObjectGuidsR8System.Collections.ArrayListS,AddAttributeSubsequentTboolÐÐ-ÐÐ	E
ÐÐ
­{ÚÐ-ÐÐ
­|ÚÐ-ÐÐ
­}ÚÐ-ÐÐ
­~ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­€ÚÐ-ÐÐ
­ÚÐ-ÐÐ
­‚ÚÐ-ÐÐ
­ƒÚÐ-ÐÐ
­„ÚÐ-ÐÐ
­…ÚÐ-ÐÐ
­†ÚÐ-ÐÐ
­‡ÚÐ-ÐÐ
­ˆÚÐ-ÐÐ
­‰ÚÐ-ÐÐ
­ŠÚÐ-ÐÐ
­‹ÚÐ- ÐÐ
­ŒÚÐ-!ÐÐ
­ÚÐ-"ÐÐ
­ŽÚÐ-#ÐÐ
­ÚÐ-$ÐÐ
­ÚÐ-%ÐÐ
­‘ÚÐ-&ÐÐ
­’ÚÐ-'ÐÐ
­	ÚÐ-(Ð)*Ð	E
$ÐÐ
­“ÚÐ-+ÐÐ
­”ÚÐ-,ÐÐ
­•ÚÐ--ÐÐ
­–ÚÐ-.ÐÐ
­˜ÚÐ-/ÐÐ
­™ÚÐ-0ÐÐ
­šÚÐ-1ÐÐ
­›ÚÐ-2ÐÐ
­ÚÐ-3ÐÐ
­žÚÐ-4ÐÐ
­ŸÚÐ-5ÐÐ
­ ÚÐ-6ÐÐ
­¡ÚÐ-7ÐÐ
­¢ÚÐ-8ÐÐ
­£ÚÐ-4ÐÐ
­¤ÚÐ-9ÐÐ
­©ÚÐ-:ÐÐ
­ªÚÐ-;ÐÐ
­«ÚÐ-<ÐÐ
­¬ÚÐ-=ÐÐ
­­ÚÐ-4ÐÐ
­®ÚÐ->ÐÐ
­¯ÚÐ-?ÐÐ
­°ÚÐ-@ÐÐ
­±ÚÐ-AÐÐ
­²ÚÐ-BÐÐ
­³ÚÐ-CÐÐ
­´ÚÐ-DÐÐ
­µÚÐ-EÐÐ
­¶ÚÐ-FÐÐ
­·ÚÐ-GÐÐ
­¸ÚÐ-HÐÐ
­¹ÚÐ-IÐÐ
­ºÚÐ-JÐÐ
­»ÚÐ-4ÐÐ
­ÚÐ-KÐL-MÐNO-PQRÐST­