添加继电器操作请求消息

This commit is contained in:
walker 2024-01-09 11:22:22 +08:00
parent 999608fa88
commit 4c2644ae8d

View File

@ -3,6 +3,24 @@ syntax = "proto3";
package request;
option go_package = "./dto/request_proto";
//
message Relay {
//
enum Operation {
Undefined = 0; //
ForceQw = 1; // ()
ForceHw = 2; // ()
}
}
//
message RelayOperationReq {
string simulationId = 1; // 仿id
int32 mapId = 2; // id
uint32 deviceId = 3; // id
Relay.Operation operation = 4; //
}
//
message Turnout {
//