计轴区段
This commit is contained in:
parent
30c4210a5d
commit
7a5233e1f9
27
component/axle_section.go
Normal file
27
component/axle_section.go
Normal file
@ -0,0 +1,27 @@
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user