rts-sim-testing-service/dto/request_proto/request.pb.go

1451 lines
45 KiB
Go
Raw Normal View History

2023-10-13 17:57:47 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2024-01-16 17:53:54 +08:00
// protoc-gen-go v1.32.0
2023-10-13 17:57:47 +08:00
// protoc v4.23.1
// source: request.proto
package request_proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
2024-01-10 11:13:13 +08:00
// 继电器操作
type Relay_Operation int32
const (
Relay_Undefined Relay_Operation = 0 // 未定义
Relay_ForceQw Relay_Operation = 1 // 强制前接点位(吸起)
Relay_ForceHw Relay_Operation = 2 // 强制后接点位(落下)
Relay_CancelForce Relay_Operation = 3 // 取消强制
)
// Enum value maps for Relay_Operation.
var (
Relay_Operation_name = map[int32]string{
0: "Undefined",
1: "ForceQw",
2: "ForceHw",
3: "CancelForce",
}
Relay_Operation_value = map[string]int32{
"Undefined": 0,
"ForceQw": 1,
"ForceHw": 2,
"CancelForce": 3,
}
)
func (x Relay_Operation) Enum() *Relay_Operation {
p := new(Relay_Operation)
*p = x
return p
}
func (x Relay_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Relay_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[0].Descriptor()
}
func (Relay_Operation) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[0]
}
func (x Relay_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Relay_Operation.Descriptor instead.
func (Relay_Operation) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{0, 0}
}
// 道岔操作
type Points_Operation int32
const (
Points_Undefined Points_Operation = 0 // 未定义
Points_SetParams Points_Operation = 1 // 设置参数
)
// Enum value maps for Points_Operation.
var (
Points_Operation_name = map[int32]string{
0: "Undefined",
1: "SetParams",
}
Points_Operation_value = map[string]int32{
"Undefined": 0,
"SetParams": 1,
}
)
func (x Points_Operation) Enum() *Points_Operation {
p := new(Points_Operation)
*p = x
return p
}
func (x Points_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Points_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[1].Descriptor()
}
func (Points_Operation) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[1]
}
func (x Points_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Points_Operation.Descriptor instead.
func (Points_Operation) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{2, 0}
}
2024-01-17 17:49:11 +08:00
// 道岔强制
type Points_Force int32
2023-10-13 17:57:47 +08:00
const (
2024-01-17 17:49:11 +08:00
Points_FP_NONE Points_Force = 0 // 无强制
Points_FP_DW Points_Force = 1 // 定位
Points_FP_FW Points_Force = 2 // 反位
Points_FP_SB Points_Force = 3 // 失表
2023-10-13 17:57:47 +08:00
)
2024-01-17 17:49:11 +08:00
// Enum value maps for Points_Force.
2023-10-13 17:57:47 +08:00
var (
2024-01-17 17:49:11 +08:00
Points_Force_name = map[int32]string{
0: "FP_NONE",
1: "FP_DW",
2: "FP_FW",
3: "FP_SB",
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
Points_Force_value = map[string]int32{
"FP_NONE": 0,
"FP_DW": 1,
"FP_FW": 2,
"FP_SB": 3,
2023-10-13 17:57:47 +08:00
}
)
2024-01-17 17:49:11 +08:00
func (x Points_Force) Enum() *Points_Force {
p := new(Points_Force)
2023-10-13 17:57:47 +08:00
*p = x
return p
}
2024-01-17 17:49:11 +08:00
func (x Points_Force) String() string {
2023-10-13 17:57:47 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2024-01-17 17:49:11 +08:00
func (Points_Force) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[2].Descriptor()
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
func (Points_Force) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[2]
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
func (x Points_Force) Number() protoreflect.EnumNumber {
2023-10-13 17:57:47 +08:00
return protoreflect.EnumNumber(x)
}
2024-01-17 17:49:11 +08:00
// Deprecated: Use Points_Force.Descriptor instead.
func (Points_Force) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{2, 1}
2023-10-13 17:57:47 +08:00
}
2023-10-19 14:17:37 +08:00
// 信号机操作
type Signal_Operation int32
const (
Signal_Undefined Signal_Operation = 0 // 未定义
Signal_SetParams Signal_Operation = 1 // 设置参数
)
// Enum value maps for Signal_Operation.
var (
Signal_Operation_name = map[int32]string{
0: "Undefined",
1: "SetParams",
}
Signal_Operation_value = map[string]int32{
"Undefined": 0,
"SetParams": 1,
}
)
func (x Signal_Operation) Enum() *Signal_Operation {
p := new(Signal_Operation)
*p = x
return p
}
func (x Signal_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Signal_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[3].Descriptor()
}
func (Signal_Operation) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[3]
}
func (x Signal_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Signal_Operation.Descriptor instead.
func (Signal_Operation) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{5, 0}
}
2024-01-17 17:49:11 +08:00
type Signal_DS int32
2023-10-19 14:17:37 +08:00
const (
Signal_DS_H Signal_DS = 0 // 红灯断丝
Signal_DS_U Signal_DS = 1 // 黄灯断丝
Signal_DS_L Signal_DS = 2 // 绿灯断丝
Signal_DS_A Signal_DS = 3 // 蓝灯断丝
Signal_DS_B Signal_DS = 4 // 白灯断丝
2023-10-19 14:17:37 +08:00
)
2024-01-17 17:49:11 +08:00
// Enum value maps for Signal_DS.
2023-10-19 14:17:37 +08:00
var (
2024-01-17 17:49:11 +08:00
Signal_DS_name = map[int32]string{
0: "DS_H",
1: "DS_U",
2: "DS_L",
3: "DS_A",
4: "DS_B",
2023-10-19 14:17:37 +08:00
}
2024-01-17 17:49:11 +08:00
Signal_DS_value = map[string]int32{
"DS_H": 0,
"DS_U": 1,
"DS_L": 2,
"DS_A": 3,
"DS_B": 4,
2023-10-19 14:17:37 +08:00
}
)
2024-01-17 17:49:11 +08:00
func (x Signal_DS) Enum() *Signal_DS {
p := new(Signal_DS)
2023-10-19 14:17:37 +08:00
*p = x
return p
}
2024-01-17 17:49:11 +08:00
func (x Signal_DS) String() string {
2023-10-19 14:17:37 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2024-01-17 17:49:11 +08:00
func (Signal_DS) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[4].Descriptor()
2023-10-19 14:17:37 +08:00
}
2024-01-17 17:49:11 +08:00
func (Signal_DS) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[4]
2023-10-19 14:17:37 +08:00
}
2024-01-17 17:49:11 +08:00
func (x Signal_DS) Number() protoreflect.EnumNumber {
2023-10-19 14:17:37 +08:00
return protoreflect.EnumNumber(x)
}
2024-01-17 17:49:11 +08:00
// Deprecated: Use Signal_DS.Descriptor instead.
func (Signal_DS) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{5, 1}
2024-01-17 17:49:11 +08:00
}
// 信号机强制
type Signal_Force int32
const (
Signal_SF_NONE Signal_Force = 0 // 无强制
Signal_SF_M Signal_Force = 1 // 灭灯
Signal_SF_H Signal_Force = 2 // 红灯
Signal_SF_U Signal_Force = 3 // 黄灯
Signal_SF_L Signal_Force = 4 // 绿灯
Signal_SF_HU Signal_Force = 5 // 红黄灯
Signal_SF_A Signal_Force = 6 // 蓝灯
Signal_SF_B Signal_Force = 7 // 白灯
)
// Enum value maps for Signal_Force.
var (
Signal_Force_name = map[int32]string{
0: "SF_NONE",
1: "SF_M",
2: "SF_H",
3: "SF_U",
4: "SF_L",
5: "SF_HU",
6: "SF_A",
7: "SF_B",
}
Signal_Force_value = map[string]int32{
"SF_NONE": 0,
"SF_M": 1,
"SF_H": 2,
"SF_U": 3,
"SF_L": 4,
"SF_HU": 5,
"SF_A": 6,
"SF_B": 7,
}
)
func (x Signal_Force) Enum() *Signal_Force {
p := new(Signal_Force)
*p = x
return p
}
func (x Signal_Force) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Signal_Force) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[5].Descriptor()
2024-01-17 17:49:11 +08:00
}
func (Signal_Force) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[5]
2024-01-17 17:49:11 +08:00
}
func (x Signal_Force) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Signal_Force.Descriptor instead.
func (Signal_Force) EnumDescriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{5, 2}
2023-10-19 14:17:37 +08:00
}
2023-10-31 16:28:07 +08:00
// 区段操作
type Section_Operation int32
2023-10-24 09:37:36 +08:00
const (
2023-10-31 16:28:07 +08:00
Section_SetDrst Section_Operation = 0 //设置计轴直接复位
Section_CancelDrst Section_Operation = 1 //取消计轴直接复位
Section_SetPdrst Section_Operation = 2 //设置计轴预复位
Section_CancelPdrst Section_Operation = 3 //取消计轴预复位
Section_SetFaultOcc Section_Operation = 4 //设置故障占用
Section_CancelFaultOcc Section_Operation = 5 //取消故障占用
2023-10-24 09:37:36 +08:00
)
2023-10-31 16:28:07 +08:00
// Enum value maps for Section_Operation.
2023-10-24 09:37:36 +08:00
var (
2023-10-31 16:28:07 +08:00
Section_Operation_name = map[int32]string{
0: "SetDrst",
1: "CancelDrst",
2: "SetPdrst",
3: "CancelPdrst",
4: "SetFaultOcc",
5: "CancelFaultOcc",
2023-10-24 09:37:36 +08:00
}
2023-10-31 16:28:07 +08:00
Section_Operation_value = map[string]int32{
"SetDrst": 0,
"CancelDrst": 1,
"SetPdrst": 2,
"CancelPdrst": 3,
"SetFaultOcc": 4,
"CancelFaultOcc": 5,
2023-10-24 09:37:36 +08:00
}
)
2023-10-31 16:28:07 +08:00
func (x Section_Operation) Enum() *Section_Operation {
p := new(Section_Operation)
2023-10-24 09:37:36 +08:00
*p = x
return p
}
2023-10-31 16:28:07 +08:00
func (x Section_Operation) String() string {
2023-10-24 09:37:36 +08:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2023-10-31 16:28:07 +08:00
func (Section_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[6].Descriptor()
2023-10-24 09:37:36 +08:00
}
2023-10-31 16:28:07 +08:00
func (Section_Operation) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[6]
2023-10-24 09:37:36 +08:00
}
2023-10-31 16:28:07 +08:00
func (x Section_Operation) Number() protoreflect.EnumNumber {
2023-10-24 09:37:36 +08:00
return protoreflect.EnumNumber(x)
}
2023-10-31 16:28:07 +08:00
// Deprecated: Use Section_Operation.Descriptor instead.
func (Section_Operation) EnumDescriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{8, 0}
2023-10-24 09:37:36 +08:00
}
type Psd_Operation int32
const (
Psd_Undefined Psd_Operation = 0
// 屏蔽门控制
2023-12-08 16:46:50 +08:00
//
// Km4 = 1; //四编组开门
// CancelKm4 = 2; //取消四编组开门
// Km8 = 3; //八编组开门
// CancelKm8 = 4; //取消八编组开门
// Gm = 5; //关门
// CancelGm = 6; //取消关门
// ForceKm4 = 7; //强制四编组开门
// ForceKm8 = 8; //强制八编组开门
// ForceGm = 9; //强制关门
Psd_Km Psd_Operation = 1 //开门
Psd_CancelKm Psd_Operation = 2 //取消开门
Psd_Gm Psd_Operation = 3 //关门
Psd_CancelGm Psd_Operation = 4 //取消关门
Psd_ForceKm Psd_Operation = 5 //强制开门
Psd_ForceGm Psd_Operation = 6 //强制关门
Psd_CancelForce Psd_Operation = 10 //取消强制
// 屏蔽门故障
Psd_AsdCannotOpen Psd_Operation = 11 //滑动门无法开门
Psd_CancelAsdCannotOpen Psd_Operation = 12 //取消滑动门无法开门
Psd_AsdCannotClose Psd_Operation = 13 //滑动门无法关闭
Psd_CancelAsdCannotClose Psd_Operation = 14 //取消滑动门无法关闭
// 间隙探测
Psd_QDTC Psd_Operation = 15 //启动探测
Psd_CancelQDTC Psd_Operation = 16 //取消启动探测
Psd_TZTC Psd_Operation = 17 //停止探测
Psd_CancelTZTC Psd_Operation = 18 //取消停止探测
)
// Enum value maps for Psd_Operation.
var (
Psd_Operation_name = map[int32]string{
0: "Undefined",
2023-12-08 16:46:50 +08:00
1: "Km",
2: "CancelKm",
3: "Gm",
4: "CancelGm",
5: "ForceKm",
6: "ForceGm",
10: "CancelForce",
11: "AsdCannotOpen",
12: "CancelAsdCannotOpen",
13: "AsdCannotClose",
14: "CancelAsdCannotClose",
15: "QDTC",
16: "CancelQDTC",
17: "TZTC",
18: "CancelTZTC",
}
Psd_Operation_value = map[string]int32{
"Undefined": 0,
2023-12-08 16:46:50 +08:00
"Km": 1,
"CancelKm": 2,
"Gm": 3,
"CancelGm": 4,
"ForceKm": 5,
"ForceGm": 6,
"CancelForce": 10,
"AsdCannotOpen": 11,
"CancelAsdCannotOpen": 12,
"AsdCannotClose": 13,
"CancelAsdCannotClose": 14,
"QDTC": 15,
"CancelQDTC": 16,
"TZTC": 17,
"CancelTZTC": 18,
}
)
func (x Psd_Operation) Enum() *Psd_Operation {
p := new(Psd_Operation)
*p = x
return p
}
func (x Psd_Operation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Psd_Operation) Descriptor() protoreflect.EnumDescriptor {
return file_request_proto_enumTypes[7].Descriptor()
}
func (Psd_Operation) Type() protoreflect.EnumType {
return &file_request_proto_enumTypes[7]
}
func (x Psd_Operation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Psd_Operation.Descriptor instead.
func (Psd_Operation) EnumDescriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{9, 0}
2024-01-10 11:13:13 +08:00
}
// 继电器
type Relay struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Relay) Reset() {
*x = Relay{}
if protoimpl.UnsafeEnabled {
mi := &file_request_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Relay) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Relay) ProtoMessage() {}
func (x *Relay) ProtoReflect() protoreflect.Message {
mi := &file_request_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Relay.ProtoReflect.Descriptor instead.
func (*Relay) Descriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{0}
}
// 继电器操作请求
type RelayOperationReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SimulationId string `protobuf:"bytes,1,opt,name=simulationId,proto3" json:"simulationId,omitempty"` // 仿真id
MapId int32 `protobuf:"varint,2,opt,name=mapId,proto3" json:"mapId,omitempty"` // 图id
DeviceId uint32 `protobuf:"varint,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // 设备id
Operation Relay_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=request.Relay_Operation" json:"operation,omitempty"` // 继电器操作
}
func (x *RelayOperationReq) Reset() {
*x = RelayOperationReq{}
if protoimpl.UnsafeEnabled {
mi := &file_request_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RelayOperationReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RelayOperationReq) ProtoMessage() {}
func (x *RelayOperationReq) ProtoReflect() protoreflect.Message {
mi := &file_request_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RelayOperationReq.ProtoReflect.Descriptor instead.
func (*RelayOperationReq) Descriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{1}
}
func (x *RelayOperationReq) GetSimulationId() string {
if x != nil {
return x.SimulationId
}
return ""
}
func (x *RelayOperationReq) GetMapId() int32 {
if x != nil {
return x.MapId
}
return 0
}
func (x *RelayOperationReq) GetDeviceId() uint32 {
if x != nil {
return x.DeviceId
}
return 0
}
func (x *RelayOperationReq) GetOperation() Relay_Operation {
if x != nil {
return x.Operation
}
return Relay_Undefined
}
2023-10-13 17:57:47 +08:00
// 道岔
2024-01-17 17:49:11 +08:00
type Points struct {
2023-10-13 17:57:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
2024-01-17 17:49:11 +08:00
func (x *Points) Reset() {
*x = Points{}
2023-10-13 17:57:47 +08:00
if protoimpl.UnsafeEnabled {
2024-01-10 11:13:13 +08:00
mi := &file_request_proto_msgTypes[2]
2023-10-13 17:57:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2024-01-17 17:49:11 +08:00
func (x *Points) String() string {
2023-10-13 17:57:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2024-01-17 17:49:11 +08:00
func (*Points) ProtoMessage() {}
2023-10-13 17:57:47 +08:00
2024-01-17 17:49:11 +08:00
func (x *Points) ProtoReflect() protoreflect.Message {
2024-01-10 11:13:13 +08:00
mi := &file_request_proto_msgTypes[2]
2023-10-13 17:57:47 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2024-01-17 17:49:11 +08:00
// Deprecated: Use Points.ProtoReflect.Descriptor instead.
func (*Points) Descriptor() ([]byte, []int) {
2024-01-10 11:13:13 +08:00
return file_request_proto_rawDescGZIP(), []int{2}
2023-10-13 17:57:47 +08:00
}
// 道岔操作请求
2024-01-17 17:49:11 +08:00
type PointsOperationReq struct {
2023-10-13 17:57:47 +08:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SimulationId string `protobuf:"bytes,1,opt,name=simulationId,proto3" json:"simulationId,omitempty"` // 仿真id
MapId int32 `protobuf:"varint,2,opt,name=mapId,proto3" json:"mapId,omitempty"` // 图id
DeviceId uint32 `protobuf:"varint,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // 设备id
Operation Points_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=request.Points_Operation" json:"operation,omitempty"` // 道岔操作
Param *PointsParam `protobuf:"bytes,5,opt,name=param,proto3" json:"param,omitempty"` // 道岔参数,当operation为SetParams时有效
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) Reset() {
*x = PointsOperationReq{}
2023-10-13 17:57:47 +08:00
if protoimpl.UnsafeEnabled {
2024-01-10 11:13:13 +08:00
mi := &file_request_proto_msgTypes[3]
2023-10-13 17:57:47 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) String() string {
2023-10-13 17:57:47 +08:00
return protoimpl.X.MessageStringOf(x)
}
2024-01-17 17:49:11 +08:00
func (*PointsOperationReq) ProtoMessage() {}
2023-10-13 17:57:47 +08:00
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) ProtoReflect() protoreflect.Message {
2024-01-10 11:13:13 +08:00
mi := &file_request_proto_msgTypes[3]
2023-10-13 17:57:47 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2024-01-17 17:49:11 +08:00
// Deprecated: Use PointsOperationReq.ProtoReflect.Descriptor instead.
func (*PointsOperationReq) Descriptor() ([]byte, []int) {
2024-01-10 11:13:13 +08:00
return file_request_proto_rawDescGZIP(), []int{3}
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) GetSimulationId() string {
2023-10-13 17:57:47 +08:00
if x != nil {
return x.SimulationId
}
return ""
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) GetMapId() int32 {
2023-10-13 17:57:47 +08:00
if x != nil {
return x.MapId
}
return 0
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) GetDeviceId() uint32 {
2023-10-13 17:57:47 +08:00
if x != nil {
return x.DeviceId
}
2023-12-14 13:04:48 +08:00
return 0
2023-10-13 17:57:47 +08:00
}
func (x *PointsOperationReq) GetOperation() Points_Operation {
if x != nil {
return x.Operation
}
return Points_Undefined
}
2024-01-17 17:49:11 +08:00
func (x *PointsOperationReq) GetParam() *PointsParam {
2023-10-13 17:57:47 +08:00
if x != nil {
2024-01-17 17:49:11 +08:00
return x.Param
}
return nil
}
// 道岔参数
type PointsParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ForcePosition Points_Force `protobuf:"varint,1,opt,name=forcePosition,proto3,enum=request.Points_Force" json:"forcePosition,omitempty"` // 道岔强制
}
func (x *PointsParam) Reset() {
*x = PointsParam{}
if protoimpl.UnsafeEnabled {
mi := &file_request_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PointsParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PointsParam) ProtoMessage() {}
func (x *PointsParam) ProtoReflect() protoreflect.Message {
mi := &file_request_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PointsParam.ProtoReflect.Descriptor instead.
func (*PointsParam) Descriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{4}
}
func (x *PointsParam) GetForcePosition() Points_Force {
if x != nil {
return x.ForcePosition
2023-10-13 17:57:47 +08:00
}
2024-01-17 17:49:11 +08:00
return Points_FP_NONE
2023-10-13 17:57:47 +08:00
}
2023-10-19 14:17:37 +08:00
// 信号机
type Signal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Signal) Reset() {
*x = Signal{}
if protoimpl.UnsafeEnabled {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[5]
2023-10-19 14:17:37 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Signal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Signal) ProtoMessage() {}
func (x *Signal) ProtoReflect() protoreflect.Message {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[5]
2023-10-19 14:17:37 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Signal.ProtoReflect.Descriptor instead.
func (*Signal) Descriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{5}
}
type SignalOperationReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SimulationId string `protobuf:"bytes,1,opt,name=simulationId,proto3" json:"simulationId,omitempty"` // 仿真id
MapId int32 `protobuf:"varint,2,opt,name=mapId,proto3" json:"mapId,omitempty"` // 图id
DeviceId uint32 `protobuf:"varint,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // 设备id
Operation Signal_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=request.Signal_Operation" json:"operation,omitempty"` // 信号机操作
Param *SignalParam `protobuf:"bytes,5,opt,name=param,proto3" json:"param,omitempty"` // 信号机参数,当operation为SetParams时有效
2024-01-17 17:49:11 +08:00
}
func (x *SignalOperationReq) Reset() {
*x = SignalOperationReq{}
if protoimpl.UnsafeEnabled {
mi := &file_request_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SignalOperationReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignalOperationReq) ProtoMessage() {}
func (x *SignalOperationReq) ProtoReflect() protoreflect.Message {
mi := &file_request_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignalOperationReq.ProtoReflect.Descriptor instead.
func (*SignalOperationReq) Descriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{6}
}
func (x *SignalOperationReq) GetSimulationId() string {
if x != nil {
return x.SimulationId
}
return ""
}
func (x *SignalOperationReq) GetMapId() int32 {
if x != nil {
return x.MapId
}
return 0
}
func (x *SignalOperationReq) GetDeviceId() uint32 {
if x != nil {
return x.DeviceId
}
return 0
}
func (x *SignalOperationReq) GetOperation() Signal_Operation {
if x != nil {
return x.Operation
}
return Signal_Undefined
}
2024-01-17 17:49:11 +08:00
func (x *SignalOperationReq) GetParam() *SignalParam {
if x != nil {
return x.Param
}
return nil
}
type SignalParam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Force Signal_Force `protobuf:"varint,1,opt,name=force,proto3,enum=request.Signal_Force" json:"force,omitempty"` // 信号机强制
DsList []Signal_DS `protobuf:"varint,2,rep,packed,name=dsList,proto3,enum=request.Signal_DS" json:"dsList,omitempty"` // 信号机断丝
}
func (x *SignalParam) Reset() {
*x = SignalParam{}
if protoimpl.UnsafeEnabled {
mi := &file_request_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SignalParam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SignalParam) ProtoMessage() {}
func (x *SignalParam) ProtoReflect() protoreflect.Message {
mi := &file_request_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SignalParam.ProtoReflect.Descriptor instead.
func (*SignalParam) Descriptor() ([]byte, []int) {
return file_request_proto_rawDescGZIP(), []int{7}
}
func (x *SignalParam) GetForce() Signal_Force {
if x != nil {
return x.Force
}
return Signal_SF_NONE
}
func (x *SignalParam) GetDsList() []Signal_DS {
if x != nil {
return x.DsList
}
return nil
2023-10-19 14:17:37 +08:00
}
2023-10-24 09:37:36 +08:00
// 区段
type Section struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Section) Reset() {
*x = Section{}
if protoimpl.UnsafeEnabled {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[8]
2023-10-24 09:37:36 +08:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Section) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Section) ProtoMessage() {}
func (x *Section) ProtoReflect() protoreflect.Message {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[8]
2023-10-24 09:37:36 +08:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Section.ProtoReflect.Descriptor instead.
func (*Section) Descriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{8}
2023-10-24 09:37:36 +08:00
}
// 屏蔽门
type Psd struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Psd) Reset() {
*x = Psd{}
if protoimpl.UnsafeEnabled {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Psd) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Psd) ProtoMessage() {}
func (x *Psd) ProtoReflect() protoreflect.Message {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Psd.ProtoReflect.Descriptor instead.
func (*Psd) Descriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{9}
}
// 屏蔽门操作请求
type PsdOperationReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
SimulationId string `protobuf:"bytes,1,opt,name=simulationId,proto3" json:"simulationId,omitempty"` // 仿真id
MapId int32 `protobuf:"varint,2,opt,name=mapId,proto3" json:"mapId,omitempty"` // 图id
2023-12-14 13:04:48 +08:00
DeviceId uint32 `protobuf:"varint,3,opt,name=deviceId,proto3" json:"deviceId,omitempty"` // 设备id
Operation Psd_Operation `protobuf:"varint,4,opt,name=operation,proto3,enum=request.Psd_Operation" json:"operation,omitempty"` // 操作
AsdCodes []int32 `protobuf:"varint,5,rep,packed,name=asdCodes,proto3" json:"asdCodes,omitempty"` //无法关闭/无法开启故障涉及的滑动门的编号
2023-12-08 16:46:50 +08:00
Group int32 `protobuf:"varint,6,opt,name=group,proto3" json:"group,omitempty"` //开门操作的编组
}
func (x *PsdOperationReq) Reset() {
*x = PsdOperationReq{}
if protoimpl.UnsafeEnabled {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PsdOperationReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PsdOperationReq) ProtoMessage() {}
func (x *PsdOperationReq) ProtoReflect() protoreflect.Message {
2024-01-17 17:49:11 +08:00
mi := &file_request_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PsdOperationReq.ProtoReflect.Descriptor instead.
func (*PsdOperationReq) Descriptor() ([]byte, []int) {
2024-01-17 17:49:11 +08:00
return file_request_proto_rawDescGZIP(), []int{10}
}
func (x *PsdOperationReq) GetSimulationId() string {
if x != nil {
return x.SimulationId
}
return ""
}
func (x *PsdOperationReq) GetMapId() int32 {
if x != nil {
return x.MapId
}
return 0
}
2023-12-14 13:04:48 +08:00
func (x *PsdOperationReq) GetDeviceId() uint32 {
if x != nil {
return x.DeviceId
}
2023-12-14 13:04:48 +08:00
return 0
}
func (x *PsdOperationReq) GetOperation() Psd_Operation {
if x != nil {
return x.Operation
}
return Psd_Undefined
}
func (x *PsdOperationReq) GetAsdCodes() []int32 {
if x != nil {
return x.AsdCodes
}
return nil
}
2023-12-08 16:46:50 +08:00
func (x *PsdOperationReq) GetGroup() int32 {
if x != nil {
return x.Group
}
return 0
}
2023-10-13 17:57:47 +08:00
var File_request_proto protoreflect.FileDescriptor
var file_request_proto_rawDesc = []byte{
0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
2024-01-10 11:13:13 +08:00
0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x05, 0x52, 0x65, 0x6c, 0x61,
0x79, 0x22, 0x45, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d,
0x0a, 0x09, 0x55, 0x6e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0b, 0x0a,
0x07, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x51, 0x77, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x6f,
0x72, 0x63, 0x65, 0x48, 0x77, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x61, 0x6e, 0x63, 0x65,
0x6c, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x10, 0x03, 0x22, 0xa1, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c,
0x61, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x22,
0x0a, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x69,
0x63, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69,
0x63, 0x65, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6a, 0x0a, 0x06,
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x29, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x6e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64,
0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x10,
0x01, 0x22, 0x35, 0x0a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x50,
0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x50, 0x5f, 0x44, 0x57,
0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x50, 0x5f, 0x46, 0x57, 0x10, 0x02, 0x12, 0x09, 0x0a,
0x05, 0x46, 0x50, 0x5f, 0x53, 0x42, 0x10, 0x03, 0x22, 0xcf, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x69,
0x6e, 0x74, 0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12,
0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76,
0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x76,
0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a,
0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x4a, 0x0a, 0x0b, 0x50, 0x6f,
0x69, 0x6e, 0x74, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x3b, 0x0a, 0x0d, 0x66, 0x6f, 0x72,
0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x15, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74,
0x73, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x50, 0x6f,
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc8, 0x01, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61,
0x6c, 0x22, 0x29, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d,
0x0a, 0x09, 0x55, 0x6e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0d, 0x0a,
0x09, 0x53, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x10, 0x01, 0x22, 0x36, 0x0a, 0x02,
0x44, 0x53, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x48, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04,
0x44, 0x53, 0x5f, 0x55, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x4c, 0x10, 0x02,
0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x41, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53,
0x5f, 0x42, 0x10, 0x04, 0x22, 0x5b, 0x0a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x0b, 0x0a,
0x07, 0x53, 0x46, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x46,
0x5f, 0x4d, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x46, 0x5f, 0x48, 0x10, 0x02, 0x12, 0x08,
0x0a, 0x04, 0x53, 0x46, 0x5f, 0x55, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x46, 0x5f, 0x4c,
0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x46, 0x5f, 0x48, 0x55, 0x10, 0x05, 0x12, 0x08, 0x0a,
0x04, 0x53, 0x46, 0x5f, 0x41, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x46, 0x5f, 0x42, 0x10,
0x07, 0x22, 0xcf, 0x01, 0x0a, 0x12, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x4f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6d, 0x75,
0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05,
0x6d, 0x61, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x70,
0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x03,
0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x37,
0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x19, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e,
0x61, 0x6c, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d,
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x05, 0x70, 0x61,
0x72, 0x61, 0x6d, 0x22, 0x66, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x12, 0x2b, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x15, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e,
0x61, 0x6c, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12,
0x2a, 0x0a, 0x06, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32,
0x12, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
0x2e, 0x44, 0x53, 0x52, 0x06, 0x64, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x77, 0x0a, 0x07, 0x53,
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x65, 0x74, 0x44, 0x72, 0x73, 0x74, 0x10, 0x00,
0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x44, 0x72, 0x73, 0x74, 0x10, 0x01,
0x12, 0x0c, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x50, 0x64, 0x72, 0x73, 0x74, 0x10, 0x02, 0x12, 0x0f,
0x0a, 0x0b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50, 0x64, 0x72, 0x73, 0x74, 0x10, 0x03, 0x12,
0x0f, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x63, 0x63, 0x10, 0x04,
0x12, 0x12, 0x0a, 0x0e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x4f,
0x63, 0x63, 0x10, 0x05, 0x22, 0x87, 0x02, 0x0a, 0x03, 0x50, 0x73, 0x64, 0x22, 0xff, 0x01, 0x0a,
0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x6e,
0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4b, 0x6d, 0x10,
0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4b, 0x6d, 0x10, 0x02, 0x12,
0x06, 0x0a, 0x02, 0x47, 0x6d, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x61, 0x6e, 0x63, 0x65,
0x6c, 0x47, 0x6d, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x4b, 0x6d,
0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x47, 0x6d, 0x10, 0x06, 0x12,
0x0f, 0x0a, 0x0b, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x10, 0x0a,
0x12, 0x11, 0x0a, 0x0d, 0x41, 0x73, 0x64, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x4f, 0x70, 0x65,
0x6e, 0x10, 0x0b, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x64,
0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x4f, 0x70, 0x65, 0x6e, 0x10, 0x0c, 0x12, 0x12, 0x0a, 0x0e,
0x41, 0x73, 0x64, 0x43, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x10, 0x0d,
0x12, 0x18, 0x0a, 0x14, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x73, 0x64, 0x43, 0x61, 0x6e,
0x6e, 0x6f, 0x74, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x51, 0x44,
0x54, 0x43, 0x10, 0x0f, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x51, 0x44,
0x54, 0x43, 0x10, 0x10, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x5a, 0x54, 0x43, 0x10, 0x11, 0x12, 0x0e,
0x0a, 0x0a, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x54, 0x5a, 0x54, 0x43, 0x10, 0x12, 0x22, 0xcf,
0x01, 0x0a, 0x0f, 0x50, 0x73, 0x64, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6d, 0x75, 0x6c, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08,
0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x72, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x73, 0x64, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
0x0a, 0x08, 0x61, 0x73, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05,
0x52, 0x08, 0x61, 0x73, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
0x42, 0x30, 0x5a, 0x2e, 0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x63, 0x6c, 0x75, 0x62,
0x2f, 0x62, 0x6a, 0x2d, 0x72, 0x74, 0x73, 0x74, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2023-10-13 17:57:47 +08:00
}
var (
file_request_proto_rawDescOnce sync.Once
file_request_proto_rawDescData = file_request_proto_rawDesc
)
func file_request_proto_rawDescGZIP() []byte {
file_request_proto_rawDescOnce.Do(func() {
file_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_request_proto_rawDescData)
})
return file_request_proto_rawDescData
}
var file_request_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
2024-01-17 17:49:11 +08:00
var file_request_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
2023-10-13 17:57:47 +08:00
var file_request_proto_goTypes = []interface{}{
2024-01-17 17:49:11 +08:00
(Relay_Operation)(0), // 0: request.Relay.Operation
(Points_Operation)(0), // 1: request.Points.Operation
(Points_Force)(0), // 2: request.Points.Force
(Signal_Operation)(0), // 3: request.Signal.Operation
(Signal_DS)(0), // 4: request.Signal.DS
(Signal_Force)(0), // 5: request.Signal.Force
(Section_Operation)(0), // 6: request.Section.Operation
(Psd_Operation)(0), // 7: request.Psd.Operation
(*Relay)(nil), // 8: request.Relay
(*RelayOperationReq)(nil), // 9: request.RelayOperationReq
(*Points)(nil), // 10: request.Points
(*PointsOperationReq)(nil), // 11: request.PointsOperationReq
(*PointsParam)(nil), // 12: request.PointsParam
(*Signal)(nil), // 13: request.Signal
(*SignalOperationReq)(nil), // 14: request.SignalOperationReq
(*SignalParam)(nil), // 15: request.SignalParam
(*Section)(nil), // 16: request.Section
(*Psd)(nil), // 17: request.Psd
(*PsdOperationReq)(nil), // 18: request.PsdOperationReq
2023-10-13 17:57:47 +08:00
}
var file_request_proto_depIdxs = []int32{
2024-01-17 17:49:11 +08:00
0, // 0: request.RelayOperationReq.operation:type_name -> request.Relay.Operation
1, // 1: request.PointsOperationReq.operation:type_name -> request.Points.Operation
12, // 2: request.PointsOperationReq.param:type_name -> request.PointsParam
2, // 3: request.PointsParam.forcePosition:type_name -> request.Points.Force
3, // 4: request.SignalOperationReq.operation:type_name -> request.Signal.Operation
15, // 5: request.SignalOperationReq.param:type_name -> request.SignalParam
5, // 6: request.SignalParam.force:type_name -> request.Signal.Force
4, // 7: request.SignalParam.dsList:type_name -> request.Signal.DS
7, // 8: request.PsdOperationReq.operation:type_name -> request.Psd.Operation
9, // [9:9] is the sub-list for method output_type
9, // [9:9] is the sub-list for method input_type
9, // [9:9] is the sub-list for extension type_name
9, // [9:9] is the sub-list for extension extendee
0, // [0:9] is the sub-list for field type_name
2023-10-13 17:57:47 +08:00
}
func init() { file_request_proto_init() }
func file_request_proto_init() {
if File_request_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
2024-01-10 11:13:13 +08:00
switch v := v.(*Relay); i {
2023-10-13 17:57:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
2024-01-10 11:13:13 +08:00
switch v := v.(*RelayOperationReq); i {
2023-10-13 17:57:47 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-10-19 14:17:37 +08:00
file_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*Points); i {
2023-10-19 14:17:37 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-10-24 09:37:36 +08:00
file_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*PointsOperationReq); i {
2023-10-24 09:37:36 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*PointsParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*Signal); i {
2024-01-10 11:13:13 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*SignalOperationReq); i {
2024-01-10 11:13:13 +08:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
2024-01-17 17:49:11 +08:00
switch v := v.(*SignalParam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Section); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Psd); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_request_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PsdOperationReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-10-13 17:57:47 +08:00
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_request_proto_rawDesc,
NumEnums: 8,
2024-01-17 17:49:11 +08:00
NumMessages: 11,
2023-10-13 17:57:47 +08:00
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_request_proto_goTypes,
DependencyIndexes: file_request_proto_depIdxs,
EnumInfos: file_request_proto_enumTypes,
MessageInfos: file_request_proto_msgTypes,
}.Build()
File_request_proto = out.File
file_request_proto_rawDesc = nil
file_request_proto_goTypes = nil
file_request_proto_depIdxs = nil
}