ShortCmd

class c104.ShortCmd

This class represents all specific short set point command information

__init__(self: c104.ShortCmd, target: float, qualifier: c104.UInt7 = c104.UInt7(0), recorded_at: datetime.datetime = None) None

create a new short set point command

Parameters:
  • target (float) – Target set-point value in 32-bit precision

  • qualifier (c104.UInt7) – Qualifier of set-point 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

>>> short_cmd = c104.ShortCmd(target=-23.45, qualifier=c104.UInt7(123), recorded_at=datetime.datetime.now(datetime.utc))
property is_readonly

test if the information is read-only

Type:

bool

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.UInt7

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 target

the value (read-only)

Type:

float

property value

references property target (read-only)

The setter is available via point.value=xyz

Type:

float