2023-08-09 15:34:19 +08:00
|
|
|
package device
|
|
|
|
|
|
|
|
import (
|
|
|
|
"joylink.club/bj-rtsts-server/ats/verify/simulation/wayside/face"
|
|
|
|
"joylink.club/bj-rtsts-server/ats/verify/simulation/wayside/model/ref"
|
|
|
|
)
|
|
|
|
|
|
|
|
type LinkModel struct {
|
|
|
|
face.DeviceModel
|
|
|
|
//长度
|
|
|
|
Length int32
|
|
|
|
//A端连接的道岔端点
|
2023-08-24 18:22:25 +08:00
|
|
|
ARelatedSwitchRef *ref.SwitchRef
|
2023-08-09 15:34:19 +08:00
|
|
|
//B端连接的道岔端点
|
2023-08-24 18:22:25 +08:00
|
|
|
BRelatedSwitchRef *ref.SwitchRef
|
2023-08-11 17:24:30 +08:00
|
|
|
//Link上的设备及位置(包括A、B端的设备)(按offset排序)
|
2023-08-24 18:22:25 +08:00
|
|
|
DevicePositions []*ref.DevicePosition[face.DeviceModeller]
|
2023-08-09 15:34:19 +08:00
|
|
|
}
|