UNPKG

@kuriousdesign/machine-sdk

Version:

Shared data types and helpers for machine-related repositories

35 lines (34 loc) 690 B
export interface DeviceCfg { mnemonic: string; id: number; childId: number; parentId: number; } export interface DeviceFaultData { list: number[]; present: boolean; } export interface DeviceInputs { instantKill_ON: boolean; } export interface DeviceParentCmds { reset: boolean; stop: boolean; clearFlts: boolean; start: boolean; abort: boolean; kill: boolean; } export interface DeviceStatus { state: number; stepNum: number; colorCode: number; } export interface Device { cfg: DeviceCfg; is: DeviceStatus; cmds: DeviceParentCmds; errors: DeviceFaultData; warnings: DeviceFaultData; i: DeviceInputs; }