Hierarchy

  • ClientToServerEvents

Properties

automation/deleteAutomation: ((id) => void)

Type declaration

    • (id): void
    • Parameters

      • id: number

      Returns void

automation/executeAutomation: ((id, locoId?) => void)

Type declaration

    • (id, locoId?): void
    • Parameters

      Returns void

automation/fetchAll: (() => void)

Type declaration

    • (): void
    • Returns void

automation/fetchRunning: (() => void)

Type declaration

    • (): void
    • Returns void

automation/fileUpload: ((name, file) => void)

Type declaration

    • (name, file): void
    • Parameters

      • name: string
      • file: string

      Returns void

automation/pauseAutomation: ((pid) => void)

Type declaration

    • (pid): void
    • Parameters

      • pid: string

      Returns void

automation/resumeAutomation: ((pid) => void)

Type declaration

    • (pid): void
    • Parameters

      • pid: string

      Returns void

automation/setDescription: ((id, description) => void)

Type declaration

    • (id, description): void
    • Parameters

      • id: number
      • description: string

      Returns void

automation/stopAutomation: ((pid) => void)

Type declaration

    • (pid): void
    • Parameters

      • pid: string

      Returns void

config/addLoco: ((name, address) => void)

Type declaration

    • (name, address): void
    • Parameters

      • name: string
      • address: number

      Returns void

config/deleteLoco: ((address) => void)

Type declaration

    • (address): void
    • Parameters

      • address: number

      Returns void

config/editLoco: ((oldAddress, newName, newAddress) => void)

Type declaration

    • (oldAddress, newName, newAddress): void
    • Parameters

      • oldAddress: number
      • newName: string
      • newAddress: number

      Returns void

config/routes/addObject: ((turnout) => void)

Type declaration

    • (turnout): void
    • Parameters

      Returns void

config/routes/changeObjectCoordinate: ((id, coordinate) => void)

Type declaration

    • (id, coordinate): void
    • Parameters

      Returns void

metadata/handshake: ((appName, version) => void)

Type declaration

    • (appName, version): void
    • Parameters

      • appName: string
      • version: string

      Returns void

routes/setRoute: ((start, end) => void)

Type declaration

    • (start, end): void
    • Parameters

      • start: number
      • end: number

      Returns void

routes/setTurnout: ((identifier, state) => void)

Type declaration

    • (identifier, state): void
    • Parameters

      Returns void

throttle/setDirection: ((identifier, direction) => void)

Type declaration

throttle/setFunction: ((identifier, functionNum, state) => void)

Type declaration

    • (identifier, functionNum, state): void
    • Parameters

      Returns void

throttle/setSpeed: ((identifier, speed, throttleID) => void)

Type declaration

    • (identifier, speed, throttleID): void
    • Parameters

      Returns void

throttle/setTrackPower: ((state) => void)

Type declaration

    • (state): void
    • Parameters

      • state: boolean

      Returns void

throttle/switchDirection: ((identifier) => void)

Type declaration

    • (identifier): void
    • Parameters

      Returns void

Generated using TypeDoc