rts-sim-testing-service/ats/verify/simulation/wayside/model/section/logical_section_model.go

16 lines
539 B
Go
Raw Normal View History

2023-07-31 11:30:34 +08:00
package section
import "joylink.club/bj-rtsts-server/ats/verify/simulation/wayside/face"
// 逻辑区段分两种类型
// 逻辑区段(单个计轴区段、单个Link区段、计轴区段内划分的一段)
type LogicalSectionModel struct {
//逻辑区段基本信息
face.DeviceModel
//该逻辑区段所在的计轴区段
AxleSection face.AxleSectionModeller
//该逻辑区段所在的道岔(如果该逻辑区段道岔的C端关联的link)
//非岔区逻辑区段,则该字段为空
SwitchDevice face.SwitchDeviceModeller
}