@kuriousdesign/machine-sdk
Version:
Shared data types and helpers for machine-related repositories
16 lines (15 loc) • 678 B
TypeScript
export declare enum DeviceCmds {
NONE = 0,
RESET = 1,// initializes device to idle
STOP = 2,// takes device from running to idle
CLEAR = 3,// clears faults
KILL = 4,// takes device to aborting then killed, holds at killed until cmd is set FALSE
PAUSE = 5,// pauses the current task
UNPAUSE = 6,// Unpauses the current task
START = 7,// go from idle to running
TAKE_CONTROL = 8,// used to request control over device
RELEASE_CONTROL = 9,// used to release control over device
START_RECORDING_LOGS = 10,// writes to Machine.RecordedLogs
STOP_RECORDING_LOGS = 11
}
export declare function deviceCmdToString(cmd: DeviceCmds): string;