20 lines
581 B
Go
20 lines
581 B
Go
|
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
|
|||
|
}
|