Skip to content

Home > resol-vbus-core > PacketFieldSpecification

PacketFieldSpecification class

A packet field specification.

Signature:

typescript
export declare class PacketFieldSpecification

Constructors

Constructor

Modifiers

Description

(constructor)(packetTemplateField, packetId)

Construct a packet template field.

Properties

Property

Modifiers

Type

Description

hasOverlappingParts

boolean

Indicates whether some parts have overlapping factors.

id

string

The ID.

isSigned

boolean

Whether this field supports negative values.

packetTemplateField

VsfPacketTemplateField

The VSF packet template field.

partsSortedByFactor

VsfPacketTemplateFieldPart[]

The parts of this field, sorted by factor from large to small.

precisionFactor

number

The factor based on the precision.