Closed mejohnnaylor closed 3 months ago
message Constraint { enum ConstraintType { UNDEFINED = 0; INT_RANGE = 2; FLOAT_RANGE = 4; INT_CHOICE = 5; STRING_CHOICE = 40; STRING_STRING_CHOICE = 6; ALARM_TABLE = 7; }
why is STRING_CHOICE = 40? looks like a typo.
Note the UML documents the choices thus:
NULL = 0 INT_RANGE = 1 FLOAT_RANGE = 2 INT_CHOICE = 3 STRING_CHOICE = 4 STRING_STRING_CHOICE = 5 ALARM_TABLE = 6 STRUCT = 7
They need to match.
They're all different from the OGP-Binary versions so I'm fine to update. 40 does seem odd. This is what DashBoard uses internally (inherited from the binary days)
why is STRING_CHOICE = 40? looks like a typo.
Note the UML documents the choices thus:
NULL = 0 INT_RANGE = 1 FLOAT_RANGE = 2 INT_CHOICE = 3 STRING_CHOICE = 4 STRING_STRING_CHOICE = 5 ALARM_TABLE = 6 STRUCT = 7
They need to match.