=========== Value Point =========== `Value, Status, Time and measurement unit` Module: `thinkiq.history.value_point` ===================================== .. automodule:: thinkiq.history.value_point .. currentmodule:: thinkiq.history.value_point :class:`ValuePoint` -------------------- .. autoclass:: ValuePoint Initialize with a value, status, timestamp and MeasurementUnit Represents a point in time that combines: - value (data point) - status (quality or reliability) - timestamp (when it occurred) - measurement unit (semantic context) **Properties:** .. py:attribute:: value :type: bool, int, float, str, datetime.datetime The actual recorded value. .. py:attribute:: status :type: int OPC-compatible status code. 0 usually means 'Good'. .. py:attribute:: timestamp :type: datetime.datetime The time the value was sampled or recorded. .. py:attribute:: measurement_unit :type: thinkiq.model.measurement_unit.MeasurementUnit :value: None Optional context unit (e.g., kg, °C, %, etc.) **Methods:** .. automethod:: __init__ .. automethod:: get_vst