【添加集中站配置信息
This commit is contained in:
parent
085bfdc6f9
commit
d45ee86aa4
@ -26,6 +26,7 @@ message Repository {
|
||||
repeated Platform platforms = 19;
|
||||
string mainCoordinateSystem = 20;
|
||||
repeated Key Keys = 21;
|
||||
repeated CentralizedStationRef CentralizedStationRefs = 22;
|
||||
}
|
||||
|
||||
//物理区段
|
||||
@ -280,4 +281,33 @@ message Key {
|
||||
string id = 1;
|
||||
string code = 2;
|
||||
int32 gear = 3; // 挡位数量
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 集中站关联信息
|
||||
message CentralizedStationRef {
|
||||
string stationId = 1; // 集中站ID
|
||||
|
||||
repeated string transponderId = 2; // 应答器ID
|
||||
|
||||
repeated CjData cjList = 3; // 采集继电器配置信息
|
||||
|
||||
repeated QdData qdList = 4; // 驱动继电器配置信息
|
||||
}
|
||||
|
||||
message CjData {
|
||||
repeated CjDataItem refRelays=1;//采集的继电器
|
||||
}
|
||||
|
||||
message CjDataItem {
|
||||
enum PostionType {
|
||||
Q=0;
|
||||
H=1;
|
||||
}
|
||||
string relayId = 1;//采集对应的继电器Id
|
||||
PostionType position = 2;//继电器的位置,QH对应着吸合
|
||||
}
|
||||
|
||||
message QdData {
|
||||
repeated string refRelays=1;//驱动的继电器Id
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user