【注释门控箱系统,增加采集数据】

This commit is contained in:
weizhihong 2023-10-26 17:07:48 +08:00
parent f1b9e1502f
commit 3afee36ac7
2 changed files with 20 additions and 2 deletions

View File

@ -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对应着吸合
}

View File

@ -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