// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.32.0 // 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) ) // 继电器操作 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} } // // 道岔操作 // // enum Operation { // Undefined = 0; // 未定义 // DC = 1; // 定操 // CancelDC = 2; // 取消定操 // FC = 3; // 反操 // CancelFC = 4; // 取消反操 // // SetSB = 5; // 设置失表故障 // // CancelSB = 6; // 取消失表故障 // // SetJC = 7; // 设置挤岔故障 // // CancelJC = 8; // 取消挤岔故障 // // ForceDw = 9; // 强制定位 // // ForceFw = 10; // 强制反位 // // CancelForce = 11; // 取消强制 // SetParams = 12; // 设置参数 // } // // 道岔强制 type Points_Force int32 const ( Points_FP_NONE Points_Force = 0 // 无强制 Points_FP_DW Points_Force = 1 // 定位 Points_FP_FW Points_Force = 2 // 反位 Points_FP_SB Points_Force = 3 // 失表 ) // Enum value maps for Points_Force. var ( Points_Force_name = map[int32]string{ 0: "FP_NONE", 1: "FP_DW", 2: "FP_FW", 3: "FP_SB", } Points_Force_value = map[string]int32{ "FP_NONE": 0, "FP_DW": 1, "FP_FW": 2, "FP_SB": 3, } ) func (x Points_Force) Enum() *Points_Force { p := new(Points_Force) *p = x return p } func (x Points_Force) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Points_Force) Descriptor() protoreflect.EnumDescriptor { return file_request_proto_enumTypes[1].Descriptor() } func (Points_Force) Type() protoreflect.EnumType { return &file_request_proto_enumTypes[1] } func (x Points_Force) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Points_Force.Descriptor instead. func (Points_Force) EnumDescriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{2, 0} } // 信号机操作 // // enum Operation { // Undefined = 0; // 未定义 // Display = 1; //显示操作,如设置绿色、设置红黄色 // LightHFaultDs = 2; //设置红灯断丝故障 // LightUFaultDs = 3; //设置黄灯断丝故障 // LightLFaultDs = 4; //设置绿灯断丝故障 // LightAFaultDs = 5; //设置蓝灯断丝故障 // LightBFaultDs = 6; //设置白灯断丝故障 // LightHCancelDs = 7; //取消红灯断丝故障 // LightUCancelDs = 8; //取消黄灯断丝故障 // LightLCancelDs = 9; //取消绿灯断丝故障 // LightACancelDs = 10; //取消蓝灯断丝故障 // LightBCancelDs = 11; //取消白灯断丝故障 // } type Signal_DS int32 const ( Signal_DS_NONE Signal_DS = 0 // 无断丝 Signal_DS_H Signal_DS = 1 // 红灯断丝 Signal_DS_U Signal_DS = 2 // 黄灯断丝 Signal_DS_L Signal_DS = 3 // 绿灯断丝 Signal_DS_A Signal_DS = 4 // 蓝灯断丝 Signal_DS_B Signal_DS = 5 // 白灯断丝 ) // Enum value maps for Signal_DS. var ( Signal_DS_name = map[int32]string{ 0: "DS_NONE", 1: "DS_H", 2: "DS_U", 3: "DS_L", 4: "DS_A", 5: "DS_B", } Signal_DS_value = map[string]int32{ "DS_NONE": 0, "DS_H": 1, "DS_U": 2, "DS_L": 3, "DS_A": 4, "DS_B": 5, } ) func (x Signal_DS) Enum() *Signal_DS { p := new(Signal_DS) *p = x return p } func (x Signal_DS) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Signal_DS) Descriptor() protoreflect.EnumDescriptor { return file_request_proto_enumTypes[2].Descriptor() } func (Signal_DS) Type() protoreflect.EnumType { return &file_request_proto_enumTypes[2] } func (x Signal_DS) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Signal_DS.Descriptor instead. func (Signal_DS) EnumDescriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{5, 0} } // 信号机强制 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[3].Descriptor() } func (Signal_Force) Type() protoreflect.EnumType { return &file_request_proto_enumTypes[3] } 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, 1} } // 区段操作 type Section_Operation int32 const ( 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 //取消故障占用 ) // Enum value maps for Section_Operation. var ( Section_Operation_name = map[int32]string{ 0: "SetDrst", 1: "CancelDrst", 2: "SetPdrst", 3: "CancelPdrst", 4: "SetFaultOcc", 5: "CancelFaultOcc", } Section_Operation_value = map[string]int32{ "SetDrst": 0, "CancelDrst": 1, "SetPdrst": 2, "CancelPdrst": 3, "SetFaultOcc": 4, "CancelFaultOcc": 5, } ) func (x Section_Operation) Enum() *Section_Operation { p := new(Section_Operation) *p = x return p } func (x Section_Operation) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Section_Operation) Descriptor() protoreflect.EnumDescriptor { return file_request_proto_enumTypes[4].Descriptor() } func (Section_Operation) Type() protoreflect.EnumType { return &file_request_proto_enumTypes[4] } func (x Section_Operation) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Section_Operation.Descriptor instead. func (Section_Operation) EnumDescriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{8, 0} } type Psd_Operation int32 const ( Psd_Undefined Psd_Operation = 0 // 屏蔽门控制 // // 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", 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, "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[5].Descriptor() } func (Psd_Operation) Type() protoreflect.EnumType { return &file_request_proto_enumTypes[5] } func (x Psd_Operation) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Psd_Operation.Descriptor instead. func (Psd_Operation) EnumDescriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{9, 0} } // 继电器 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 } // 道岔 type Points struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Points) Reset() { *x = Points{} if protoimpl.UnsafeEnabled { mi := &file_request_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Points) String() string { return protoimpl.X.MessageStringOf(x) } func (*Points) ProtoMessage() {} func (x *Points) ProtoReflect() protoreflect.Message { mi := &file_request_proto_msgTypes[2] 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 Points.ProtoReflect.Descriptor instead. func (*Points) Descriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{2} } // 道岔操作请求 type PointsOperationReq 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 // Points.Operation operation = 4; // 道岔操作 Param *PointsParam `protobuf:"bytes,5,opt,name=param,proto3" json:"param,omitempty"` // 道岔参数,当operation为SetParams时有效 } func (x *PointsOperationReq) Reset() { *x = PointsOperationReq{} if protoimpl.UnsafeEnabled { mi := &file_request_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PointsOperationReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*PointsOperationReq) ProtoMessage() {} func (x *PointsOperationReq) ProtoReflect() protoreflect.Message { mi := &file_request_proto_msgTypes[3] 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 PointsOperationReq.ProtoReflect.Descriptor instead. func (*PointsOperationReq) Descriptor() ([]byte, []int) { return file_request_proto_rawDescGZIP(), []int{3} } func (x *PointsOperationReq) GetSimulationId() string { if x != nil { return x.SimulationId } return "" } func (x *PointsOperationReq) GetMapId() int32 { if x != nil { return x.MapId } return 0 } func (x *PointsOperationReq) GetDeviceId() uint32 { if x != nil { return x.DeviceId } return 0 } func (x *PointsOperationReq) GetParam() *PointsParam { if x != nil { 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 } return Points_FP_NONE } // 信号机 type Signal struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Signal) Reset() { *x = Signal{} if protoimpl.UnsafeEnabled { mi := &file_request_proto_msgTypes[5] 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 { mi := &file_request_proto_msgTypes[5] 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) { 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 // Signal.Operation operation = 4; // 信号机操作 Param *SignalParam `protobuf:"bytes,5,opt,name=param,proto3" json:"param,omitempty"` // 信号机参数,当operation为SetParams时有效 } 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) 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 } // 区段 type Section struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Section) Reset() { *x = Section{} if protoimpl.UnsafeEnabled { mi := &file_request_proto_msgTypes[8] 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 { mi := &file_request_proto_msgTypes[8] 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) { return file_request_proto_rawDescGZIP(), []int{8} } // 屏蔽门 type Psd struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Psd) Reset() { *x = Psd{} if protoimpl.UnsafeEnabled { 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 { 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) { 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 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"` //无法关闭/无法开启故障涉及的滑动门的编号 Group int32 `protobuf:"varint,6,opt,name=group,proto3" json:"group,omitempty"` //开门操作的编组 } func (x *PsdOperationReq) Reset() { *x = PsdOperationReq{} if protoimpl.UnsafeEnabled { 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 { 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) { 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 } func (x *PsdOperationReq) GetDeviceId() uint32 { if x != nil { return x.DeviceId } 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 } func (x *PsdOperationReq) GetGroup() int32 { if x != nil { return x.Group } return 0 } 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, 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, 0x3f, 0x0a, 0x06, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 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, 0x96, 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, 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, 0xaa, 0x01, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x43, 0x0a, 0x02, 0x44, 0x53, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x53, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x48, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x55, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x4c, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x41, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x53, 0x5f, 0x42, 0x10, 0x05, 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, 0x96, 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, 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, } 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, 6) var file_request_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_request_proto_goTypes = []interface{}{ (Relay_Operation)(0), // 0: request.Relay.Operation (Points_Force)(0), // 1: request.Points.Force (Signal_DS)(0), // 2: request.Signal.DS (Signal_Force)(0), // 3: request.Signal.Force (Section_Operation)(0), // 4: request.Section.Operation (Psd_Operation)(0), // 5: request.Psd.Operation (*Relay)(nil), // 6: request.Relay (*RelayOperationReq)(nil), // 7: request.RelayOperationReq (*Points)(nil), // 8: request.Points (*PointsOperationReq)(nil), // 9: request.PointsOperationReq (*PointsParam)(nil), // 10: request.PointsParam (*Signal)(nil), // 11: request.Signal (*SignalOperationReq)(nil), // 12: request.SignalOperationReq (*SignalParam)(nil), // 13: request.SignalParam (*Section)(nil), // 14: request.Section (*Psd)(nil), // 15: request.Psd (*PsdOperationReq)(nil), // 16: request.PsdOperationReq } var file_request_proto_depIdxs = []int32{ 0, // 0: request.RelayOperationReq.operation:type_name -> request.Relay.Operation 10, // 1: request.PointsOperationReq.param:type_name -> request.PointsParam 1, // 2: request.PointsParam.forcePosition:type_name -> request.Points.Force 13, // 3: request.SignalOperationReq.param:type_name -> request.SignalParam 3, // 4: request.SignalParam.force:type_name -> request.Signal.Force 2, // 5: request.SignalParam.dsList:type_name -> request.Signal.DS 5, // 6: request.PsdOperationReq.operation:type_name -> request.Psd.Operation 7, // [7:7] is the sub-list for method output_type 7, // [7:7] is the sub-list for method input_type 7, // [7:7] is the sub-list for extension type_name 7, // [7:7] is the sub-list for extension extendee 0, // [0:7] is the sub-list for field type_name } 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{} { switch v := v.(*Relay); i { 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{} { switch v := v.(*RelayOperationReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Points); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PointsOperationReq); i { 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{} { 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{} { switch v := v.(*Signal); i { 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{} { switch v := v.(*SignalOperationReq); i { 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{} { 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 } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_request_proto_rawDesc, NumEnums: 6, NumMessages: 11, 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 }