rts-sim-module/repository/model/turnout.go

20 lines
281 B
Go

package model
import "joylink.club/rtsssimulation/repository/model/proto"
type Turnout struct {
Model
km proto.Kilometer
aRelation DevicePort
bRelation DevicePort
cRelation DevicePort
}
type TurnoutPort struct {
DevicePort
turnout *Turnout
port proto.Port
}