[r98]: / branches / i-campbell / mqttsparkplugb / mqttsparkplugb / SparkplugB / Function Blocks / FB_Payload_1 / FB_PayloadDataSet / svnobj  Maximize  Restore  History

Download this file

20 lines (19 with data), 6.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
	OwnerPayload : FB_Payload; //He manages the assigning of Pool Objects
	{info 'TODO: i-campbell: Need to write code to handle any array indexes.  For now ONLY pass ARRAYS of starting index = 0'}
	//myPropertySetValuesPool : ARRAY [*] OF FB_PayloadPropertyValue;
	//myPorpertySetsPool : ARRAY [*] OF FB_PayloadPropertySet;
	//myBodyPool         : ARRAY [*] OF BYTE; // for example Payload.Metric[].Body
VAR_OUTPUT
	xDecodeDone,xDecodeBusy,xDecodeError : BOOL;
	eDecodeError : ERROR;
	xEncodeDone,xEncodeBusy,xEncodeError : BOOL;
	eEncodeError : ERROR;-
VAR
//	    optional uint64   num_of_columns    = 1;
		xHasNum_of_columns : REFERENCE TO BOOL;
		num_of_columns : REFERENCE TO ULINT;
//        repeated string   columns           = 2;
        aTypes : COL.LinkedList; // OF FB_PayloadDataSetType // payload contains type definition of columns
//         repeated Row      rows              = 4;
//         extensions                          5 to max;   // For third party extensions
        // NO EXTENSIONS IMPLEMENTED