rts-sim-module/model/signal_model.go

15 lines
317 B
Go
Raw Normal View History

2023-08-14 16:23:34 +08:00
package model
2023-08-18 17:16:00 +08:00
import "joylink.club/rtsssimulation/state"
// 信号机
2023-08-14 16:23:34 +08:00
type SignalModel struct {
2023-08-14 18:06:26 +08:00
DeviceModel
2023-08-18 17:16:00 +08:00
//信号机所在轨道
LinkOffset *LinkOffsetRef
//信号机类型,出厂已确定,即几个色灯、排列顺序
Type state.SignalAspect
//默认显示信号
DefaultDisplay state.SignalAspect
2023-08-14 16:23:34 +08:00
}