gateway

package
v0.0.0-...-0b5d739 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClockMsg

type ClockMsg struct {
	AreaID string `json:"area_id"`
	Clock  uint
}

type SimSigMessage

type SimSigMessage struct {
	Clock *ClockMsg `json:"clock_msg"`
}

message received on SimSig channel

type TrainDelay

type TrainDelay struct {
	Headcode string `json:"headcode"`
	UID      string `json:"uid"`
	Delay    int
}

type TrainLocation

type TrainLocation struct {
	Headcode string `json:"headcode"`
	UID      string `json:"uid"`
	Action   string `json:"action"`
	Location string `json:"location"`
	Platform string `json:"platform"`
	Time     uint64 `json:"time"`
	AspPass  uint8  `json:"aspPass"`
	AspAppr  uint8  `json:"aspAppr"`
}

type TrainMovementMessage

type TrainMovementMessage struct {
	TrainLocation *TrainLocation `json:"train_location"`
	TrainDelay    *TrainDelay    `json:"train_delay"`
}

message received on MVT_ALL_TOC Channel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL