ScaledCmd

class c104.ScaledCmd

This class represents all specific scaled set point command information

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

create a new scaled set point command

Parameters:
  • target (c104.Int16) – Target set-point value [-32768, 32767]

  • 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

>>> scaled_cmd = c104.ScaledCmd(target=c104.Int16(-2345), 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:

c104.Int16

property value

references property target (read-only)

The setter is available via point.value=xyz

Type:

c104.Int16