11 #ifndef __OPC_UA_DATA_VALUE_H__ 12 #define __OPC_UA_DATA_VALUE_H__ 40 , SourcePicoseconds(0)
42 , ServerPicoseconds(0)
81 return (Encoding & DATA_VALUE) && Value == t;
89 if ((Encoding & DATA_VALUE) && Value != data.
Value)
92 if ((Encoding & DATA_VALUE_STATUS_CODE) && Status != data.
Status)
95 if ((Encoding & DATA_VALUE_SOURCE_TIMESTAMP) && SourceTimestamp != data.
SourceTimestamp)
98 if ((Encoding & DATA_VALUE_SOURCE_PICOSECONDS) && SourcePicoseconds != data.
SourcePicoseconds)
101 if ((Encoding & DATA_VALUE_Server_TIMESTAMP) && ServerTimestamp != data.
ServerTimestamp)
104 if ((Encoding & DATA_VALUE_Server_PICOSECONDS) && ServerPicoseconds != data.
ServerPicoseconds)
125 #endif // __OPC_UA_DATA_VALUE_H__ bool operator==(const T &t) const
DataValue(const Variant &value)
const uint8_t DATA_VALUE_STATUS_CODE
uint16_t ServerPicoseconds
const uint8_t DATA_VALUE_Server_TIMESTAMP
void SetSourceTimestamp(const DateTime &t)
const uint8_t DATA_VALUE_SOURCE_PICOSECONDS
const uint8_t DATA_VALUE_SOURCE_TIMESTAMP
OPC UA Address space part. GNU LGPL.
const uint8_t DATA_VALUE_Server_PICOSECONDS
const uint8_t DATA_VALUE_ALL
void SetServerTimestamp(const DateTime &t)
DataValue & operator=(const Variant &value)
uint16_t SourcePicoseconds