Properties
automation/deleteAutomation
automation/deleteAutomation: ((id) => void)
automation/executeAutomation
automation/executeAutomation: ((id, locoId?) => void)
Type declaration
-
- (id, locoId?): void
-
Returns void
automation/fetchAll
automation/fetchAll: (() => void)
automation/fetchRunning
automation/fetchRunning: (() => void)
automation/fileUpload
automation/fileUpload: ((name, file) => void)
Type declaration
-
- (name, file): void
-
Parameters
-
name: string
-
file: string
Returns void
automation/pauseAutomation
automation/pauseAutomation: ((pid) => void)
automation/resumeAutomation
automation/resumeAutomation: ((pid) => void)
automation/setDescription
automation/setDescription: ((id, description) => void)
Type declaration
-
- (id, description): void
-
Parameters
-
id: number
-
description: string
Returns void
automation/stopAutomation
automation/stopAutomation: ((pid) => void)
config/addLoco
config/addLoco: ((name, address) => void)
Type declaration
-
- (name, address): void
-
Parameters
-
name: string
-
address: number
Returns void
config/deleteLoco
config/deleteLoco: ((address) => void)
Type declaration
-
- (address): void
-
Returns void
config/editLoco
config/editLoco: ((oldAddress, newName, newAddress) => void)
Type declaration
-
- (oldAddress, newName, newAddress): void
-
Parameters
-
oldAddress: number
-
newName: string
-
newAddress: number
Returns void
config/routes/addObject
config/routes/addObject: ((turnout) => void)
Type declaration
-
- (turnout): void
-
Returns void
config/routes/changeObjectCoordinate
config/routes/changeObjectCoordinate: ((id, coordinate) => void)
Type declaration
-
- (id, coordinate): void
-
Returns void
metadata/handshake
metadata/handshake: ((appName, version) => void)
Type declaration
-
- (appName, version): void
-
Parameters
-
appName: string
-
version: string
Returns void
routes/setRoute
routes/setRoute: ((start, end) => void)
Type declaration
-
- (start, end): void
-
Parameters
-
start: number
-
end: number
Returns void
routes/setTurnout
routes/setTurnout: ((identifier, state) => void)
Type declaration
-
- (identifier, state): void
-
Returns void
throttle/setDirection
throttle/setDirection: ((identifier, direction) => void)
Type declaration
-
- (identifier, direction): void
-
Returns void
throttle/setFunction
throttle/setFunction: ((identifier, functionNum, state) => void)
Type declaration
-
- (identifier, functionNum, state): void
-
Parameters
-
-
functionNum: number
-
state: boolean
Returns void
throttle/setSpeed
throttle/setSpeed: ((identifier, speed, throttleID) => void)
Type declaration
-
- (identifier, speed, throttleID): void
-
Parameters
-
-
speed: number
-
throttleID: number
Returns void
throttle/setTrackPower
throttle/setTrackPower: ((state) => void)
Type declaration
-
- (state): void
-
Returns void
throttle/switchDirection
throttle/switchDirection: ((identifier) => void)
Type declaration
-
- (identifier): void
-
Returns void