DoubleCmd

class c104.DoubleCmd

This class represents all specific double command information

__init__(self: c104.DoubleCmd, state: c104.Double, qualifier: c104.Qoc = c104.Qoc.NONE, recorded_at: datetime.datetime = None) None

create a new double command

Parameters:
  • state (c104.Double) – Double command value

  • qualifier (c104.Qoc) – Qualifier of command

  • recorded_at (datetime.datetime, optional) – Timestamp contained in the protocol message, or None if the protocol message type does not contain a timestamp.

Example

>>> double_cmd = c104.DoubleCmd(state=c104.Double.ON, qualifier=c104.Qoc.SHORT_PULSE, recorded_at=datetime.datetime.now(datetime.utc))
property processed_at

timestamp with milliseconds of last local information processing (read-only)

Type:

datetime.datetime

property qualifier

the command qualifier information (read-only)

Type:

c104.Qoc

property quality

This information does not contain quality information.

Type:

None

property recorded_at

timestamp with milliseconds transported with the value itself or None (read-only)

Type:

datetime.datetime | None

property state

the value (read-only)

Type:

c104.Double

property value

references property state (read-only)

The setter is available via point.value=xyz

Type:

c104.Double