2023-08-25 17:14:44 +08:00
|
|
|
syntax = "proto3";
|
2023-09-06 09:31:44 +08:00
|
|
|
import "stationLayoutGraphics.proto";
|
2023-08-25 17:14:44 +08:00
|
|
|
|
2023-09-06 09:31:44 +08:00
|
|
|
package relayCabinetGraphicData;
|
2023-08-25 17:14:44 +08:00
|
|
|
option go_package = "./ats/verify/protos/graphicData";
|
|
|
|
|
|
|
|
message RelayCabinetGraphicStorage {
|
2023-09-06 09:31:44 +08:00
|
|
|
graphicData.Canvas canvas = 1;
|
2023-08-25 17:14:44 +08:00
|
|
|
repeated RelayCabinet relayCabinets = 2;
|
|
|
|
repeated Relay relays = 3;
|
2023-09-08 17:57:19 +08:00
|
|
|
repeated DeviceRelateRelay deviceRelateRelayList = 4;
|
2023-09-20 15:31:56 +08:00
|
|
|
//string belongsConcentrationStation = 5;//继电器柜图所属集中站
|
|
|
|
UniqueIdType UniqueIdPrefix = 6;//设备唯一编码--前缀
|
2023-08-25 17:14:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message RelayCabinet {
|
2023-09-08 17:57:19 +08:00
|
|
|
graphicData.CommonInfo common = 1;
|
|
|
|
string code = 2;//编号
|
2023-08-25 17:14:44 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message Relay {
|
2023-09-22 15:19:46 +08:00
|
|
|
enum ModelType {//型号中的-和/转换为_
|
2023-09-22 15:56:34 +08:00
|
|
|
Unknown = 0;
|
|
|
|
JPXC_1000 = 1;
|
|
|
|
JPXC_1700 = 2;
|
|
|
|
JWJXC_480 = 3;
|
|
|
|
JWJXC_H125_80 = 4;
|
|
|
|
JWXC_1700 = 5;
|
|
|
|
JWXC_H340 = 6;
|
|
|
|
JYJXC_160_260 = 7;
|
|
|
|
JZXC_H18 = 8;
|
2023-09-22 15:19:46 +08:00
|
|
|
}
|
2023-09-06 09:31:44 +08:00
|
|
|
graphicData.CommonInfo common = 1;
|
2023-09-08 17:57:19 +08:00
|
|
|
string code = 2;//编号
|
|
|
|
string model = 3;//型号
|
2023-09-22 15:19:46 +08:00
|
|
|
ModelType newModel = 4;//型号
|
2023-09-08 17:57:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 设备管理的继电器列表 */
|
|
|
|
message DeviceRelateRelay {
|
|
|
|
//int32 id = 1;//存储在列表中的id
|
|
|
|
string type = 2;//设备类型
|
|
|
|
string code = 3;//设备编号
|
2023-09-13 17:26:44 +08:00
|
|
|
//repeated string refRelay = 4;//设备关联的继电器
|
|
|
|
repeated Combinationtype combinationtypes = 5; //组合类型
|
2023-09-22 15:19:46 +08:00
|
|
|
graphicData.RelatedRef.DeviceType deviceType = 6;//设备类型
|
2023-09-13 17:26:44 +08:00
|
|
|
}
|
2023-09-20 15:31:56 +08:00
|
|
|
message Combinationtype {
|
2023-09-13 17:26:44 +08:00
|
|
|
string code = 1;
|
|
|
|
repeated string refRelays = 2;//设备关联的继电器
|
2023-08-25 17:14:44 +08:00
|
|
|
}
|
2023-09-20 15:31:56 +08:00
|
|
|
|
|
|
|
message UniqueIdType {
|
|
|
|
string city = 1;//城市
|
|
|
|
string lineId = 2;//线路号
|
|
|
|
string belongsConcentrationStation = 3;//继电器柜图所属集中站
|
|
|
|
}
|