继电器相关字段修改--枚举

This commit is contained in:
joylink_zhaoerwei 2023-09-22 15:19:46 +08:00
parent 071f751068
commit 38b3c74776
2 changed files with 13 additions and 0 deletions

View File

@ -19,9 +19,20 @@ message RelayCabinet {
} }
message Relay { message Relay {
enum ModelType {//-/_
JPXC_1000 = 0;
JPXC_1700 = 1;
JWJXC_480 = 2;
JWJXC_H125_80 = 3;
JWXC_1700 = 4;
JWXC_H340 = 5;
JYJXC_160_260 = 6;
JZXC_H18 = 7;
}
graphicData.CommonInfo common = 1; graphicData.CommonInfo common = 1;
string code = 2;// string code = 2;//
string model = 3;// string model = 3;//
ModelType newModel = 4;//
} }
/* 设备管理的继电器列表 */ /* 设备管理的继电器列表 */
@ -31,6 +42,7 @@ message DeviceRelateRelay {
string code = 3;// string code = 3;//
//repeated string refRelay = 4;// //repeated string refRelay = 4;//
repeated Combinationtype combinationtypes = 5; // repeated Combinationtype combinationtypes = 5; //
graphicData.RelatedRef.DeviceType deviceType = 6;//
} }
message Combinationtype { message Combinationtype {
string code = 1; string code = 1;

View File

@ -244,6 +244,7 @@ message RelatedRef {
TrainWindow = 2; TrainWindow = 2;
AxleCounting = 3; AxleCounting = 3;
SectionLink = 4; SectionLink = 4;
signal = 5;
} }
enum DevicePort { enum DevicePort {