添加继电器操作请求消息
This commit is contained in:
parent
999608fa88
commit
4c2644ae8d
@ -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 {
|
||||
// 道岔操作
|
||||
|
Loading…
Reference in New Issue
Block a user