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

20 lines
581 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"
"joylink.club/bj-rtsts-server/ats/verify/simulation/wayside/model/ref"
)
// 相邻端点(车档、计轴检测点、道岔岔心)定义的Link区段
// 地图做数据时link区段的A端在左link区段的B端在右即上行方向A->B,下行方向B->A
type LinkSectionModel struct {
//轨道基本信息
face.DeviceModel
//true - 上行false - 下行
Up bool
//link 的A端连接道岔
SwitchRefA ref.SwitchRef
//link 的B端连接道岔
SwitchRefB ref.SwitchRef
}