rts-sim-testing-message/protos/relayCabinetLayoutGraphics.proto

33 lines
852 B
Protocol Buffer
Raw Normal View History

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-11 17:46:30 +08:00
string belongsConcentrationStation = 5;//继电器柜图所属集中站
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-06 09:31:44 +08:00
graphicData.CommonInfo common = 1;
2023-09-08 17:57:19 +08:00
string code = 2;//编号
string model = 3;//型号
}
/* 设备管理的继电器列表 */
message DeviceRelateRelay {
//int32 id = 1;//存储在列表中的id
string type = 2;//设备类型
string code = 3;//设备编号
repeated string refRelay = 4;//设备关联的继电器
2023-08-25 17:14:44 +08:00
}