rts-sim-testing-service/dynamics/httpData.go

10 lines
229 B
Go

package dynamics
type InitTrainInfo struct {
TrainIndex uint16 `json:"trainIndex"`
LinkIndex uint16 `json:"linkIndex"`
LinkOffset uint16 `json:"linkOffset"`
Speed uint16 `json:"speed"`
Up bool `json:"up"`
}