Class GW_SET_LIMITATION_REQ

Hierarchy (view full)

Constructors

Properties

BufferSize: number

The size of the buffer (only pure data, without protocol and command bytes)

CommandOriginator: CommandOriginator = 1
LimitationTime: number
LimitationValueMax: number
LimitationValueMin: number
Nodes: number | number[]
ParameterActive: ParameterActive = 0
PriorityLevel: PriorityLevel = 3
SessionID: number
offset: number = ...

Accessors

Methods

  • Protected

    Allocates a buffer in the right size for the frame. The first byte contains the buffer length. The next two bytes of the buffer are used for the command. The remaining bytes are for the data.

    A size of 0 means that the command has no further data.

    Parameters

    • BufferSize: number

      Size for the buffer for the data part without length and command.

    • CopyData: boolean = true

      Set to true to copy the data in case of reallocating the buffer. Default is true.

    Returns void