rts-sim-testing-message/protos/relayCabinetLayoutGraphics.proto
joylink_zhaoerwei b6bb68aa99 继电器柜
2023-09-13 17:26:44 +08:00

38 lines
1023 B
Protocol Buffer

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;//设备关联的继电器
repeated Combinationtype combinationtypes = 5; //组合类型
}
message Combinationtype{
string code = 1;
repeated string refRelays = 2;//设备关联的继电器
}