UNPKG

@directctrl/fixturelibrary

Version:

Utility library making it easy to work with the open-fixture-library.

26 lines (25 loc) 823 B
import { Capabilities } from './capability'; /** * Definition of a single DMX channel. */ export interface Channel { name: string; fineChannelAliases?: string[]; dmxValueResolution?: DmxValueResolution; /** number: DMXValue (255/65535 if fine) string: DMXValue percent */ defaultValue?: number | string; /** number: DMXValue (255/65535 if fine) string: DMXValue percent */ highlightValue?: number | string; constant?: boolean; precedence?: ChannelPresedence; capability?: Capabilities; capabilities?: Capabilities[]; } /** * Resolution of the fine channel */ export declare type DmxValueResolution = '8bit' | '16bit' | '24bit'; /** * Either Highest takes precedence (HTP) or Latest (change) takes precedence (LTP). */ export declare type ChannelPresedence = 'HTP' | 'LTP';