Elipse Plant Manager — EPM Web API
Version 6.50.41
epmwebapi.datavaluejson
class
DataValueJSON:
Class representing a DataValue.
DataValueJSON(value, statusCode, timestamp, serverTimestamp=None, dataTypeId=None)
Creates a new DataValue.
Parameters
- value: Value of this DataValue.
- statusCode: OPC UA status code.
- timestamp: Timestamp of this DataValue.
- serverTimestamp: ServerTimestamp of this DataValue.
- dataTypeId: ID of data type. Default is None.
value: Union[datetime.datetime, int, bool, float, str]
Returns the value from this DataValue.
Returns
The value of this DataValue as a
datetime.datetime, anint, abool, afloat, or astr.
statusCode: int
Returns an OPC UA status code (quality) for this DataValue.
Returns
An OPC UA status code.
timestamp: datetime.datetime
Returns the source timestamp from this DataValue.
Returns
A
datetime.datetimevalue representing a source timestamp.
serverTimestamp: datetime.datetime
Returns the server timestamp from this DataValue.
Returns
A
datetime.datetimevalue representing a source timestamp.
def
toDict(self):
Returns this DataValueJSON object as a dictionary.
Returns
A dictionary containing
value,statusCode(quality), andtimestampof this DataValue
Copyright © 2017–2025 Elipse Software Ltda. All rights reserved. Distributed under MIT License.