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;//继电器柜图所属集中站 } message RelayCabinet { graphicData.CommonInfo common = 1; string code = 2;//编号 } message Relay { graphicData.CommonInfo common = 1; string code = 2;//编号 string model = 3;//型号 } /* 设备管理的继电器列表 */ message DeviceRelateRelay { //int32 id = 1;//存储在列表中的id string type = 2;//设备类型 string code = 3;//设备编号 repeated string refRelay = 4;//设备关联的继电器 }