Interface Parameter

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

Hierarchy

Properties

bitSize?: number

Size of the parameter in bits.

canBeMappedAsRxPdo?: boolean

Indicates if the parameter can be mapped as an RxPDO.

canBeMappedAsTxPdo?: boolean

Indicates if the parameter can be mapped as a TxPDO.

defaultData?: number

Default numeric value for the parameter, if defined.

description?: string

Human-readable description of the parameter or subitem.

disabledValue?: number

Value of the parameter that is considered disabled.

esiType?: string

Raw ESI data type string (e.g., "UINT16", "STRING(50)").

floatValue?: null | number
group?: null | string

Group or category name for the parameter.

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.

inputType?: ParameterInputType

Suggested HTML form input type for the parameter.

intValue?: null | number
isSmm?: boolean

Flag indicating if the parameter belongs to an SMM module.

mandatory?: boolean

Indicates if the parameter is mandatory (true) or optional (false/undefined).

max?: null | number

Maximum allowed numeric value for the parameter, if applicable.

min?: null | number

Minimum allowed numeric value for the parameter, if applicable.

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
originalOptions?: Record<string, any>

Original options preserved for reference or restoration.

originalUnit?: string

Original unit value preserved for reference or restoration.

rawValue?: null | Uint8Array
readAccess?: null | boolean
recordDescription?: string

Description specifically for record data types, if applicable.

stringValue?: null | string
strlen?: number

Maximum length allowed for STRING type parameters, adjusted to accommodate firmware-specific constraints.

subindex: number

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

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

Optional type value string representing the parameter data type.

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

Unit symbol associated with the parameter (empty string if none).

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

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

Generated using TypeDoc