列车控制连接
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 2m9s
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 2m9s
This commit is contained in:
parent
0947fd9b73
commit
0fe48de228
@ -5167,61 +5167,6 @@ func (x *TrainControlState_ControlButton) GetPassed() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
type TrainControlState_EmergentButton struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
||||||
Passed bool `protobuf:"varint,3,opt,name=passed,proto3" json:"passed,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TrainControlState_EmergentButton) Reset() {
|
|
||||||
*x = TrainControlState_EmergentButton{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_device_state_proto_msgTypes[42]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TrainControlState_EmergentButton) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*TrainControlState_EmergentButton) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *TrainControlState_EmergentButton) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_device_state_proto_msgTypes[42]
|
|
||||||
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 TrainControlState_EmergentButton.ProtoReflect.Descriptor instead.
|
|
||||||
func (*TrainControlState_EmergentButton) Descriptor() ([]byte, []int) {
|
|
||||||
return file_device_state_proto_rawDescGZIP(), []int{35, 1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TrainControlState_EmergentButton) GetId() uint32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Id
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *TrainControlState_EmergentButton) GetPassed() bool {
|
|
||||||
if x != nil {
|
|
||||||
return x.Passed
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
type TrainControlState_DriverKeySwitch struct {
|
type TrainControlState_DriverKeySwitch struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@ -5234,7 +5179,7 @@ type TrainControlState_DriverKeySwitch struct {
|
|||||||
func (x *TrainControlState_DriverKeySwitch) Reset() {
|
func (x *TrainControlState_DriverKeySwitch) Reset() {
|
||||||
*x = TrainControlState_DriverKeySwitch{}
|
*x = TrainControlState_DriverKeySwitch{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_device_state_proto_msgTypes[43]
|
mi := &file_device_state_proto_msgTypes[42]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -5247,7 +5192,7 @@ func (x *TrainControlState_DriverKeySwitch) String() string {
|
|||||||
func (*TrainControlState_DriverKeySwitch) ProtoMessage() {}
|
func (*TrainControlState_DriverKeySwitch) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *TrainControlState_DriverKeySwitch) ProtoReflect() protoreflect.Message {
|
func (x *TrainControlState_DriverKeySwitch) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_device_state_proto_msgTypes[43]
|
mi := &file_device_state_proto_msgTypes[42]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -5260,7 +5205,7 @@ func (x *TrainControlState_DriverKeySwitch) ProtoReflect() protoreflect.Message
|
|||||||
|
|
||||||
// Deprecated: Use TrainControlState_DriverKeySwitch.ProtoReflect.Descriptor instead.
|
// Deprecated: Use TrainControlState_DriverKeySwitch.ProtoReflect.Descriptor instead.
|
||||||
func (*TrainControlState_DriverKeySwitch) Descriptor() ([]byte, []int) {
|
func (*TrainControlState_DriverKeySwitch) Descriptor() ([]byte, []int) {
|
||||||
return file_device_state_proto_rawDescGZIP(), []int{35, 2}
|
return file_device_state_proto_rawDescGZIP(), []int{35, 1}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TrainControlState_DriverKeySwitch) GetId() uint32 {
|
func (x *TrainControlState_DriverKeySwitch) GetId() uint32 {
|
||||||
@ -5289,7 +5234,7 @@ type TrainControlState_DirectionKeySwitch struct {
|
|||||||
func (x *TrainControlState_DirectionKeySwitch) Reset() {
|
func (x *TrainControlState_DirectionKeySwitch) Reset() {
|
||||||
*x = TrainControlState_DirectionKeySwitch{}
|
*x = TrainControlState_DirectionKeySwitch{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_device_state_proto_msgTypes[44]
|
mi := &file_device_state_proto_msgTypes[43]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -5302,7 +5247,7 @@ func (x *TrainControlState_DirectionKeySwitch) String() string {
|
|||||||
func (*TrainControlState_DirectionKeySwitch) ProtoMessage() {}
|
func (*TrainControlState_DirectionKeySwitch) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *TrainControlState_DirectionKeySwitch) ProtoReflect() protoreflect.Message {
|
func (x *TrainControlState_DirectionKeySwitch) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_device_state_proto_msgTypes[44]
|
mi := &file_device_state_proto_msgTypes[43]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -5315,7 +5260,7 @@ func (x *TrainControlState_DirectionKeySwitch) ProtoReflect() protoreflect.Messa
|
|||||||
|
|
||||||
// Deprecated: Use TrainControlState_DirectionKeySwitch.ProtoReflect.Descriptor instead.
|
// Deprecated: Use TrainControlState_DirectionKeySwitch.ProtoReflect.Descriptor instead.
|
||||||
func (*TrainControlState_DirectionKeySwitch) Descriptor() ([]byte, []int) {
|
func (*TrainControlState_DirectionKeySwitch) Descriptor() ([]byte, []int) {
|
||||||
return file_device_state_proto_rawDescGZIP(), []int{35, 3}
|
return file_device_state_proto_rawDescGZIP(), []int{35, 2}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TrainControlState_DirectionKeySwitch) GetId() uint32 {
|
func (x *TrainControlState_DirectionKeySwitch) GetId() uint32 {
|
||||||
@ -5345,7 +5290,7 @@ type TrainControlState_PushHandler struct {
|
|||||||
func (x *TrainControlState_PushHandler) Reset() {
|
func (x *TrainControlState_PushHandler) Reset() {
|
||||||
*x = TrainControlState_PushHandler{}
|
*x = TrainControlState_PushHandler{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_device_state_proto_msgTypes[45]
|
mi := &file_device_state_proto_msgTypes[44]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@ -5358,7 +5303,7 @@ func (x *TrainControlState_PushHandler) String() string {
|
|||||||
func (*TrainControlState_PushHandler) ProtoMessage() {}
|
func (*TrainControlState_PushHandler) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *TrainControlState_PushHandler) ProtoReflect() protoreflect.Message {
|
func (x *TrainControlState_PushHandler) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_device_state_proto_msgTypes[45]
|
mi := &file_device_state_proto_msgTypes[44]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@ -5371,7 +5316,7 @@ func (x *TrainControlState_PushHandler) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use TrainControlState_PushHandler.ProtoReflect.Descriptor instead.
|
// Deprecated: Use TrainControlState_PushHandler.ProtoReflect.Descriptor instead.
|
||||||
func (*TrainControlState_PushHandler) Descriptor() ([]byte, []int) {
|
func (*TrainControlState_PushHandler) Descriptor() ([]byte, []int) {
|
||||||
return file_device_state_proto_rawDescGZIP(), []int{35, 4}
|
return file_device_state_proto_rawDescGZIP(), []int{35, 3}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TrainControlState_PushHandler) GetId() uint32 {
|
func (x *TrainControlState_PushHandler) GetId() uint32 {
|
||||||
@ -6301,7 +6246,7 @@ var file_device_state_proto_rawDesc = []byte{
|
|||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53,
|
||||||
0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61,
|
0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61,
|
||||||
0x72, 0x74, 0x79, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74,
|
0x72, 0x74, 0x79, 0x41, 0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74,
|
||||||
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xbb, 0x04, 0x0a, 0x11, 0x54,
|
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x81, 0x04, 0x0a, 0x11, 0x54,
|
||||||
0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65,
|
0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||||||
0x12, 0x40, 0x0a, 0x07, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
0x12, 0x40, 0x0a, 0x07, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||||
0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43,
|
0x0b, 0x32, 0x26, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43,
|
||||||
@ -6324,31 +6269,27 @@ var file_device_state_proto_rawDesc = []byte{
|
|||||||
0x6f, 0x6c, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
0x6f, 0x6c, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||||
0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73,
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73,
|
||||||
0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64,
|
0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64,
|
||||||
0x1a, 0x38, 0x0a, 0x0e, 0x45, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x74, 0x74,
|
0x1a, 0x33, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69,
|
||||||
0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02,
|
0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
||||||
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01,
|
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
||||||
0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x1a, 0x33, 0x0a, 0x0f, 0x44, 0x72,
|
0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a, 0x36, 0x0a, 0x12, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
|
||||||
0x69, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a,
|
0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a,
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76,
|
||||||
0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a,
|
0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a, 0x2f, 0x0a,
|
||||||
0x36, 0x0a, 0x12, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x53,
|
0x0b, 0x50, 0x75, 0x73, 0x68, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02,
|
||||||
0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
|
||||||
0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x2a, 0x37,
|
||||||
0x28, 0x0d, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a, 0x2f, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x48,
|
0x0a, 0x0b, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a,
|
||||||
0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
0x03, 0x41, 0x6e, 0x79, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x41, 0x78, 0x6c, 0x65, 0x10, 0x01,
|
||||||
0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20,
|
0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x63, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x2a, 0x37, 0x0a, 0x0b, 0x53, 0x65, 0x63, 0x74,
|
0x68, 0x79, 0x73, 0x69, 0x63, 0x10, 0x03, 0x42, 0x67, 0x0a, 0x25, 0x63, 0x6c, 0x75, 0x62, 0x2e,
|
||||||
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x6e, 0x79, 0x10, 0x00,
|
0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x62, 0x6a, 0x72, 0x74, 0x73, 0x73, 0x2e, 0x61,
|
||||||
0x12, 0x08, 0x0a, 0x04, 0x41, 0x78, 0x6c, 0x65, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f,
|
0x74, 0x73, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
|
||||||
0x67, 0x69, 0x63, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x10,
|
0x42, 0x10, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f,
|
||||||
0x03, 0x42, 0x67, 0x0a, 0x25, 0x63, 0x6c, 0x75, 0x62, 0x2e, 0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e,
|
0x74, 0x6f, 0x5a, 0x2c, 0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x63, 0x6c, 0x75, 0x62,
|
||||||
0x6b, 0x2e, 0x62, 0x6a, 0x72, 0x74, 0x73, 0x73, 0x2e, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x65, 0x72,
|
0x2f, 0x62, 0x6a, 0x2d, 0x72, 0x74, 0x73, 0x74, 0x73, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||||
0x69, 0x66, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x10, 0x44, 0x65, 0x76, 0x69,
|
0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||||
0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2c, 0x6a, 0x6f,
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
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, 0x73,
|
|
||||||
0x74, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
|
||||||
0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -6364,7 +6305,7 @@ func file_device_state_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_device_state_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
|
var file_device_state_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
|
||||||
var file_device_state_proto_msgTypes = make([]protoimpl.MessageInfo, 46)
|
var file_device_state_proto_msgTypes = make([]protoimpl.MessageInfo, 45)
|
||||||
var file_device_state_proto_goTypes = []interface{}{
|
var file_device_state_proto_goTypes = []interface{}{
|
||||||
(SectionType)(0), // 0: state.SectionType
|
(SectionType)(0), // 0: state.SectionType
|
||||||
(Signal_Aspect)(0), // 1: state.Signal.Aspect
|
(Signal_Aspect)(0), // 1: state.Signal.Aspect
|
||||||
@ -6414,32 +6355,31 @@ var file_device_state_proto_goTypes = []interface{}{
|
|||||||
(*VobcBtmState_VobcBtmHistoryState)(nil), // 45: state.VobcBtmState.VobcBtmHistoryState
|
(*VobcBtmState_VobcBtmHistoryState)(nil), // 45: state.VobcBtmState.VobcBtmHistoryState
|
||||||
(*StationQc_State)(nil), // 46: state.StationQc.State
|
(*StationQc_State)(nil), // 46: state.StationQc.State
|
||||||
(*TrainControlState_ControlButton)(nil), // 47: state.TrainControlState.ControlButton
|
(*TrainControlState_ControlButton)(nil), // 47: state.TrainControlState.ControlButton
|
||||||
(*TrainControlState_EmergentButton)(nil), // 48: state.TrainControlState.EmergentButton
|
(*TrainControlState_DriverKeySwitch)(nil), // 48: state.TrainControlState.DriverKeySwitch
|
||||||
(*TrainControlState_DriverKeySwitch)(nil), // 49: state.TrainControlState.DriverKeySwitch
|
(*TrainControlState_DirectionKeySwitch)(nil), // 49: state.TrainControlState.DirectionKeySwitch
|
||||||
(*TrainControlState_DirectionKeySwitch)(nil), // 50: state.TrainControlState.DirectionKeySwitch
|
(*TrainControlState_PushHandler)(nil), // 50: state.TrainControlState.PushHandler
|
||||||
(*TrainControlState_PushHandler)(nil), // 51: state.TrainControlState.PushHandler
|
(*request_proto.PointsParam)(nil), // 51: request.PointsParam
|
||||||
(*request_proto.PointsParam)(nil), // 52: request.PointsParam
|
(*request_proto.SignalParam)(nil), // 52: request.SignalParam
|
||||||
(*request_proto.SignalParam)(nil), // 53: request.SignalParam
|
(*common_proto.TrainDynamicConfig)(nil), // 53: common.TrainDynamicConfig
|
||||||
(*common_proto.TrainDynamicConfig)(nil), // 54: common.TrainDynamicConfig
|
(*common_proto.TrainEndsState)(nil), // 54: common.TrainEndsState
|
||||||
(*common_proto.TrainEndsState)(nil), // 55: common.TrainEndsState
|
(*request_proto.PsdParam)(nil), // 55: request.PsdParam
|
||||||
(*request_proto.PsdParam)(nil), // 56: request.PsdParam
|
(*data_proto.KilometerSystem)(nil), // 56: graphicData.KilometerSystem
|
||||||
(*data_proto.KilometerSystem)(nil), // 57: graphicData.KilometerSystem
|
(*request_proto.CkmParam)(nil), // 57: request.CkmParam
|
||||||
(*request_proto.CkmParam)(nil), // 58: request.CkmParam
|
(*request_proto.XcjParam)(nil), // 58: request.XcjParam
|
||||||
(*request_proto.XcjParam)(nil), // 59: request.XcjParam
|
|
||||||
}
|
}
|
||||||
var file_device_state_proto_depIdxs = []int32{
|
var file_device_state_proto_depIdxs = []int32{
|
||||||
52, // 0: state.SwitchState.param:type_name -> request.PointsParam
|
51, // 0: state.SwitchState.param:type_name -> request.PointsParam
|
||||||
1, // 1: state.SignalState.aspect:type_name -> state.Signal.Aspect
|
1, // 1: state.SignalState.aspect:type_name -> state.Signal.Aspect
|
||||||
53, // 2: state.SignalState.param:type_name -> request.SignalParam
|
52, // 2: state.SignalState.param:type_name -> request.SignalParam
|
||||||
42, // 3: state.SignalState.relayStateMap:type_name -> state.SignalState.RelayStateMapEntry
|
42, // 3: state.SignalState.relayStateMap:type_name -> state.SignalState.RelayStateMapEntry
|
||||||
23, // 4: state.PlatformState.spksState:type_name -> state.ReplyState
|
23, // 4: state.PlatformState.spksState:type_name -> state.ReplyState
|
||||||
30, // 5: state.PlatformState.mkxJState:type_name -> state.MkxJState
|
30, // 5: state.PlatformState.mkxJState:type_name -> state.MkxJState
|
||||||
2, // 6: state.TrainConnState.connType:type_name -> state.TrainConnState.TrainConnType
|
2, // 6: state.TrainConnState.connType:type_name -> state.TrainConnState.TrainConnType
|
||||||
17, // 7: state.TrainState.dynamicState:type_name -> state.TrainDynamicState
|
17, // 7: state.TrainState.dynamicState:type_name -> state.TrainDynamicState
|
||||||
18, // 8: state.TrainState.vobcState:type_name -> state.TrainVobcState
|
18, // 8: state.TrainState.vobcState:type_name -> state.TrainVobcState
|
||||||
54, // 9: state.TrainState.trainDynamicConfig:type_name -> common.TrainDynamicConfig
|
53, // 9: state.TrainState.trainDynamicConfig:type_name -> common.TrainDynamicConfig
|
||||||
55, // 10: state.TrainState.trainEndsA:type_name -> common.TrainEndsState
|
54, // 10: state.TrainState.trainEndsA:type_name -> common.TrainEndsState
|
||||||
55, // 11: state.TrainState.trainEndsB:type_name -> common.TrainEndsState
|
54, // 11: state.TrainState.trainEndsB:type_name -> common.TrainEndsState
|
||||||
20, // 12: state.TrainState.btmState:type_name -> state.BTMState
|
20, // 12: state.TrainState.btmState:type_name -> state.BTMState
|
||||||
41, // 13: state.TrainState.tcc:type_name -> state.TrainControlState
|
41, // 13: state.TrainState.tcc:type_name -> state.TrainControlState
|
||||||
13, // 14: state.TrainState.connState:type_name -> state.TrainConnState
|
13, // 14: state.TrainState.connState:type_name -> state.TrainConnState
|
||||||
@ -6453,13 +6393,13 @@ var file_device_state_proto_depIdxs = []int32{
|
|||||||
20, // 22: state.TrainMapState.btmState:type_name -> state.BTMState
|
20, // 22: state.TrainMapState.btmState:type_name -> state.BTMState
|
||||||
13, // 23: state.TrainMapState.connState:type_name -> state.TrainConnState
|
13, // 23: state.TrainMapState.connState:type_name -> state.TrainConnState
|
||||||
28, // 24: state.PsdState.asdStates:type_name -> state.AsdState
|
28, // 24: state.PsdState.asdStates:type_name -> state.AsdState
|
||||||
56, // 25: state.PsdState.param:type_name -> request.PsdParam
|
55, // 25: state.PsdState.param:type_name -> request.PsdParam
|
||||||
23, // 26: state.MkxJState.replyState:type_name -> state.ReplyState
|
23, // 26: state.MkxJState.replyState:type_name -> state.ReplyState
|
||||||
57, // 27: state.BaliseState.km:type_name -> graphicData.KilometerSystem
|
56, // 27: state.BaliseState.km:type_name -> graphicData.KilometerSystem
|
||||||
46, // 28: state.StationQc.qdStates:type_name -> state.StationQc.State
|
46, // 28: state.StationQc.qdStates:type_name -> state.StationQc.State
|
||||||
46, // 29: state.StationQc.cjStates:type_name -> state.StationQc.State
|
46, // 29: state.StationQc.cjStates:type_name -> state.StationQc.State
|
||||||
58, // 30: state.CkmState.param:type_name -> request.CkmParam
|
57, // 30: state.CkmState.param:type_name -> request.CkmParam
|
||||||
59, // 31: state.XcjState.param:type_name -> request.XcjParam
|
58, // 31: state.XcjState.param:type_name -> request.XcjParam
|
||||||
19, // 32: state.VariationStatus.updatedTrain:type_name -> state.TrainMapState
|
19, // 32: state.VariationStatus.updatedTrain:type_name -> state.TrainMapState
|
||||||
8, // 33: state.VariationStatus.updatedSwitch:type_name -> state.SwitchState
|
8, // 33: state.VariationStatus.updatedSwitch:type_name -> state.SwitchState
|
||||||
7, // 34: state.VariationStatus.updatedSection:type_name -> state.SectionState
|
7, // 34: state.VariationStatus.updatedSection:type_name -> state.SectionState
|
||||||
@ -6487,9 +6427,9 @@ var file_device_state_proto_depIdxs = []int32{
|
|||||||
4, // 56: state.SimulationThirdPartyApiServiceState.type:type_name -> state.SimulationThirdPartyApiService.Type
|
4, // 56: state.SimulationThirdPartyApiServiceState.type:type_name -> state.SimulationThirdPartyApiService.Type
|
||||||
5, // 57: state.SimulationThirdPartyApiServiceState.state:type_name -> state.SimulationThirdPartyApiService.State
|
5, // 57: state.SimulationThirdPartyApiServiceState.state:type_name -> state.SimulationThirdPartyApiService.State
|
||||||
47, // 58: state.TrainControlState.buttons:type_name -> state.TrainControlState.ControlButton
|
47, // 58: state.TrainControlState.buttons:type_name -> state.TrainControlState.ControlButton
|
||||||
49, // 59: state.TrainControlState.driverKey:type_name -> state.TrainControlState.DriverKeySwitch
|
48, // 59: state.TrainControlState.driverKey:type_name -> state.TrainControlState.DriverKeySwitch
|
||||||
50, // 60: state.TrainControlState.dirKey:type_name -> state.TrainControlState.DirectionKeySwitch
|
49, // 60: state.TrainControlState.dirKey:type_name -> state.TrainControlState.DirectionKeySwitch
|
||||||
51, // 61: state.TrainControlState.pushHandler:type_name -> state.TrainControlState.PushHandler
|
50, // 61: state.TrainControlState.pushHandler:type_name -> state.TrainControlState.PushHandler
|
||||||
45, // 62: state.VobcBtmState.HistoryEntry.value:type_name -> state.VobcBtmState.VobcBtmHistoryState
|
45, // 62: state.VobcBtmState.HistoryEntry.value:type_name -> state.VobcBtmState.VobcBtmHistoryState
|
||||||
63, // [63:63] is the sub-list for method output_type
|
63, // [63:63] is the sub-list for method output_type
|
||||||
63, // [63:63] is the sub-list for method input_type
|
63, // [63:63] is the sub-list for method input_type
|
||||||
@ -6985,18 +6925,6 @@ func file_device_state_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_device_state_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
file_device_state_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*TrainControlState_EmergentButton); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_device_state_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*TrainControlState_DriverKeySwitch); i {
|
switch v := v.(*TrainControlState_DriverKeySwitch); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -7008,7 +6936,7 @@ func file_device_state_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_device_state_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
file_device_state_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*TrainControlState_DirectionKeySwitch); i {
|
switch v := v.(*TrainControlState_DirectionKeySwitch); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -7020,7 +6948,7 @@ func file_device_state_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_device_state_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
file_device_state_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*TrainControlState_PushHandler); i {
|
switch v := v.(*TrainControlState_PushHandler); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@ -7039,7 +6967,7 @@ func file_device_state_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_device_state_proto_rawDesc,
|
RawDescriptor: file_device_state_proto_rawDesc,
|
||||||
NumEnums: 6,
|
NumEnums: 6,
|
||||||
NumMessages: 46,
|
NumMessages: 45,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user