Properties
automation/fetchAllResponse
automation/fetchAllResponse: ((automations) => void)
Type declaration
-
- (automations): void
-
Returns void
automation/fetchRunningResponse
automation/fetchRunningResponse: ((automations) => void)
Type declaration
-
- (automations): void
-
Returns void
automation/processingError
automation/processingError: ((error) => void)
Type declaration
-
- (error): void
-
Returns void
config/locoDeleted
config/locoDeleted: ((address) => void)
Type declaration
-
- (address): void
-
Returns void
config/locoEdited
config/locoEdited: ((oldAddress, newAddress, name) => void)
Type declaration
-
- (oldAddress, newAddress, name): void
-
Parameters
-
oldAddress: number
-
newAddress: number
-
name: string
Returns void
config/newLocoAdded
config/newLocoAdded: ((loco) => void)
Type declaration
-
- (loco): void
-
Returns void
metadata/handshake
metadata/handshake: ((appName, version) => void)
Type declaration
-
- (appName, version): void
-
Parameters
-
appName: string
-
version: string
Returns void
metadata/initialState/locos
metadata/initialState/locos: ((locos) => void)
Type declaration
-
- (locos): void
-
Returns void
metadata/initialState/trackPower
metadata/initialState/trackPower: ((state) => void)
Type declaration
-
- (state): void
-
Returns void
metadata/initialState/turnouts
metadata/initialState/turnouts: ((packet) => void)
Type declaration
-
- (packet): void
-
Returns void
routes/routeUpdate
routes/routeUpdate: ((route) => void)
Type declaration
-
- (route): void
-
Returns void
routes/setRouteComponents
routes/setRouteComponents: ((destinations, turnouts, links) => void)
Type declaration
-
- (destinations, turnouts, links): void
-
Parameters
-
destinations: number[]
-
turnouts: number[]
-
links: number[]
Returns void
routes/turnoutUpdate
routes/turnoutUpdate: ((identifier, state) => void)
Type declaration
-
- (identifier, state): void
-
Returns void
routes/unsetRouteComponents
routes/unsetRouteComponents: ((destinations, turnouts, links) => void)
Type declaration
-
- (destinations, turnouts, links): void
-
Parameters
-
destinations: number[]
-
turnouts: number[]
-
links: number[]
Returns void
throttle/directionUpdate
throttle/directionUpdate: ((identifier, direction, id?) => void)
Type declaration
-
- (identifier, direction, id?): void
-
Returns void
throttle/functionUpdate
throttle/functionUpdate: ((identifier, functionNum, state) => void)
Type declaration
-
- (identifier, functionNum, state): void
-
Parameters
-
-
functionNum: number
-
state: boolean
Returns void
throttle/speedUpdate
throttle/speedUpdate: ((identifier, speed, socketId, throttleNum) => void)
Type declaration
-
- (identifier, speed, socketId, throttleNum): void
-
Parameters
-
-
speed: number
-
socketId: string
-
throttleNum: number
Returns void
throttle/trackPowerUpdate
throttle/trackPowerUpdate: ((state, socketId) => void)
Type declaration
-
- (state, socketId): void
-
Parameters
-
state: boolean
-
socketId: string
Returns void