syntax = "proto3"; import "stationLayoutGraphics.proto"; package relayCabinetGraphicData; option go_package = "./ats/verify/protos/graphicData"; message RelayCabinetGraphicStorage { graphicData.Canvas canvas = 1; repeated RelayCabinet relayCabinets = 2; repeated Relay relays = 3; repeated DeviceRelateRelay deviceRelateRelayList = 4; //string belongsConcentrationStation = 5;//继电器柜图所属集中站 UniqueIdType UniqueIdPrefix = 6;//设备唯一编码--前缀 } message RelayCabinet { graphicData.CommonInfo common = 1; string code = 2;//编号 } message Relay { enum ModelType {//型号中的-和/转换为_ 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; } graphicData.CommonInfo common = 1; string code = 2;//编号 //string model = 3;//型号 ModelType newModel = 4;//型号 } /* 设备管理的继电器列表 */ message DeviceRelateRelay { //int32 id = 1;//存储在列表中的id //string type = 2;//设备类型 string code = 3;//设备编号 //repeated string refRelay = 4;//设备关联的继电器 repeated Combinationtype combinationtypes = 5; //组合类型 graphicData.RelatedRef.DeviceType deviceType = 6;//设备类型 } message Combinationtype { string code = 1; repeated string refRelays = 2;//设备关联的继电器 } message UniqueIdType { string city = 1;//城市 string lineId = 2;//线路号 string belongsConcentrationStation = 3;//继电器柜图所属集中站 }