rts-sim-module/examples/test1/tmodel/signal_model.go
2023-09-12 17:07:17 +08:00

17 lines
291 B
Go

package tmodel
import (
"joylink.club/rtsssimulation/umi"
)
// 信号机
type SignalModel struct {
DeviceModel
//信号机所在轨道
LinkOffset *LinkOffsetRef
}
func NewSignalModel(id string) *SignalModel {
return &SignalModel{DeviceModel: DeviceModel{Id: id, Type: umi.Signal}}
}