Interface HardwareAdapter
Methods
locoEstop
- locoEstop(address): Promise<void>
-
Returns Promise<void>
locoSetSpeed
- locoSetSpeed(address, speed, direction): Promise<void>
-
Parameters
-
address: number
-
speed: number
-
Returns Promise<void>
trackPowerSet
- trackPowerSet(state): Promise<void>
-
Returns Promise<void>
turnoutSet
- turnoutSet(id, state): Promise<void>
-
Returns Promise<void>
Base type for a hardware adapter.