状态变化量proto定义
This commit is contained in:
parent
2010b69ee7
commit
0dd326000b
@ -62,3 +62,15 @@ message TrainState{
|
|||||||
//顺序为从车头到车尾
|
//顺序为从车头到车尾
|
||||||
repeated string occupiedLinkId = 6;
|
repeated string occupiedLinkId = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//仿真运行时状态变化量,当前时刻与上一时刻比较得到
|
||||||
|
message VariationStatus{
|
||||||
|
//新增或变化的列车的状态
|
||||||
|
repeated TrainState updatedTrain = 1;
|
||||||
|
//移除的列车的索引
|
||||||
|
repeated string removedTrainId = 2;
|
||||||
|
//状态发生变化的道岔
|
||||||
|
repeated SwitchState updatedSwitch = 3;
|
||||||
|
//状态发生变化的区段
|
||||||
|
repeated SectionState updatedSection = 4;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user