【注释门控箱系统,增加采集数据】
This commit is contained in:
parent
f1b9e1502f
commit
3afee36ac7
@ -26,7 +26,7 @@ message Repository {
|
||||
repeated Platform platforms = 19;
|
||||
string mainCoordinateSystem = 20;
|
||||
repeated Key Keys = 21;
|
||||
|
||||
repeated CiCjData cicjData = 22;
|
||||
}
|
||||
|
||||
//物理区段
|
||||
@ -282,3 +282,21 @@ message Key {
|
||||
string code = 2;
|
||||
int32 gear = 3; // 挡位数量
|
||||
}
|
||||
|
||||
// 采集信息
|
||||
message CiCjData {
|
||||
string stationId = 1; // 集中站ID
|
||||
int32 row = 2; // 行数
|
||||
int32 col = 3; // 列数
|
||||
repeated CiCjItem items = 4; // 采集继电器列表
|
||||
}
|
||||
|
||||
// 采集条目
|
||||
message CiCjItem {
|
||||
enum PostionType {
|
||||
Q=0;
|
||||
H=1;
|
||||
}
|
||||
string id = 1;//采集对应的继电器Id
|
||||
PostionType position = 2;//继电器的位置,QH对应着吸合
|
||||
}
|
@ -31,7 +31,7 @@ func BindSystem(w ecs.World) {
|
||||
circuit_sys.NewPsdSys(),
|
||||
device_sys.NewPsdMotorSys(),
|
||||
//门控箱
|
||||
circuit_sys.NewMkxSys(),
|
||||
//circuit_sys.NewMkxSys(),
|
||||
//联锁机
|
||||
device_sys.NewPscSys(),
|
||||
// IBP
|
||||
|
Loading…
Reference in New Issue
Block a user