28 lines
910 B
Go
28 lines
910 B
Go
|
package component
|
|||
|
|
|||
|
// AxleSectionState 计轴区段设备(由几个计轴检测点、一个或多个轨道区段、计轴器运算电路组成)
|
|||
|
type AxleSectionState struct {
|
|||
|
//true-计轴占用
|
|||
|
Occ bool
|
|||
|
//true-计轴出清
|
|||
|
Clr bool
|
|||
|
//true-计轴复位反馈
|
|||
|
Rac bool
|
|||
|
//true-运营原因拒绝计轴复位,如区段空闲时下发复位命令;或车轮压住传感器时收到复位命令。
|
|||
|
Rjo bool
|
|||
|
//true-技术原因拒绝计轴复位,主要指计轴相关设备故障时收到复位命令,如车轮传感器的导线断开、AEB之间的通信故障等
|
|||
|
Rjt bool
|
|||
|
}
|
|||
|
|
|||
|
// AxleSectionDevice 计轴器设备(通过接收计轴物理区段的计轴检测点的信号来运算出计轴物理区段内的车轴数)
|
|||
|
type AxleSectionDevice struct {
|
|||
|
//计轴区段内车轴数
|
|||
|
AxleCount int16
|
|||
|
}
|
|||
|
type AxleDeviceDrive struct {
|
|||
|
//true-计轴直接复位
|
|||
|
Drst bool
|
|||
|
//true-计轴预复位
|
|||
|
Pdrst bool
|
|||
|
}
|