17 lines
291 B
Go
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}}
|
|
}
|