[r233]: / branches / aliazzz / mqttsparkplugb / SparkplugB / Enums / MetricDataType / svnobj  Maximize  Restore  History

Download this file

28 lines (27 with data), 2.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{attribute 'qualified_only'}
{attribute 'to_string'}
TYPE MetricDataType :
(
    Unknown := 0,
    Int8 := 1,
    Int16 := 2,
    Int32 := 3,
    Int64 := 4,
    UInt8 := 5,
    UInt16 := 6,
    UInt32 := 7,
    UInt64 := 8,
    Float := 9,
    Double := 10,
    Boolean := 11,
    String_ := 12,
    // milliseconds since epoch (Jan 1, 1970) SHOULD be UTC 
    DateTime := 13,
    Text := 14,
    UUID := 15,
    DataSet := 16,
    Bytes := 17,
    File := 18,
    Template := 19
) UDINT;
END_TYPE(