Interface DeviceParameter

Represents a generic parameter with required properties: index, subindex, name, value, typeValueKey.

Hierarchy

Properties

disabledValue?: number

Value of the parameter that is considered disabled.

flags?: {
    access?: "ro" | "rw" | "wo";
    category?: "m" | "o" | "c";
    pdoMapping?: "t" | "r" | "tr";
    safetyMapping?: "si" | "so" | "sio" | "sp";
}

Type declaration

  • Optional access?: "ro" | "rw" | "wo"
  • Optional category?: "m" | "o" | "c"
  • Optional pdoMapping?: "t" | "r" | "tr"
  • Optional safetyMapping?: "si" | "so" | "sio" | "sp"
floatValue?: null | number
group?: null | string
id: string

Uniquely identifies this parameter. For example, if this is a device parameter, the parameter ID could be "0x1080:02.8602-01-0000755-2243".

index: number

Index from the object dictionary or invented one for the virtual parameter.

intValue?: null | number
max?: null | number
min?: null | number
name: string

The 'name' property is mandatory.

options?: {
    [key: string]: number;
}

Textual representation of numerical value options for a parameter.

Type declaration

  • [key: string]: number
rawValue?: null | Uint8Array
readAccess?: null | boolean
stringValue?: null | string
subindex: number

Subindex from the object dictionary or invented one for the virtual parameter.

typeValueKey?: "intValue" | "uintValue" | "floatValue" | "stringValue" | "rawValue"

The 'typeValueKey' property represents the 'oneof type_value' from the proto file. It is used when parameter values are set on the device.

uintValue?: null | number
unit?: null | string

The 'value' property can be a string, number, or buffer.

valueType?: null | ValueType
writeAccess?: null | boolean

Generated using TypeDoc