Interface GenericControl

Represents a generic control that can be used in a Svelte component.

The name of the control

The direction of the control either "Read/Write", "Read Only", or "Write Only"

The type of the control as reported by Q-SYS. One of "Boolean", "Integer", "Float", "Text", "Trigger", or "Time"

The raw control data provided by the QRWC Library. NOTE: Values in the raw control object are not reactive.

$state of the control's value (string, number, or boolean), set to command the control to change its value.

$state of the control's position (number), set to command the control to change its position.

$state of the control's string (string), set to command the control to change its string.

interface GenericControl {
    ControlName: string;
    Direction: ControlDirection;
    position: undefined | number;
    rawControl: undefined | Control;
    string: undefined | string;
    Type: ControlType;
    value: undefined | string | number | boolean;
}

Hierarchy (View Summary)

Properties

ControlName: string
Direction: ControlDirection
position: undefined | number
rawControl: undefined | Control
string: undefined | string
value: undefined | string | number | boolean