[r113]: / branches / aliazzz / library / SparkplugB / Structs / PayloadMetric / svnobj  Maximize  Restore  History

Download this file

67 lines (67 with data), 8.2 kB

Gx_l !0…jüoÁEüC6nSystem.StringL{2db5746d-d284-4425-9f7f-2663a34b0ebc}InterfaceL{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}TextDocumentL{f3878285-8e4f-490b-bb1b-9acbb7eb04db}TextLinesL{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}	Id
longTagText
(TYPE PayloadMetric :STRUCT&		(* Binary blob *)À    pabyBlob : POINTER TO BYTE; //Start of the array which holds the binary blob for this metric¼	udiMaxBlobSize : UDINT;  //size in Bytes of the array.  Must be less than MQTT limit of 256MB‚    udiBlobSize : UDINT; //Size in Bytes.  Actual size of message2    (* Structured data *).//     message Metric {// Ð//         optional string   name          = 1;        // Metric name - should only be included on birth(    xHasName : BOOL;,    sName    : STRING;Œ//         optional uint64   alias         = 2;        // Metric alias - tied to name on birth and included in all later DATA messages*    xHasAlias : BOOL;0    uliAlias    : ULINT;Ò//         optional uint64   timestamp     = 3;        // Timestamp associated with data acquisition time2    xHasTimestamp : BOOL;4    uliTimestamp  : ULINT; ´//         optional uint32   datatype      = 4;        // DataType of the metric/tag value!0    xHasDatatype : BOOL;"B    udiDatatype : MetricDataType;#ð//         optional bool     is_historical = 5;        // If this is historical data and should not update real time tag$:    xHasIs_historical : BOOL;%4    xIs_historical : BOOL;&€//         optional bool     is_transient  = 6;        // Tells consuming clients such as MQTT Engine to not store this as a tag'8    xHasIs_transient : BOOL;(2    xIs_transient : BOOL;)¤//         optional bool     is_null       = 7;        // If this is null - explicitly say so rather than using -1, false, etc for some datatypes.*.    xHasIs_null : BOOL;+(    xIs_null : BOOL;,¤//         optional MetaData metadata      = 8;        // Metadata for the payload-@    myHasMetaData : HasMetaData;.4    myMetaData : MetaData;/^//         optional PropertySet properties = 9;06    xHasPropertySet : BOOL;1T    myPropertySet : FB_PayloadPropertySet;2p//         IC: note, oneof means "either zero or one of"30//         oneof value {4H    eHasValue : MetricProtobufsType;5x//             uint32   int_value                      = 10;6x//             uint64   long_value                     = 11;7x//             bool     boolean_value                  = 14;8<    dzzValue  : DecodedVarInt;9x//             float    float_value                    = 12;:$    rValue : REAL;;x//             double   double_value                   = 13;<(    lrValue : LREAL;=x//             string   string_value                   = 15;>œ		{info 'TODO: i-campbell disable this warning, as I will change your string'}?(    sValue : STRING;@¢//             bytes    bytes_value                    = 16;       // Bytes, FileAú    uliNumBytes : ULINT;  //how many bytes are represented in abyValue. only valid of eHasValue = MetricValueType.bytes_valueB¾	{info 'TODO: i-campbell, make this a pointer to something, so it can be bigger than 63 bytes'}CH    abyValue : ARRAY[0..63] OF BYTE;Dx//             DataSet  dataset_value                  = 17;EJ    myDataSet   : FB_PayloadDataSet; Fx//             Template template_value                 = 18;GH    myTemplate : FB_PayloadTemplate;H // NO EXTENSIONSIEND_STRUCTJEND_TYPEK"UniqueIdGeneratorL64ÐÐÐE@ÐÐ	
­ÚÐ-
ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­	ÚÐ-ÐÐ	
­
ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­
ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ-ÐÐ	
­ÚÐ- ÐÐ	
­ÚÐ-!ÐÐ	
­ÚÐ-"ÐÐ	
­ÚÐ-#ÐÐ	
­ÚÐ-$ÐÐ	
­ÚÐ-%ÐÐ	
­ÚÐ-&ÐÐ	
­ÚÐ-'ÐÐ	
­ ÚÐ-(ÐÐ	
­!ÚÐ-)ÐÐ	
­"ÚÐ-*ÐÐ	
­#ÚÐ-+ÐÐ	
­$ÚÐ-,ÐÐ	
­%ÚÐ--ÐÐ	
­&ÚÐ-.ÐÐ	
­'ÚÐ-/ÐÐ	
­(ÚÐ-0ÐÐ	
­)ÚÐ-1ÐÐ	
­*ÚÐ-ÐÐ	
­+ÚÐ-2ÐÐ	
­,ÚÐ-3ÐÐ	
­-ÚÐ-4ÐÐ	
­.ÚÐ-5ÐÐ	
­/ÚÐ-6ÐÐ	
­0ÚÐ-7ÐÐ	
­1ÚÐ-8ÐÐ	
­2ÚÐ-9ÐÐ	
­3ÚÐ-:ÐÐ	
­4ÚÐ-;ÐÐ	
­5ÚÐ-<ÐÐ	
­6ÚÐ-=ÐÐ	
­7ÚÐ->ÐÐ	
­8ÚÐ-?ÐÐ	
­9ÚÐ-@ÐÐ	
­:ÚÐ-AÐÐ	
­;ÚÐ-BÐÐ	
­<ÚÐ-CÐÐ	
­=ÚÐ-DÐÐ	
­>ÚÐ-EÐÐ	
­?ÚÐ-FÐÐ	
­@ÚÐ-GÐÐ	
­ÚÐ-HÐÐ	
­ÚÐ-IÐÐ	
­ÚÐ-JÐÐ	
­ÚÐ-ÐK-L