2023-07-28 15:57:37 +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-07-28 15:57:37 +08:00
|
|
|
|
// protoc v4.23.1
|
|
|
|
|
// source: device_state.proto
|
|
|
|
|
|
2024-01-11 10:24:56 +08:00
|
|
|
|
package state_proto
|
2023-07-28 15:57:37 +08:00
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2024-01-17 17:54:30 +08:00
|
|
|
|
common_proto "joylink.club/bj-rtsts-server/dto/common_proto"
|
2024-01-11 10:24:56 +08:00
|
|
|
|
data_proto "joylink.club/bj-rtsts-server/dto/data_proto"
|
2024-01-18 14:11:47 +08:00
|
|
|
|
request_proto "joylink.club/bj-rtsts-server/dto/request_proto"
|
2023-07-28 15:57:37 +08:00
|
|
|
|
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 SectionType int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
SectionType_Any SectionType = 0
|
|
|
|
|
// 计轴区段
|
|
|
|
|
SectionType_Axle SectionType = 1
|
|
|
|
|
// 逻辑区段
|
|
|
|
|
SectionType_Logic SectionType = 2
|
|
|
|
|
// 物理区段
|
|
|
|
|
SectionType_Physic SectionType = 3
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for SectionType.
|
|
|
|
|
var (
|
|
|
|
|
SectionType_name = map[int32]string{
|
|
|
|
|
0: "Any",
|
|
|
|
|
1: "Axle",
|
|
|
|
|
2: "Logic",
|
|
|
|
|
3: "Physic",
|
|
|
|
|
}
|
|
|
|
|
SectionType_value = map[string]int32{
|
|
|
|
|
"Any": 0,
|
|
|
|
|
"Axle": 1,
|
|
|
|
|
"Logic": 2,
|
|
|
|
|
"Physic": 3,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x SectionType) Enum() *SectionType {
|
|
|
|
|
p := new(SectionType)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SectionType) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SectionType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_device_state_proto_enumTypes[0].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SectionType) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_device_state_proto_enumTypes[0]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SectionType) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SectionType.Descriptor instead.
|
|
|
|
|
func (SectionType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 信号机显示枚举
|
2023-10-13 14:41:55 +08:00
|
|
|
|
type Signal_Aspect int32
|
|
|
|
|
|
|
|
|
|
const (
|
2024-01-22 13:10:10 +08:00
|
|
|
|
// 灭灯
|
|
|
|
|
Signal_OFF Signal_Aspect = 0
|
|
|
|
|
// 红
|
|
|
|
|
Signal_H Signal_Aspect = 1
|
2023-10-13 14:41:55 +08:00
|
|
|
|
// 绿灯亮
|
2023-10-17 09:27:12 +08:00
|
|
|
|
Signal_L Signal_Aspect = 2
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 黄
|
2024-01-22 13:10:10 +08:00
|
|
|
|
Signal_U Signal_Aspect = 3
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 红黄
|
2024-01-22 13:10:10 +08:00
|
|
|
|
Signal_HU Signal_Aspect = 4
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 白
|
2024-01-22 13:10:10 +08:00
|
|
|
|
Signal_B Signal_Aspect = 5
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 蓝
|
2024-01-22 13:10:10 +08:00
|
|
|
|
Signal_A Signal_Aspect = 6
|
2023-10-13 14:41:55 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for Signal_Aspect.
|
|
|
|
|
var (
|
|
|
|
|
Signal_Aspect_name = map[int32]string{
|
2024-01-22 13:10:10 +08:00
|
|
|
|
0: "OFF",
|
|
|
|
|
1: "H",
|
2023-10-17 09:27:12 +08:00
|
|
|
|
2: "L",
|
2024-01-22 13:10:10 +08:00
|
|
|
|
3: "U",
|
|
|
|
|
4: "HU",
|
|
|
|
|
5: "B",
|
|
|
|
|
6: "A",
|
2023-10-13 14:41:55 +08:00
|
|
|
|
}
|
|
|
|
|
Signal_Aspect_value = map[string]int32{
|
2024-01-22 13:10:10 +08:00
|
|
|
|
"OFF": 0,
|
|
|
|
|
"H": 1,
|
2023-10-17 09:27:12 +08:00
|
|
|
|
"L": 2,
|
2024-01-22 13:10:10 +08:00
|
|
|
|
"U": 3,
|
|
|
|
|
"HU": 4,
|
|
|
|
|
"B": 5,
|
|
|
|
|
"A": 6,
|
2023-10-13 14:41:55 +08:00
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x Signal_Aspect) Enum() *Signal_Aspect {
|
|
|
|
|
p := new(Signal_Aspect)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x Signal_Aspect) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (Signal_Aspect) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_device_state_proto_enumTypes[1].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (Signal_Aspect) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_device_state_proto_enumTypes[1]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x Signal_Aspect) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use Signal_Aspect.Descriptor instead.
|
|
|
|
|
func (Signal_Aspect) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{4, 0}
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-15 16:03:47 +08:00
|
|
|
|
type TrainConnState_TrainConnType int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
TrainConnState_NONE TrainConnState_TrainConnType = 0 //未知连接
|
|
|
|
|
TrainConnState_VOBC TrainConnState_TrainConnType = 1 //半实物
|
|
|
|
|
TrainConnState_PC_SIM TrainConnState_TrainConnType = 2 //PC仿真
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for TrainConnState_TrainConnType.
|
|
|
|
|
var (
|
|
|
|
|
TrainConnState_TrainConnType_name = map[int32]string{
|
|
|
|
|
0: "NONE",
|
|
|
|
|
1: "VOBC",
|
|
|
|
|
2: "PC_SIM",
|
|
|
|
|
}
|
|
|
|
|
TrainConnState_TrainConnType_value = map[string]int32{
|
|
|
|
|
"NONE": 0,
|
|
|
|
|
"VOBC": 1,
|
|
|
|
|
"PC_SIM": 2,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x TrainConnState_TrainConnType) Enum() *TrainConnState_TrainConnType {
|
|
|
|
|
p := new(TrainConnState_TrainConnType)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x TrainConnState_TrainConnType) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (TrainConnState_TrainConnType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
|
return file_device_state_proto_enumTypes[2].Descriptor()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (TrainConnState_TrainConnType) Type() protoreflect.EnumType {
|
|
|
|
|
return &file_device_state_proto_enumTypes[2]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x TrainConnState_TrainConnType) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use TrainConnState_TrainConnType.Descriptor instead.
|
|
|
|
|
func (TrainConnState_TrainConnType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{7, 0}
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-27 14:57:37 +08:00
|
|
|
|
type SimulationStatus_SimulationState int32
|
|
|
|
|
|
|
|
|
|
const (
|
2024-01-23 09:37:31 +08:00
|
|
|
|
SimulationStatus_Init SimulationStatus_SimulationState = 0
|
|
|
|
|
SimulationStatus_Running SimulationStatus_SimulationState = 1
|
|
|
|
|
SimulationStatus_Pause SimulationStatus_SimulationState = 2
|
|
|
|
|
SimulationStatus_Error SimulationStatus_SimulationState = 3
|
|
|
|
|
SimulationStatus_Destroy SimulationStatus_SimulationState = 4
|
2023-10-27 14:57:37 +08:00
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for SimulationStatus_SimulationState.
|
|
|
|
|
var (
|
|
|
|
|
SimulationStatus_SimulationState_name = map[int32]string{
|
2024-01-23 09:37:31 +08:00
|
|
|
|
0: "Init",
|
|
|
|
|
1: "Running",
|
|
|
|
|
2: "Pause",
|
|
|
|
|
3: "Error",
|
|
|
|
|
4: "Destroy",
|
2023-10-27 14:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
SimulationStatus_SimulationState_value = map[string]int32{
|
2024-01-23 09:37:31 +08:00
|
|
|
|
"Init": 0,
|
|
|
|
|
"Running": 1,
|
|
|
|
|
"Pause": 2,
|
|
|
|
|
"Error": 3,
|
|
|
|
|
"Destroy": 4,
|
2023-10-27 14:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x SimulationStatus_SimulationState) Enum() *SimulationStatus_SimulationState {
|
|
|
|
|
p := new(SimulationStatus_SimulationState)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationStatus_SimulationState) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationStatus_SimulationState) Descriptor() protoreflect.EnumDescriptor {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_enumTypes[3].Descriptor()
|
2023-10-27 14:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationStatus_SimulationState) Type() protoreflect.EnumType {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return &file_device_state_proto_enumTypes[3]
|
2023-10-27 14:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationStatus_SimulationState) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SimulationStatus_SimulationState.Descriptor instead.
|
|
|
|
|
func (SimulationStatus_SimulationState) EnumDescriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{28, 0}
|
2023-10-27 14:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-22 13:10:10 +08:00
|
|
|
|
type SimulationThirdPartyApiService_Type int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// 未定义
|
|
|
|
|
SimulationThirdPartyApiService_Undefined SimulationThirdPartyApiService_Type = 0
|
|
|
|
|
// 与动力学接口服务
|
|
|
|
|
SimulationThirdPartyApiService_Dynamics SimulationThirdPartyApiService_Type = 1
|
|
|
|
|
// 与半实物列车接口服务
|
|
|
|
|
SimulationThirdPartyApiService_SemiPhysicalTrain SimulationThirdPartyApiService_Type = 2
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for SimulationThirdPartyApiService_Type.
|
|
|
|
|
var (
|
|
|
|
|
SimulationThirdPartyApiService_Type_name = map[int32]string{
|
|
|
|
|
0: "Undefined",
|
|
|
|
|
1: "Dynamics",
|
|
|
|
|
2: "SemiPhysicalTrain",
|
|
|
|
|
}
|
|
|
|
|
SimulationThirdPartyApiService_Type_value = map[string]int32{
|
|
|
|
|
"Undefined": 0,
|
|
|
|
|
"Dynamics": 1,
|
|
|
|
|
"SemiPhysicalTrain": 2,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_Type) Enum() *SimulationThirdPartyApiService_Type {
|
|
|
|
|
p := new(SimulationThirdPartyApiService_Type)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_Type) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationThirdPartyApiService_Type) Descriptor() protoreflect.EnumDescriptor {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_enumTypes[4].Descriptor()
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationThirdPartyApiService_Type) Type() protoreflect.EnumType {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return &file_device_state_proto_enumTypes[4]
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_Type) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SimulationThirdPartyApiService_Type.Descriptor instead.
|
|
|
|
|
func (SimulationThirdPartyApiService_Type) EnumDescriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{29, 0}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 服务状态
|
|
|
|
|
type SimulationThirdPartyApiService_State int32
|
|
|
|
|
|
|
|
|
|
const (
|
|
|
|
|
// 服务正常
|
|
|
|
|
SimulationThirdPartyApiService_Normal SimulationThirdPartyApiService_State = 0
|
|
|
|
|
// 服务异常
|
|
|
|
|
SimulationThirdPartyApiService_Error SimulationThirdPartyApiService_State = 1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Enum value maps for SimulationThirdPartyApiService_State.
|
|
|
|
|
var (
|
|
|
|
|
SimulationThirdPartyApiService_State_name = map[int32]string{
|
|
|
|
|
0: "Normal",
|
|
|
|
|
1: "Error",
|
|
|
|
|
}
|
|
|
|
|
SimulationThirdPartyApiService_State_value = map[string]int32{
|
|
|
|
|
"Normal": 0,
|
|
|
|
|
"Error": 1,
|
|
|
|
|
}
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_State) Enum() *SimulationThirdPartyApiService_State {
|
|
|
|
|
p := new(SimulationThirdPartyApiService_State)
|
|
|
|
|
*p = x
|
|
|
|
|
return p
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_State) String() string {
|
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationThirdPartyApiService_State) Descriptor() protoreflect.EnumDescriptor {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_enumTypes[5].Descriptor()
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (SimulationThirdPartyApiService_State) Type() protoreflect.EnumType {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return &file_device_state_proto_enumTypes[5]
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x SimulationThirdPartyApiService_State) Number() protoreflect.EnumNumber {
|
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use SimulationThirdPartyApiService_State.Descriptor instead.
|
|
|
|
|
func (SimulationThirdPartyApiService_State) EnumDescriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{29, 1}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 相邻端点定义的link的状态
|
|
|
|
|
type LinkState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// link索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// link上的列车id列表
|
|
|
|
|
TrainId []string `protobuf:"bytes,2,rep,name=trainId,proto3" json:"trainId,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *LinkState) Reset() {
|
|
|
|
|
*x = LinkState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[0]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *LinkState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*LinkState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *LinkState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_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 LinkState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*LinkState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{0}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *LinkState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *LinkState) GetTrainId() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainId
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 区段状态
|
|
|
|
|
type SectionState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 区段索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 区段占用
|
|
|
|
|
// true-占用;false-出清
|
|
|
|
|
Occupied bool `protobuf:"varint,3,opt,name=occupied,proto3" json:"occupied,omitempty"`
|
2023-11-01 11:18:09 +08:00
|
|
|
|
// 计轴故障
|
|
|
|
|
AxleFault bool `protobuf:"varint,4,opt,name=axleFault,proto3" json:"axleFault,omitempty"`
|
2024-01-23 09:37:31 +08:00
|
|
|
|
// 计轴复位
|
|
|
|
|
AxleDrst bool `protobuf:"varint,5,opt,name=axleDrst,proto3" json:"axleDrst,omitempty"`
|
|
|
|
|
// 计轴预复位
|
|
|
|
|
AxlePdrst bool `protobuf:"varint,6,opt,name=axlePdrst,proto3" json:"axlePdrst,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SectionState) Reset() {
|
|
|
|
|
*x = SectionState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[1]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SectionState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SectionState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SectionState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_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 SectionState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SectionState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{1}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *SectionState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-01 11:18:09 +08:00
|
|
|
|
func (x *SectionState) GetOccupied() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-11-01 11:18:09 +08:00
|
|
|
|
return x.Occupied
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-11-01 11:18:09 +08:00
|
|
|
|
return false
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-01 11:18:09 +08:00
|
|
|
|
func (x *SectionState) GetAxleFault() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-11-01 11:18:09 +08:00
|
|
|
|
return x.AxleFault
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-23 09:37:31 +08:00
|
|
|
|
func (x *SectionState) GetAxleDrst() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AxleDrst
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SectionState) GetAxlePdrst() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AxlePdrst
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 道岔状态
|
|
|
|
|
type SwitchState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 道岔索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-10-07 15:59:22 +08:00
|
|
|
|
// 道岔处于定位(表示)
|
2023-07-28 15:57:37 +08:00
|
|
|
|
Normal bool `protobuf:"varint,2,opt,name=normal,proto3" json:"normal,omitempty"`
|
2023-10-07 15:59:22 +08:00
|
|
|
|
// 道岔处于反位(表示)
|
2023-07-28 15:57:37 +08:00
|
|
|
|
Reverse bool `protobuf:"varint,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
|
2023-10-07 15:59:22 +08:00
|
|
|
|
// 道岔处于定位(实际)
|
|
|
|
|
Dw bool `protobuf:"varint,4,opt,name=dw,proto3" json:"dw,omitempty"`
|
|
|
|
|
// 道岔处于反位(实际)
|
|
|
|
|
Fw bool `protobuf:"varint,5,opt,name=fw,proto3" json:"fw,omitempty"`
|
2024-01-18 14:11:47 +08:00
|
|
|
|
// 道岔设置参数
|
|
|
|
|
Param *request_proto.PointsParam `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"`
|
2023-10-31 16:28:07 +08:00
|
|
|
|
// 定操驱动
|
2024-01-18 14:11:47 +08:00
|
|
|
|
Qdc bool `protobuf:"varint,7,opt,name=qdc,proto3" json:"qdc,omitempty"`
|
2023-10-31 16:28:07 +08:00
|
|
|
|
// 反操驱动
|
2024-01-18 14:11:47 +08:00
|
|
|
|
Qfc bool `protobuf:"varint,8,opt,name=qfc,proto3" json:"qfc,omitempty"`
|
2023-10-31 16:28:07 +08:00
|
|
|
|
// 允许操驱动
|
2024-01-18 14:11:47 +08:00
|
|
|
|
Qyc bool `protobuf:"varint,9,opt,name=qyc,proto3" json:"qyc,omitempty"`
|
|
|
|
|
// 定操采集
|
|
|
|
|
Dc bool `protobuf:"varint,10,opt,name=dc,proto3" json:"dc,omitempty"`
|
|
|
|
|
// 反操采集
|
|
|
|
|
Fc bool `protobuf:"varint,11,opt,name=fc,proto3" json:"fc,omitempty"`
|
|
|
|
|
// 允许操作采集
|
|
|
|
|
Yc bool `protobuf:"varint,12,opt,name=yc,proto3" json:"yc,omitempty"`
|
2023-11-09 18:13:32 +08:00
|
|
|
|
// 是否占用
|
2024-01-18 14:11:47 +08:00
|
|
|
|
Occupied bool `protobuf:"varint,13,opt,name=occupied,proto3" json:"occupied,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) Reset() {
|
|
|
|
|
*x = SwitchState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[2]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SwitchState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_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 SwitchState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SwitchState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{2}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *SwitchState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetNormal() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Normal
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetReverse() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Reverse
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-07 15:59:22 +08:00
|
|
|
|
func (x *SwitchState) GetDw() bool {
|
2023-09-27 14:55:26 +08:00
|
|
|
|
if x != nil {
|
2023-10-07 15:59:22 +08:00
|
|
|
|
return x.Dw
|
2023-09-27 14:55:26 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-07 15:59:22 +08:00
|
|
|
|
func (x *SwitchState) GetFw() bool {
|
2023-10-07 10:57:16 +08:00
|
|
|
|
if x != nil {
|
2023-10-07 15:59:22 +08:00
|
|
|
|
return x.Fw
|
2023-10-07 10:57:16 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 14:11:47 +08:00
|
|
|
|
func (x *SwitchState) GetParam() *request_proto.PointsParam {
|
2023-10-31 16:28:07 +08:00
|
|
|
|
if x != nil {
|
2024-01-18 14:11:47 +08:00
|
|
|
|
return x.Param
|
2023-10-31 16:28:07 +08:00
|
|
|
|
}
|
2024-01-18 14:11:47 +08:00
|
|
|
|
return nil
|
2023-10-31 16:28:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetQdc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Qdc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetQfc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Qfc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetQyc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Qyc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetDc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Dc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetFc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Fc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SwitchState) GetYc() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Yc
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-09 18:13:32 +08:00
|
|
|
|
func (x *SwitchState) GetOccupied() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Occupied
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 信号机状态
|
|
|
|
|
type SignalState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 信号机索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 信号机的灯列表
|
2023-10-16 11:16:09 +08:00
|
|
|
|
Aspect Signal_Aspect `protobuf:"varint,2,opt,name=aspect,proto3,enum=state.Signal_Aspect" json:"aspect,omitempty"`
|
2024-01-18 14:11:47 +08:00
|
|
|
|
// 信号机设置参数
|
|
|
|
|
Param *request_proto.SignalParam `protobuf:"bytes,3,opt,name=param,proto3" json:"param,omitempty"`
|
|
|
|
|
// 信号机继电器状态
|
|
|
|
|
RelayStateMap map[string]bool `protobuf:"bytes,4,rep,name=relayStateMap,proto3" json:"relayStateMap,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SignalState) Reset() {
|
|
|
|
|
*x = SignalState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[3]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SignalState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SignalState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SignalState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_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 SignalState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SignalState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{3}
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *SignalState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-10-16 11:16:09 +08:00
|
|
|
|
func (x *SignalState) GetAspect() Signal_Aspect {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
if x != nil {
|
2023-10-16 11:16:09 +08:00
|
|
|
|
return x.Aspect
|
2023-10-13 14:41:55 +08:00
|
|
|
|
}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
return Signal_OFF
|
2023-10-13 14:41:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 14:11:47 +08:00
|
|
|
|
func (x *SignalState) GetParam() *request_proto.SignalParam {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Param
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SignalState) GetRelayStateMap() map[string]bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RelayStateMap
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 信号机显示定义
|
2023-10-13 14:41:55 +08:00
|
|
|
|
type Signal struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *Signal) Reset() {
|
|
|
|
|
*x = Signal{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[4]
|
|
|
|
|
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_device_state_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 Signal.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*Signal) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{4}
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 站台状态
|
|
|
|
|
type PlatformState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 站台索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-11-06 17:15:00 +08:00
|
|
|
|
// EMP继电器状态
|
|
|
|
|
Empj bool `protobuf:"varint,2,opt,name=empj,proto3" json:"empj,omitempty"`
|
|
|
|
|
// SPKS继电器状态
|
2023-11-07 09:22:46 +08:00
|
|
|
|
SpksState []*ReplyState `protobuf:"bytes,3,rep,name=spksState,proto3" json:"spksState,omitempty"`
|
|
|
|
|
// 门控箱继电器状态
|
2023-11-08 11:27:42 +08:00
|
|
|
|
MkxJState *MkxJState `protobuf:"bytes,4,opt,name=mkxJState,proto3" json:"mkxJState,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PlatformState) Reset() {
|
|
|
|
|
*x = PlatformState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[5]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PlatformState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*PlatformState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *PlatformState) ProtoReflect() protoreflect.Message {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[5]
|
2023-07-28 15:57: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 PlatformState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*PlatformState) Descriptor() ([]byte, []int) {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{5}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *PlatformState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-06 17:15:00 +08:00
|
|
|
|
func (x *PlatformState) GetEmpj() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Empj
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *PlatformState) GetSpksState() []*ReplyState {
|
2023-11-06 17:15:00 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SpksState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-08 11:27:42 +08:00
|
|
|
|
func (x *PlatformState) GetMkxJState() *MkxJState {
|
2023-11-07 09:22:46 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MkxJState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 车站状态
|
|
|
|
|
type StationState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 车站索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationState) Reset() {
|
|
|
|
|
*x = StationState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[6]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StationState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StationState) ProtoReflect() protoreflect.Message {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[6]
|
2023-07-28 15:57: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 StationState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StationState) Descriptor() ([]byte, []int) {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{6}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *StationState) GetId() uint32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-03-15 16:03:47 +08:00
|
|
|
|
// 列车连接状态
|
|
|
|
|
type TrainConnState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Conn bool `protobuf:"varint,1,opt,name=conn,proto3" json:"conn,omitempty"`
|
|
|
|
|
ConnType TrainConnState_TrainConnType `protobuf:"varint,2,opt,name=connType,proto3,enum=state.TrainConnState_TrainConnType" json:"connType,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainConnState) Reset() {
|
|
|
|
|
*x = TrainConnState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[7]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainConnState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainConnState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainConnState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_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 TrainConnState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainConnState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainConnState) GetConn() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Conn
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainConnState) GetConnType() TrainConnState_TrainConnType {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ConnType
|
|
|
|
|
}
|
|
|
|
|
return TrainConnState_NONE
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 列车状态
|
|
|
|
|
type TrainState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 列车索引
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-08-25 16:09:04 +08:00
|
|
|
|
// 列车初始link运行方向
|
2023-07-28 15:57:37 +08:00
|
|
|
|
Up bool `protobuf:"varint,2,opt,name=up,proto3" json:"up,omitempty"`
|
2023-08-25 16:09:04 +08:00
|
|
|
|
// 列车初始速度
|
|
|
|
|
Speed float32 `protobuf:"fixed32,3,opt,name=speed,proto3" json:"speed,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 列车长度,1=1mm
|
2023-08-25 16:09:04 +08:00
|
|
|
|
TrainLength int64 `protobuf:"varint,4,opt,name=trainLength,proto3" json:"trainLength,omitempty"`
|
2024-03-11 16:15:02 +08:00
|
|
|
|
// 列车是否显示(此状态仅在列车被删除时为false,若需更改用途需增加列车被删除状态)
|
2023-08-25 16:09:04 +08:00
|
|
|
|
Show bool `protobuf:"varint,5,opt,name=show,proto3" json:"show,omitempty"`
|
2023-08-10 14:18:55 +08:00
|
|
|
|
// 列车车头所在设备ID
|
2023-12-14 13:04:48 +08:00
|
|
|
|
HeadDeviceId uint32 `protobuf:"varint,6,opt,name=headDeviceId,proto3" json:"headDeviceId,omitempty"`
|
2023-08-10 14:18:55 +08:00
|
|
|
|
// 列车车头所在设备偏移量
|
2023-08-25 16:09:04 +08:00
|
|
|
|
HeadOffset int64 `protobuf:"varint,7,opt,name=headOffset,proto3" json:"headOffset,omitempty"`
|
2023-08-10 14:18:55 +08:00
|
|
|
|
// 设备端口
|
2023-08-25 16:09:04 +08:00
|
|
|
|
DevicePort string `protobuf:"bytes,8,opt,name=devicePort,proto3" json:"devicePort,omitempty"`
|
2023-08-14 16:27:03 +08:00
|
|
|
|
// 运行方向指向(区段:A-B,道岔:-> 岔心)
|
2023-08-25 16:09:04 +08:00
|
|
|
|
PointTo bool `protobuf:"varint,9,opt,name=pointTo,proto3" json:"pointTo,omitempty"`
|
2023-08-14 16:27:03 +08:00
|
|
|
|
// 运行上下行(公里标 上行:小 -> 大,下行:大 -> 小)
|
2023-08-25 16:09:04 +08:00
|
|
|
|
RunDirection bool `protobuf:"varint,10,opt,name=runDirection,proto3" json:"runDirection,omitempty"`
|
2023-08-23 15:33:07 +08:00
|
|
|
|
// 列车车头方向
|
2023-08-25 16:09:04 +08:00
|
|
|
|
HeadDirection bool `protobuf:"varint,11,opt,name=headDirection,proto3" json:"headDirection,omitempty"`
|
|
|
|
|
// 动力学信息
|
|
|
|
|
DynamicState *TrainDynamicState `protobuf:"bytes,12,opt,name=dynamicState,proto3" json:"dynamicState,omitempty"`
|
|
|
|
|
// 半实物信息
|
|
|
|
|
VobcState *TrainVobcState `protobuf:"bytes,13,opt,name=vobcState,proto3" json:"vobcState,omitempty"`
|
2023-09-12 16:33:31 +08:00
|
|
|
|
// 所在公里标
|
|
|
|
|
TrainKilometer int64 `protobuf:"varint,14,opt,name=trainKilometer,proto3" json:"trainKilometer,omitempty"`
|
2023-10-18 14:56:24 +08:00
|
|
|
|
// 控制响应延时
|
|
|
|
|
ControlDelayTime int64 `protobuf:"varint,15,opt,name=controlDelayTime,proto3" json:"controlDelayTime,omitempty"`
|
2023-11-13 14:15:56 +08:00
|
|
|
|
// 列车轮径
|
|
|
|
|
WheelDiameter int32 `protobuf:"varint,16,opt,name=wheelDiameter,proto3" json:"wheelDiameter,omitempty"`
|
2024-01-17 17:54:30 +08:00
|
|
|
|
// 列车动力学配置
|
|
|
|
|
TrainDynamicConfig *common_proto.TrainDynamicConfig `protobuf:"bytes,17,opt,name=trainDynamicConfig,proto3" json:"trainDynamicConfig,omitempty"`
|
|
|
|
|
// 列车A端
|
|
|
|
|
TrainEndsA *common_proto.TrainEndsState `protobuf:"bytes,18,opt,name=trainEndsA,proto3" json:"trainEndsA,omitempty"`
|
|
|
|
|
// 列车B端
|
|
|
|
|
TrainEndsB *common_proto.TrainEndsState `protobuf:"bytes,19,opt,name=trainEndsB,proto3" json:"trainEndsB,omitempty"`
|
2024-02-06 18:00:39 +08:00
|
|
|
|
// 列车尾端所在设备ID
|
|
|
|
|
TailDeviceId uint32 `protobuf:"varint,20,opt,name=tailDeviceId,proto3" json:"tailDeviceId,omitempty"`
|
|
|
|
|
// 列车尾端所在设备偏移量
|
|
|
|
|
TailOffset int64 `protobuf:"varint,21,opt,name=tailOffset,proto3" json:"tailOffset,omitempty"`
|
2024-02-21 14:54:17 +08:00
|
|
|
|
// 列车尾端所在设备端口
|
|
|
|
|
TailDevicePort string `protobuf:"bytes,22,opt,name=tailDevicePort,proto3" json:"tailDevicePort,omitempty"`
|
2024-02-06 16:39:56 +08:00
|
|
|
|
// BTM状态
|
2024-03-19 08:28:50 +08:00
|
|
|
|
BtmState *BTMState `protobuf:"bytes,23,opt,name=btmState,proto3" json:"btmState,omitempty"`
|
|
|
|
|
Tcc *TrainControlState `protobuf:"bytes,24,opt,name=tcc,proto3" json:"tcc,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) Reset() {
|
|
|
|
|
*x = TrainState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
2023-07-28 15:57: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 TrainState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{8}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetUp() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Up
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetSpeed() float32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Speed
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetTrainLength() int64 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TrainLength
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetShow() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Show
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *TrainState) GetHeadDeviceId() uint32 {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadDeviceId
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetHeadOffset() int64 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadOffset
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetDevicePort() string {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.DevicePort
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return ""
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetPointTo() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.PointTo
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return false
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetRunDirection() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.RunDirection
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return false
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetHeadDirection() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadDirection
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetDynamicState() *TrainDynamicState {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.DynamicState
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return nil
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainState) GetVobcState() *TrainVobcState {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.VobcState
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-12 16:33:31 +08:00
|
|
|
|
func (x *TrainState) GetTrainKilometer() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainKilometer
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-18 14:56:24 +08:00
|
|
|
|
func (x *TrainState) GetControlDelayTime() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ControlDelayTime
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-13 14:15:56 +08:00
|
|
|
|
func (x *TrainState) GetWheelDiameter() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.WheelDiameter
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-17 17:54:30 +08:00
|
|
|
|
func (x *TrainState) GetTrainDynamicConfig() *common_proto.TrainDynamicConfig {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainDynamicConfig
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetTrainEndsA() *common_proto.TrainEndsState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainEndsA
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetTrainEndsB() *common_proto.TrainEndsState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainEndsB
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 18:00:39 +08:00
|
|
|
|
func (x *TrainState) GetTailDeviceId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailDeviceId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetTailOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailOffset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-21 14:54:17 +08:00
|
|
|
|
func (x *TrainState) GetTailDevicePort() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailDevicePort
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 16:39:56 +08:00
|
|
|
|
func (x *TrainState) GetBtmState() *BTMState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BtmState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 08:28:50 +08:00
|
|
|
|
func (x *TrainState) GetTcc() *TrainControlState {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
if x != nil {
|
2024-03-19 08:28:50 +08:00
|
|
|
|
return x.Tcc
|
2024-03-15 16:03:47 +08:00
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
// 动力学列车状态
|
|
|
|
|
type TrainDynamicState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 生命信号 每个周期+1
|
|
|
|
|
Heartbeat int32 `protobuf:"varint,1,opt,name=heartbeat,proto3" json:"heartbeat,omitempty"`
|
|
|
|
|
// 车头所在link的索引
|
|
|
|
|
HeadLinkId string `protobuf:"bytes,2,opt,name=headLinkId,proto3" json:"headLinkId,omitempty"`
|
|
|
|
|
// 车头所在link内的偏移量,单位为mm
|
|
|
|
|
HeadLinkOffset int64 `protobuf:"varint,3,opt,name=headLinkOffset,proto3" json:"headLinkOffset,omitempty"`
|
|
|
|
|
// 车尾所在link的索引
|
|
|
|
|
TailLinkId string `protobuf:"bytes,4,opt,name=tailLinkId,proto3" json:"tailLinkId,omitempty"`
|
|
|
|
|
// 车尾所在link内的偏移量,单位为mm
|
|
|
|
|
TailLinkOffset int64 `protobuf:"varint,5,opt,name=tailLinkOffset,proto3" json:"tailLinkOffset,omitempty"`
|
|
|
|
|
// 列车所占用的link的索引的列表
|
|
|
|
|
// 顺序为从车头到车尾
|
|
|
|
|
OccupiedLinkIndex []string `protobuf:"bytes,6,rep,name=occupiedLinkIndex,proto3" json:"occupiedLinkIndex,omitempty"`
|
|
|
|
|
// 列车所在位置坡度值,1=1‰
|
|
|
|
|
Slope int32 `protobuf:"varint,7,opt,name=slope,proto3" json:"slope,omitempty"`
|
|
|
|
|
// 列车所在位置坡度走势,1=上坡true,0=下坡false
|
|
|
|
|
Upslope bool `protobuf:"varint,8,opt,name=upslope,proto3" json:"upslope,omitempty"`
|
|
|
|
|
// 列车当前运行方向,1 =上行true 0 =下行false
|
|
|
|
|
RunningUp bool `protobuf:"varint,9,opt,name=runningUp,proto3" json:"runningUp,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 实际运行阻力(总)(N)totalResistance,1=1N
|
2023-08-25 16:09:04 +08:00
|
|
|
|
RunningResistanceSum float32 `protobuf:"fixed32,10,opt,name=runningResistanceSum,proto3" json:"runningResistanceSum,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 阻力1(空气阻力)(N)airResistance,1=1N
|
2023-08-25 16:09:04 +08:00
|
|
|
|
AirResistance float32 `protobuf:"fixed32,11,opt,name=airResistance,proto3" json:"airResistance,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 阻力2(坡道阻力)(N)slopeResistance,1=1N
|
2023-08-25 16:09:04 +08:00
|
|
|
|
RampResistance float32 `protobuf:"fixed32,12,opt,name=rampResistance,proto3" json:"rampResistance,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 阻力3(曲线阻力)(N)curveResistance,1=1N
|
2023-08-25 16:09:04 +08:00
|
|
|
|
CurveResistance float32 `protobuf:"fixed32,13,opt,name=curveResistance,proto3" json:"curveResistance,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 列车运行速度(m/s)speed,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
Speed int32 `protobuf:"varint,14,opt,name=speed,proto3" json:"speed,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 头车速传1速度值(m/s)headSpeed1,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
HeadSensorSpeed1 int32 `protobuf:"varint,15,opt,name=headSensorSpeed1,proto3" json:"headSensorSpeed1,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 头车速度2速度值(m/s)headSpeed2,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
HeadSensorSpeed2 int32 `protobuf:"varint,16,opt,name=headSensorSpeed2,proto3" json:"headSensorSpeed2,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 尾车速传1速度值(m/s)tailSpeed1,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
TailSensorSpeed1 int32 `protobuf:"varint,17,opt,name=tailSensorSpeed1,proto3" json:"tailSensorSpeed1,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 尾车速度2速度值(m/s)tailSpeed2,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
TailSensorSpeed2 int32 `protobuf:"varint,18,opt,name=tailSensorSpeed2,proto3" json:"tailSensorSpeed2,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 头车雷达速度值(m/s)headRadarSpeed,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
HeadRadarSpeed int32 `protobuf:"varint,19,opt,name=headRadarSpeed,proto3" json:"headRadarSpeed,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 尾车雷达速度值(m/s)tailRadarSpeed,1=1m/s 此处放置的是转换后的数据km/h
|
2023-09-05 15:12:11 +08:00
|
|
|
|
TailRadarSpeed int32 `protobuf:"varint,20,opt,name=tailRadarSpeed,proto3" json:"tailRadarSpeed,omitempty"`
|
2023-10-07 17:00:39 +08:00
|
|
|
|
// 通讯中断
|
2023-09-12 10:00:13 +08:00
|
|
|
|
UdpInterruption bool `protobuf:"varint,21,opt,name=udpInterruption,proto3" json:"udpInterruption,omitempty"`
|
2023-10-07 17:00:39 +08:00
|
|
|
|
// 加速
|
2024-01-17 17:54:30 +08:00
|
|
|
|
Acceleration float32 `protobuf:"fixed32,22,opt,name=acceleration,proto3" json:"acceleration,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 列车位移
|
|
|
|
|
Displacement int32 `protobuf:"varint,23,opt,name=Displacement,proto3" json:"Displacement,omitempty"`
|
2023-08-25 16:09:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) Reset() {
|
|
|
|
|
*x = TrainDynamicState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
2023-08-25 16:09:04 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (*TrainDynamicState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
2023-08-25 16:09:04 +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 TrainDynamicState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainDynamicState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{9}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) GetHeartbeat() int32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Heartbeat
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetHeadLinkId() string {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadLinkId
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return ""
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetHeadLinkOffset() int64 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadLinkOffset
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetTailLinkId() string {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TailLinkId
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return ""
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetTailLinkOffset() int64 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TailLinkOffset
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetOccupiedLinkIndex() []string {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.OccupiedLinkIndex
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return nil
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetSlope() int32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Slope
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetUpslope() bool {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Upslope
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) GetRunningUp() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RunningUp
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicState) GetRunningResistanceSum() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RunningResistanceSum
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetAirResistance() float32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.AirResistance
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetRampResistance() float32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.RampResistance
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-25 16:09:04 +08:00
|
|
|
|
func (x *TrainDynamicState) GetCurveResistance() float32 {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.CurveResistance
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetSpeed() int32 {
|
2023-08-02 15:50:46 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.Speed
|
2023-08-02 15:50:46 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-02 15:50:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetHeadSensorSpeed1() int32 {
|
2023-08-10 14:18:55 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadSensorSpeed1
|
2023-08-10 14:18:55 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-10 14:18:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetHeadSensorSpeed2() int32 {
|
2023-08-10 14:18:55 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadSensorSpeed2
|
2023-08-10 14:18:55 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetTailSensorSpeed1() int32 {
|
2023-08-10 14:18:55 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TailSensorSpeed1
|
2023-08-10 14:18:55 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-10 14:18:55 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetTailSensorSpeed2() int32 {
|
2023-08-14 16:27:03 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TailSensorSpeed2
|
2023-08-14 16:27:03 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-14 16:27:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetHeadRadarSpeed() int32 {
|
2023-08-14 16:27:03 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.HeadRadarSpeed
|
2023-08-14 16:27:03 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-14 16:27:03 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-05 15:12:11 +08:00
|
|
|
|
func (x *TrainDynamicState) GetTailRadarSpeed() int32 {
|
2023-08-23 15:33:07 +08:00
|
|
|
|
if x != nil {
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return x.TailRadarSpeed
|
2023-08-23 15:33:07 +08:00
|
|
|
|
}
|
2023-08-25 16:09:04 +08:00
|
|
|
|
return 0
|
2023-08-23 15:33:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-12 10:00:13 +08:00
|
|
|
|
func (x *TrainDynamicState) GetUdpInterruption() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UdpInterruption
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-07 17:00:39 +08:00
|
|
|
|
func (x *TrainDynamicState) GetAcceleration() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Acceleration
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-26 17:57:35 +08:00
|
|
|
|
func (x *TrainDynamicState) GetDisplacement() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Displacement
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-23 15:33:07 +08:00
|
|
|
|
// vobc发过来的列车信息
|
|
|
|
|
type TrainVobcState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 生命信号 每个周期+1
|
|
|
|
|
LifeSignal int32 `protobuf:"varint,1,opt,name=lifeSignal,proto3" json:"lifeSignal,omitempty"`
|
|
|
|
|
// TC1激活状态 1=激活
|
|
|
|
|
Tc1Active bool `protobuf:"varint,2,opt,name=tc1Active,proto3" json:"tc1Active,omitempty"`
|
|
|
|
|
// TC2激活状态 1=激活
|
|
|
|
|
Tc2Active bool `protobuf:"varint,3,opt,name=tc2Active,proto3" json:"tc2Active,omitempty"`
|
|
|
|
|
// 列车方向向前 1=方向向前
|
|
|
|
|
DirectionForward bool `protobuf:"varint,4,opt,name=directionForward,proto3" json:"directionForward,omitempty"`
|
|
|
|
|
// 列车方向向后 1=方向向后
|
|
|
|
|
DirectionBackward bool `protobuf:"varint,5,opt,name=directionBackward,proto3" json:"directionBackward,omitempty"`
|
|
|
|
|
// 列车牵引状态 1=牵引
|
|
|
|
|
TractionStatus bool `protobuf:"varint,6,opt,name=tractionStatus,proto3" json:"tractionStatus,omitempty"`
|
|
|
|
|
// 列车制动状态 1=制动
|
|
|
|
|
BrakingStatus bool `protobuf:"varint,7,opt,name=brakingStatus,proto3" json:"brakingStatus,omitempty"`
|
|
|
|
|
// 列车紧急制动状态 1=紧急制动
|
|
|
|
|
EmergencyBrakingStatus bool `protobuf:"varint,8,opt,name=emergencyBrakingStatus,proto3" json:"emergencyBrakingStatus,omitempty"`
|
|
|
|
|
// 列车折返状态(AR) 1=折返
|
|
|
|
|
TurnbackStatus bool `protobuf:"varint,9,opt,name=turnbackStatus,proto3" json:"turnbackStatus,omitempty"`
|
|
|
|
|
// 跳跃状态 1=跳跃
|
|
|
|
|
JumpStatus bool `protobuf:"varint,10,opt,name=jumpStatus,proto3" json:"jumpStatus,omitempty"`
|
|
|
|
|
// ATO模式 1=ATO模式
|
|
|
|
|
Ato bool `protobuf:"varint,11,opt,name=ato,proto3" json:"ato,omitempty"`
|
|
|
|
|
// FAM模式 1=FAM模式
|
|
|
|
|
Fam bool `protobuf:"varint,12,opt,name=fam,proto3" json:"fam,omitempty"`
|
|
|
|
|
// CAM模式 1=CAM模式
|
|
|
|
|
Cam bool `protobuf:"varint,13,opt,name=cam,proto3" json:"cam,omitempty"`
|
|
|
|
|
// 牵引安全回路 1=牵引安全切除
|
|
|
|
|
TractionSafetyCircuit bool `protobuf:"varint,14,opt,name=tractionSafetyCircuit,proto3" json:"tractionSafetyCircuit,omitempty"`
|
|
|
|
|
// 停放制动状态 1=停放施加
|
|
|
|
|
ParkingBrakeStatus bool `protobuf:"varint,15,opt,name=parkingBrakeStatus,proto3" json:"parkingBrakeStatus,omitempty"`
|
|
|
|
|
// 保持制动状态 1=保持制动施加
|
|
|
|
|
MaintainBrakeStatus bool `protobuf:"varint,16,opt,name=maintainBrakeStatus,proto3" json:"maintainBrakeStatus,omitempty"`
|
|
|
|
|
// 列车牵引力 100=1KN
|
|
|
|
|
TractionForce int64 `protobuf:"varint,17,opt,name=tractionForce,proto3" json:"tractionForce,omitempty"`
|
|
|
|
|
// 列车制动力 100=1KN
|
|
|
|
|
BrakeForce int64 `protobuf:"varint,18,opt,name=brakeForce,proto3" json:"brakeForce,omitempty"`
|
|
|
|
|
// 【列车载荷 100=1ton
|
|
|
|
|
TrainLoad int64 `protobuf:"varint,19,opt,name=trainLoad,proto3" json:"trainLoad,omitempty"`
|
|
|
|
|
// 列车开左门指令 1=开门
|
|
|
|
|
LeftDoorOpenCommand bool `protobuf:"varint,20,opt,name=leftDoorOpenCommand,proto3" json:"leftDoorOpenCommand,omitempty"`
|
|
|
|
|
// 列车开右门指令 1=开门
|
|
|
|
|
RightDoorOpenCommand bool `protobuf:"varint,21,opt,name=rightDoorOpenCommand,proto3" json:"rightDoorOpenCommand,omitempty"`
|
|
|
|
|
// 列车关左门指令 1=关门
|
|
|
|
|
LeftDoorCloseCommand bool `protobuf:"varint,22,opt,name=leftDoorCloseCommand,proto3" json:"leftDoorCloseCommand,omitempty"`
|
|
|
|
|
// 列车关右门指令 1=关门
|
|
|
|
|
RightDoorCloseCommand bool `protobuf:"varint,23,opt,name=rightDoorCloseCommand,proto3" json:"rightDoorCloseCommand,omitempty"`
|
|
|
|
|
// 整列车门关好 1=门关好
|
|
|
|
|
AllDoorClose bool `protobuf:"varint,24,opt,name=allDoorClose,proto3" json:"allDoorClose,omitempty"`
|
2023-10-07 17:00:39 +08:00
|
|
|
|
// 通讯中断
|
2023-09-12 10:00:13 +08:00
|
|
|
|
UdpInterruption bool `protobuf:"varint,25,opt,name=udpInterruption,proto3" json:"udpInterruption,omitempty"`
|
2023-10-17 18:19:31 +08:00
|
|
|
|
// 更新时间
|
|
|
|
|
UpdateTime int64 `protobuf:"varint,26,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
|
2023-08-23 15:33:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) Reset() {
|
|
|
|
|
*x = TrainVobcState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[10]
|
2023-08-23 15:33:07 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainVobcState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[10]
|
2023-08-23 15:33:07 +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 TrainVobcState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainVobcState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{10}
|
2023-08-23 15:33:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetLifeSignal() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LifeSignal
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTc1Active() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Tc1Active
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTc2Active() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Tc2Active
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetDirectionForward() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectionForward
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetDirectionBackward() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectionBackward
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTractionStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetBrakingStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BrakingStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetEmergencyBrakingStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.EmergencyBrakingStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTurnbackStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TurnbackStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetJumpStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.JumpStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetAto() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ato
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetFam() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Fam
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetCam() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Cam
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTractionSafetyCircuit() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionSafetyCircuit
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetParkingBrakeStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ParkingBrakeStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetMaintainBrakeStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MaintainBrakeStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTractionForce() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionForce
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetBrakeForce() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BrakeForce
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetTrainLoad() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainLoad
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetLeftDoorOpenCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LeftDoorOpenCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetRightDoorOpenCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RightDoorOpenCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetLeftDoorCloseCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LeftDoorCloseCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetRightDoorCloseCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RightDoorCloseCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) GetAllDoorClose() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AllDoorClose
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-12 10:00:13 +08:00
|
|
|
|
func (x *TrainVobcState) GetUdpInterruption() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UdpInterruption
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-17 18:19:31 +08:00
|
|
|
|
func (x *TrainVobcState) GetUpdateTime() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UpdateTime
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-12-15 09:48:42 +08:00
|
|
|
|
// 发给前端的列车状态
|
|
|
|
|
type TrainMapState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 列车索引
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
// 列车初始link运行方向
|
|
|
|
|
Up bool `protobuf:"varint,2,opt,name=up,proto3" json:"up,omitempty"`
|
|
|
|
|
// 列车初始速度
|
|
|
|
|
InitialSpeed float32 `protobuf:"fixed32,3,opt,name=initialSpeed,proto3" json:"initialSpeed,omitempty"`
|
|
|
|
|
// 列车长度,1=1mm
|
|
|
|
|
TrainLength int64 `protobuf:"varint,4,opt,name=trainLength,proto3" json:"trainLength,omitempty"`
|
|
|
|
|
// 列车是否显示
|
|
|
|
|
Show bool `protobuf:"varint,5,opt,name=show,proto3" json:"show,omitempty"`
|
|
|
|
|
// 列车车头所在设备ID
|
|
|
|
|
HeadDeviceId uint32 `protobuf:"varint,6,opt,name=headDeviceId,proto3" json:"headDeviceId,omitempty"`
|
|
|
|
|
// 列车车头所在设备偏移量
|
|
|
|
|
HeadOffset int64 `protobuf:"varint,7,opt,name=headOffset,proto3" json:"headOffset,omitempty"`
|
|
|
|
|
// 设备端口
|
|
|
|
|
DevicePort string `protobuf:"bytes,8,opt,name=devicePort,proto3" json:"devicePort,omitempty"`
|
|
|
|
|
// 运行方向指向(区段:A-B,道岔:-> 岔心)
|
|
|
|
|
PointTo bool `protobuf:"varint,9,opt,name=pointTo,proto3" json:"pointTo,omitempty"`
|
|
|
|
|
// 运行上下行(公里标 上行:小 -> 大,下行:大 -> 小)
|
|
|
|
|
RunDirection bool `protobuf:"varint,10,opt,name=runDirection,proto3" json:"runDirection,omitempty"`
|
|
|
|
|
// 列车车头方向
|
|
|
|
|
HeadDirection bool `protobuf:"varint,11,opt,name=headDirection,proto3" json:"headDirection,omitempty"`
|
|
|
|
|
// 所在公里标
|
|
|
|
|
TrainKilometer int64 `protobuf:"varint,12,opt,name=trainKilometer,proto3" json:"trainKilometer,omitempty"`
|
|
|
|
|
// 控制响应延时
|
|
|
|
|
ControlDelayTime int64 `protobuf:"varint,13,opt,name=controlDelayTime,proto3" json:"controlDelayTime,omitempty"`
|
|
|
|
|
// 列车轮径
|
|
|
|
|
WheelDiameter int32 `protobuf:"varint,14,opt,name=wheelDiameter,proto3" json:"wheelDiameter,omitempty"`
|
|
|
|
|
// 动力学信息
|
|
|
|
|
// 生命信号 每个周期+1
|
|
|
|
|
DynamicHeartbeat int32 `protobuf:"varint,15,opt,name=dynamicHeartbeat,proto3" json:"dynamicHeartbeat,omitempty"`
|
|
|
|
|
// 车头所在link的索引
|
|
|
|
|
HeadLinkId string `protobuf:"bytes,16,opt,name=headLinkId,proto3" json:"headLinkId,omitempty"`
|
|
|
|
|
// 车头所在link内的偏移量,单位为mm
|
|
|
|
|
HeadLinkOffset int64 `protobuf:"varint,17,opt,name=headLinkOffset,proto3" json:"headLinkOffset,omitempty"`
|
|
|
|
|
// 车尾所在link的索引
|
|
|
|
|
TailLinkId string `protobuf:"bytes,18,opt,name=tailLinkId,proto3" json:"tailLinkId,omitempty"`
|
|
|
|
|
// 车尾所在link内的偏移量,单位为mm
|
|
|
|
|
TailLinkOffset int64 `protobuf:"varint,19,opt,name=tailLinkOffset,proto3" json:"tailLinkOffset,omitempty"`
|
|
|
|
|
// 列车所占用的link的索引的列表
|
|
|
|
|
// 顺序为从车头到车尾
|
|
|
|
|
OccupiedLinkIndex []string `protobuf:"bytes,20,rep,name=occupiedLinkIndex,proto3" json:"occupiedLinkIndex,omitempty"`
|
|
|
|
|
// 列车所在位置坡度值,1=1‰
|
|
|
|
|
Slope int32 `protobuf:"varint,21,opt,name=slope,proto3" json:"slope,omitempty"`
|
|
|
|
|
// 列车所在位置坡度走势,1=上坡true,0=下坡false
|
|
|
|
|
Upslope bool `protobuf:"varint,22,opt,name=upslope,proto3" json:"upslope,omitempty"`
|
|
|
|
|
// 列车当前运行方向,1 =上行true 0 =下行false
|
|
|
|
|
RunningUp bool `protobuf:"varint,23,opt,name=runningUp,proto3" json:"runningUp,omitempty"`
|
|
|
|
|
// 实际运行阻力(总)(N)totalResistance,1=1KN
|
|
|
|
|
RunningResistanceSum float32 `protobuf:"fixed32,24,opt,name=runningResistanceSum,proto3" json:"runningResistanceSum,omitempty"`
|
|
|
|
|
// 阻力1(空气阻力)(N)airResistance,1=1KN
|
|
|
|
|
AirResistance float32 `protobuf:"fixed32,25,opt,name=airResistance,proto3" json:"airResistance,omitempty"`
|
|
|
|
|
// 阻力2(坡道阻力)(N)slopeResistance,1=1KN
|
|
|
|
|
RampResistance float32 `protobuf:"fixed32,26,opt,name=rampResistance,proto3" json:"rampResistance,omitempty"`
|
|
|
|
|
// 阻力3(曲线阻力)(N)curveResistance,1=1KN
|
|
|
|
|
CurveResistance float32 `protobuf:"fixed32,27,opt,name=curveResistance,proto3" json:"curveResistance,omitempty"`
|
|
|
|
|
// 列车运行速度(m/s)speed,1=1km/h
|
|
|
|
|
Speed int32 `protobuf:"varint,28,opt,name=speed,proto3" json:"speed,omitempty"`
|
|
|
|
|
// 头车速传1速度值(m/s)headSpeed1,1=1km/h
|
|
|
|
|
HeadSensorSpeed1 int32 `protobuf:"varint,29,opt,name=headSensorSpeed1,proto3" json:"headSensorSpeed1,omitempty"`
|
|
|
|
|
// 头车速度2速度值(m/s)headSpeed2,1=1km/h
|
|
|
|
|
HeadSensorSpeed2 int32 `protobuf:"varint,30,opt,name=headSensorSpeed2,proto3" json:"headSensorSpeed2,omitempty"`
|
|
|
|
|
// 尾车速传1速度值(m/s)tailSpeed1,1=1km/h
|
|
|
|
|
TailSensorSpeed1 int32 `protobuf:"varint,31,opt,name=tailSensorSpeed1,proto3" json:"tailSensorSpeed1,omitempty"`
|
|
|
|
|
// 尾车速度2速度值(m/s)tailSpeed2,1=1km/h
|
|
|
|
|
TailSensorSpeed2 int32 `protobuf:"varint,32,opt,name=tailSensorSpeed2,proto3" json:"tailSensorSpeed2,omitempty"`
|
|
|
|
|
// 头车雷达速度值(m/s)headRadarSpeed,1=1km/h
|
|
|
|
|
HeadRadarSpeed int32 `protobuf:"varint,33,opt,name=headRadarSpeed,proto3" json:"headRadarSpeed,omitempty"`
|
|
|
|
|
// 尾车雷达速度值(m/s)tailRadarSpeed,1=1km/h
|
|
|
|
|
TailRadarSpeed int32 `protobuf:"varint,34,opt,name=tailRadarSpeed,proto3" json:"tailRadarSpeed,omitempty"`
|
|
|
|
|
// 通讯中断
|
|
|
|
|
DynamicInterruption bool `protobuf:"varint,35,opt,name=dynamicInterruption,proto3" json:"dynamicInterruption,omitempty"`
|
|
|
|
|
// 加速
|
|
|
|
|
Acceleration float32 `protobuf:"fixed32,36,opt,name=acceleration,proto3" json:"acceleration,omitempty"`
|
|
|
|
|
// 半实物信息
|
|
|
|
|
// 生命信号 每个周期+1
|
|
|
|
|
VobcLifeSignal int32 `protobuf:"varint,37,opt,name=vobcLifeSignal,proto3" json:"vobcLifeSignal,omitempty"`
|
|
|
|
|
// TC1激活状态 1=激活
|
|
|
|
|
Tc1Active bool `protobuf:"varint,38,opt,name=tc1Active,proto3" json:"tc1Active,omitempty"`
|
|
|
|
|
// TC2激活状态 1=激活
|
|
|
|
|
Tc2Active bool `protobuf:"varint,39,opt,name=tc2Active,proto3" json:"tc2Active,omitempty"`
|
|
|
|
|
// 列车方向向前 1=方向向前
|
|
|
|
|
DirectionForward bool `protobuf:"varint,40,opt,name=directionForward,proto3" json:"directionForward,omitempty"`
|
|
|
|
|
// 列车方向向后 1=方向向后
|
|
|
|
|
DirectionBackward bool `protobuf:"varint,41,opt,name=directionBackward,proto3" json:"directionBackward,omitempty"`
|
|
|
|
|
// 列车牵引状态 1=牵引
|
|
|
|
|
TractionStatus bool `protobuf:"varint,42,opt,name=tractionStatus,proto3" json:"tractionStatus,omitempty"`
|
|
|
|
|
// 列车制动状态 1=制动
|
|
|
|
|
BrakingStatus bool `protobuf:"varint,43,opt,name=brakingStatus,proto3" json:"brakingStatus,omitempty"`
|
|
|
|
|
// 列车紧急制动状态 1=紧急制动
|
|
|
|
|
EmergencyBrakingStatus bool `protobuf:"varint,44,opt,name=emergencyBrakingStatus,proto3" json:"emergencyBrakingStatus,omitempty"`
|
|
|
|
|
// 列车折返状态(AR) 1=折返
|
|
|
|
|
TurnbackStatus bool `protobuf:"varint,45,opt,name=turnbackStatus,proto3" json:"turnbackStatus,omitempty"`
|
|
|
|
|
// 跳跃状态 1=跳跃
|
|
|
|
|
JumpStatus bool `protobuf:"varint,46,opt,name=jumpStatus,proto3" json:"jumpStatus,omitempty"`
|
|
|
|
|
// ATO模式 1=ATO模式
|
|
|
|
|
Ato bool `protobuf:"varint,47,opt,name=ato,proto3" json:"ato,omitempty"`
|
|
|
|
|
// FAM模式 1=FAM模式
|
|
|
|
|
Fam bool `protobuf:"varint,48,opt,name=fam,proto3" json:"fam,omitempty"`
|
|
|
|
|
// CAM模式 1=CAM模式
|
|
|
|
|
Cam bool `protobuf:"varint,49,opt,name=cam,proto3" json:"cam,omitempty"`
|
|
|
|
|
// 牵引安全回路 1=牵引安全切除
|
|
|
|
|
TractionSafetyCircuit bool `protobuf:"varint,50,opt,name=tractionSafetyCircuit,proto3" json:"tractionSafetyCircuit,omitempty"`
|
|
|
|
|
// 停放制动状态 1=停放施加
|
|
|
|
|
ParkingBrakeStatus bool `protobuf:"varint,51,opt,name=parkingBrakeStatus,proto3" json:"parkingBrakeStatus,omitempty"`
|
|
|
|
|
// 保持制动状态 1=保持制动施加
|
|
|
|
|
MaintainBrakeStatus bool `protobuf:"varint,52,opt,name=maintainBrakeStatus,proto3" json:"maintainBrakeStatus,omitempty"`
|
|
|
|
|
// 列车牵引力 100=1KN
|
|
|
|
|
TractionForce int64 `protobuf:"varint,53,opt,name=tractionForce,proto3" json:"tractionForce,omitempty"`
|
|
|
|
|
// 列车制动力 100=1KN
|
|
|
|
|
BrakeForce int64 `protobuf:"varint,54,opt,name=brakeForce,proto3" json:"brakeForce,omitempty"`
|
|
|
|
|
// 【列车载荷 100=1ton
|
|
|
|
|
TrainLoad int64 `protobuf:"varint,55,opt,name=trainLoad,proto3" json:"trainLoad,omitempty"`
|
|
|
|
|
// 列车开左门指令 1=开门
|
|
|
|
|
LeftDoorOpenCommand bool `protobuf:"varint,56,opt,name=leftDoorOpenCommand,proto3" json:"leftDoorOpenCommand,omitempty"`
|
|
|
|
|
// 列车开右门指令 1=开门
|
|
|
|
|
RightDoorOpenCommand bool `protobuf:"varint,57,opt,name=rightDoorOpenCommand,proto3" json:"rightDoorOpenCommand,omitempty"`
|
|
|
|
|
// 列车关左门指令 1=关门
|
|
|
|
|
LeftDoorCloseCommand bool `protobuf:"varint,58,opt,name=leftDoorCloseCommand,proto3" json:"leftDoorCloseCommand,omitempty"`
|
|
|
|
|
// 列车关右门指令 1=关门
|
|
|
|
|
RightDoorCloseCommand bool `protobuf:"varint,59,opt,name=rightDoorCloseCommand,proto3" json:"rightDoorCloseCommand,omitempty"`
|
|
|
|
|
// 整列车门关好 1=门关好
|
|
|
|
|
AllDoorClose bool `protobuf:"varint,60,opt,name=allDoorClose,proto3" json:"allDoorClose,omitempty"`
|
|
|
|
|
// 通讯中断
|
|
|
|
|
VobcInterruption bool `protobuf:"varint,61,opt,name=vobcInterruption,proto3" json:"vobcInterruption,omitempty"`
|
2024-01-18 13:10:28 +08:00
|
|
|
|
// 列车动力学配置
|
2024-01-18 16:33:27 +08:00
|
|
|
|
TrainDynamicConfig *TrainDynamicConfigMqtt `protobuf:"bytes,62,opt,name=trainDynamicConfig,proto3" json:"trainDynamicConfig,omitempty"`
|
2024-01-18 13:10:28 +08:00
|
|
|
|
// 列车A端
|
2024-01-18 16:33:27 +08:00
|
|
|
|
TrainEndsA *TrainEndsStateMqtt `protobuf:"bytes,63,opt,name=trainEndsA,proto3" json:"trainEndsA,omitempty"`
|
2024-01-18 13:10:28 +08:00
|
|
|
|
// 列车B端
|
2024-01-18 16:33:27 +08:00
|
|
|
|
TrainEndsB *TrainEndsStateMqtt `protobuf:"bytes,64,opt,name=trainEndsB,proto3" json:"trainEndsB,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
// 列车位移
|
|
|
|
|
Displacement int32 `protobuf:"varint,65,opt,name=Displacement,proto3" json:"Displacement,omitempty"`
|
2024-02-06 10:52:45 +08:00
|
|
|
|
// 列车车尾所在设备ID
|
|
|
|
|
TailDeviceId uint32 `protobuf:"varint,66,opt,name=tailDeviceId,proto3" json:"tailDeviceId,omitempty"`
|
|
|
|
|
// 列车车尾所在设备偏移量
|
|
|
|
|
TailOffset int64 `protobuf:"varint,67,opt,name=tailOffset,proto3" json:"tailOffset,omitempty"`
|
2024-02-21 14:54:17 +08:00
|
|
|
|
// 列车车尾所在设备端口
|
|
|
|
|
TailDevicePort string `protobuf:"bytes,68,opt,name=tailDevicePort,proto3" json:"tailDevicePort,omitempty"`
|
2024-02-06 16:52:39 +08:00
|
|
|
|
// BTM状态
|
2024-02-21 14:54:17 +08:00
|
|
|
|
BtmState *BTMState `protobuf:"bytes,69,opt,name=btmState,proto3" json:"btmState,omitempty"`
|
2023-12-15 09:48:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) Reset() {
|
|
|
|
|
*x = TrainMapState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[11]
|
2023-12-15 09:48:42 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainMapState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[11]
|
2023-12-15 09:48:42 +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 TrainMapState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainMapState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{11}
|
2023-12-15 09:48:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetUp() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Up
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetInitialSpeed() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.InitialSpeed
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTrainLength() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainLength
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetShow() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Show
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadDeviceId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadDeviceId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadOffset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetDevicePort() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DevicePort
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetPointTo() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PointTo
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRunDirection() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RunDirection
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadDirection() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadDirection
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTrainKilometer() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainKilometer
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetControlDelayTime() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ControlDelayTime
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetWheelDiameter() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.WheelDiameter
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetDynamicHeartbeat() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DynamicHeartbeat
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadLinkId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadLinkId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadLinkOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadLinkOffset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailLinkId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailLinkId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailLinkOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailLinkOffset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetOccupiedLinkIndex() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.OccupiedLinkIndex
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetSlope() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Slope
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetUpslope() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Upslope
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRunningUp() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RunningUp
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRunningResistanceSum() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RunningResistanceSum
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetAirResistance() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AirResistance
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRampResistance() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RampResistance
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetCurveResistance() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurveResistance
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetSpeed() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Speed
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadSensorSpeed1() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadSensorSpeed1
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadSensorSpeed2() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadSensorSpeed2
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailSensorSpeed1() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailSensorSpeed1
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailSensorSpeed2() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailSensorSpeed2
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetHeadRadarSpeed() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadRadarSpeed
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailRadarSpeed() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailRadarSpeed
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetDynamicInterruption() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DynamicInterruption
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetAcceleration() float32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Acceleration
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetVobcLifeSignal() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.VobcLifeSignal
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTc1Active() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Tc1Active
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTc2Active() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Tc2Active
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetDirectionForward() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectionForward
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetDirectionBackward() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirectionBackward
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTractionStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetBrakingStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BrakingStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetEmergencyBrakingStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.EmergencyBrakingStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTurnbackStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TurnbackStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetJumpStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.JumpStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetAto() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ato
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetFam() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Fam
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetCam() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Cam
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTractionSafetyCircuit() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionSafetyCircuit
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetParkingBrakeStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ParkingBrakeStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetMaintainBrakeStatus() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MaintainBrakeStatus
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTractionForce() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TractionForce
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetBrakeForce() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BrakeForce
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTrainLoad() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainLoad
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetLeftDoorOpenCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LeftDoorOpenCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRightDoorOpenCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RightDoorOpenCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetLeftDoorCloseCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LeftDoorCloseCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetRightDoorCloseCommand() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RightDoorCloseCommand
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetAllDoorClose() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AllDoorClose
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetVobcInterruption() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.VobcInterruption
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 16:33:27 +08:00
|
|
|
|
func (x *TrainMapState) GetTrainDynamicConfig() *TrainDynamicConfigMqtt {
|
2024-01-18 13:10:28 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainDynamicConfig
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 16:33:27 +08:00
|
|
|
|
func (x *TrainMapState) GetTrainEndsA() *TrainEndsStateMqtt {
|
2024-01-18 13:10:28 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainEndsA
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 16:33:27 +08:00
|
|
|
|
func (x *TrainMapState) GetTrainEndsB() *TrainEndsStateMqtt {
|
2024-01-18 13:10:28 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainEndsB
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-26 17:57:35 +08:00
|
|
|
|
func (x *TrainMapState) GetDisplacement() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Displacement
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 10:52:45 +08:00
|
|
|
|
func (x *TrainMapState) GetTailDeviceId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailDeviceId
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainMapState) GetTailOffset() int64 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailOffset
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-21 14:54:17 +08:00
|
|
|
|
func (x *TrainMapState) GetTailDevicePort() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TailDevicePort
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 16:52:39 +08:00
|
|
|
|
func (x *TrainMapState) GetBtmState() *BTMState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BtmState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 16:39:56 +08:00
|
|
|
|
type BTMState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
DataSerialNumber uint32 `protobuf:"varint,1,opt,name=dataSerialNumber,proto3" json:"dataSerialNumber,omitempty"` //数据流水号,0~255变化,每次加一
|
|
|
|
|
BaliseCount uint32 `protobuf:"varint,2,opt,name=baliseCount,proto3" json:"baliseCount,omitempty"` //应答器计数(每过一个应答器加一,在同一个应答器内不变)(0~255)
|
|
|
|
|
MessageCounter uint32 `protobuf:"varint,3,opt,name=messageCounter,proto3" json:"messageCounter,omitempty"` //报文计数器 (每解出一个报文加一)(0~255)
|
|
|
|
|
Telegram string `protobuf:"bytes,4,opt,name=telegram,proto3" json:"telegram,omitempty"` //报文(16进制字符串)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) Reset() {
|
|
|
|
|
*x = BTMState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[12]
|
2024-02-06 16:39:56 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*BTMState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[12]
|
2024-02-06 16:39:56 +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 BTMState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BTMState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{12}
|
2024-02-06 16:39:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) GetDataSerialNumber() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DataSerialNumber
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) GetBaliseCount() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BaliseCount
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) GetMessageCounter() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.MessageCounter
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BTMState) GetTelegram() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Telegram
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string
|
|
|
|
|
// 此类型需要与 common_data 中的 TrainDynamicConfig类型属性保持一致
|
|
|
|
|
type TrainDynamicConfigMqtt struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 基本阻力参数A 原本数据:float
|
2024-01-18 17:17:48 +08:00
|
|
|
|
DavisParamA string `protobuf:"bytes,1,opt,name=davisParamA,proto3" json:"davisParamA,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 基本阻力参数B 原本数据:float
|
2024-01-18 17:17:48 +08:00
|
|
|
|
DavisParamB string `protobuf:"bytes,2,opt,name=davisParamB,proto3" json:"davisParamB,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 基本阻力参数C 原本数据:float
|
2024-01-18 17:17:48 +08:00
|
|
|
|
DavisParamC string `protobuf:"bytes,3,opt,name=davisParamC,proto3" json:"davisParamC,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 曲线阻力参数R1 原本数据:float
|
|
|
|
|
CurveResistanceParamR1 string `protobuf:"bytes,4,opt,name=curveResistanceParamR1,proto3" json:"curveResistanceParamR1,omitempty"`
|
|
|
|
|
// 曲线阻力参数R2 原本数据:float
|
|
|
|
|
CurveResistanceParamR2 string `protobuf:"bytes,5,opt,name=curveResistanceParamR2,proto3" json:"curveResistanceParamR2,omitempty"`
|
|
|
|
|
// 曲线阻力参数R3 原本数据:float
|
|
|
|
|
CurveResistanceParamR3 string `protobuf:"bytes,6,opt,name=curveResistanceParamR3,proto3" json:"curveResistanceParamR3,omitempty"`
|
|
|
|
|
// 曲线阻力参数R4 原本数据:float
|
|
|
|
|
CurveResistanceParamR4 string `protobuf:"bytes,7,opt,name=curveResistanceParamR4,proto3" json:"curveResistanceParamR4,omitempty"`
|
|
|
|
|
// 旋转质量参数 原本数据:float
|
|
|
|
|
RevolvingMassParam string `protobuf:"bytes,8,opt,name=revolvingMassParam,proto3" json:"revolvingMassParam,omitempty"`
|
|
|
|
|
// 是否跳跃
|
|
|
|
|
Jump bool `protobuf:"varint,9,opt,name=jump,proto3" json:"jump,omitempty"`
|
2024-01-29 18:05:14 +08:00
|
|
|
|
// 打滑加速度(m/s) 默认0 原本属性 float
|
|
|
|
|
SlipA string `protobuf:"bytes,10,opt,name=slipA,proto3" json:"slipA,omitempty"`
|
|
|
|
|
// 打滑冲击率(m/s) 默认0
|
|
|
|
|
SlipR string `protobuf:"bytes,11,opt,name=slipR,proto3" json:"slipR,omitempty"`
|
|
|
|
|
// 打滑持续时间ms 默认0
|
|
|
|
|
SlipD int32 `protobuf:"varint,12,opt,name=slipD,proto3" json:"slipD,omitempty"`
|
|
|
|
|
// 空转加速度(m/s2),默认值:0 原本属性 float
|
|
|
|
|
IdlingA string `protobuf:"bytes,14,opt,name=idlingA,proto3" json:"idlingA,omitempty"`
|
|
|
|
|
// 空转冲击率(m/s3),默认值:0
|
|
|
|
|
IdlingR string `protobuf:"bytes,15,opt,name=idlingR,proto3" json:"idlingR,omitempty"`
|
|
|
|
|
// 空转持续时间(ms),默认值:0
|
|
|
|
|
IdlingD int32 `protobuf:"varint,16,opt,name=idlingD,proto3" json:"idlingD,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 过标/欠标(mm)(正数过标,负数欠标)
|
2024-01-29 18:05:14 +08:00
|
|
|
|
StopSign int32 `protobuf:"varint,17,opt,name=stopSign,proto3" json:"stopSign,omitempty"`
|
|
|
|
|
// 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 原本属性 float
|
|
|
|
|
Slide string `protobuf:"bytes,18,opt,name=slide,proto3" json:"slide,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) Reset() {
|
|
|
|
|
*x = TrainDynamicConfigMqtt{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[13]
|
2024-01-18 16:33:27 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainDynamicConfigMqtt) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[13]
|
2024-01-18 16:33:27 +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 TrainDynamicConfigMqtt.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainDynamicConfigMqtt) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{13}
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 17:17:48 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetDavisParamA() string {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
if x != nil {
|
2024-01-18 17:17:48 +08:00
|
|
|
|
return x.DavisParamA
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 17:17:48 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetDavisParamB() string {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
if x != nil {
|
2024-01-18 17:17:48 +08:00
|
|
|
|
return x.DavisParamB
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 17:17:48 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetDavisParamC() string {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
if x != nil {
|
2024-01-18 17:17:48 +08:00
|
|
|
|
return x.DavisParamC
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetCurveResistanceParamR1() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurveResistanceParamR1
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetCurveResistanceParamR2() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurveResistanceParamR2
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetCurveResistanceParamR3() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurveResistanceParamR3
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetCurveResistanceParamR4() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CurveResistanceParamR4
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetRevolvingMassParam() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RevolvingMassParam
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetJump() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Jump
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 18:05:14 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetSlipA() string {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
if x != nil {
|
2024-01-29 18:05:14 +08:00
|
|
|
|
return x.SlipA
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 18:05:14 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetSlipR() string {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
if x != nil {
|
2024-01-29 18:05:14 +08:00
|
|
|
|
return x.SlipR
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetSlipD() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SlipD
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetIdlingA() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IdlingA
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetIdlingR() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IdlingR
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetIdlingD() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.IdlingD
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetStopSign() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.StopSign
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 18:05:14 +08:00
|
|
|
|
func (x *TrainDynamicConfigMqtt) GetSlide() string {
|
2024-01-18 17:17:48 +08:00
|
|
|
|
if x != nil {
|
2024-01-29 18:05:14 +08:00
|
|
|
|
return x.Slide
|
2024-01-18 17:17:48 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 16:33:27 +08:00
|
|
|
|
// 列车一端的状态
|
|
|
|
|
type TrainEndsStateMqtt struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 速度传感器
|
|
|
|
|
SpeedSensorEnableA bool `protobuf:"varint,1,opt,name=speedSensorEnableA,proto3" json:"speedSensorEnableA,omitempty"`
|
|
|
|
|
SpeedSensorEnableB bool `protobuf:"varint,2,opt,name=speedSensorEnableB,proto3" json:"speedSensorEnableB,omitempty"`
|
|
|
|
|
// 雷达是否有效
|
|
|
|
|
RadarEnable bool `protobuf:"varint,3,opt,name=radarEnable,proto3" json:"radarEnable,omitempty"`
|
|
|
|
|
// 雷达测速差值(米/秒) 原本数据:float
|
|
|
|
|
RadarCheckSpeedDiff string `protobuf:"bytes,4,opt,name=radarCheckSpeedDiff,proto3" json:"radarCheckSpeedDiff,omitempty"`
|
|
|
|
|
// 雷达检测时间(秒)
|
|
|
|
|
RadarCheckTime int32 `protobuf:"varint,5,opt,name=radarCheckTime,proto3" json:"radarCheckTime,omitempty"`
|
2024-01-26 17:57:35 +08:00
|
|
|
|
AccEnable bool `protobuf:"varint,6,opt,name=accEnable,proto3" json:"accEnable,omitempty"`
|
|
|
|
|
// 加速度测速差值(米/秒)
|
|
|
|
|
AccCheckSpeedDiff string `protobuf:"bytes,7,opt,name=accCheckSpeedDiff,proto3" json:"accCheckSpeedDiff,omitempty"`
|
|
|
|
|
// 加速度持续时间
|
|
|
|
|
AccCheckTime int32 `protobuf:"varint,8,opt,name=accCheckTime,proto3" json:"accCheckTime,omitempty"`
|
2024-03-11 16:15:02 +08:00
|
|
|
|
// 速传速度输出(米/秒)
|
2024-03-12 13:58:57 +08:00
|
|
|
|
AccOutSpeed int32 `protobuf:"varint,9,opt,name=accOutSpeed,proto3" json:"accOutSpeed,omitempty"`
|
2024-03-11 16:15:02 +08:00
|
|
|
|
// 雷达速度输出(米/秒)
|
2024-03-12 13:58:57 +08:00
|
|
|
|
RadarOutSpeed int32 `protobuf:"varint,10,opt,name=radarOutSpeed,proto3" json:"radarOutSpeed,omitempty"`
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) Reset() {
|
|
|
|
|
*x = TrainEndsStateMqtt{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[14]
|
2024-01-18 16:33:27 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainEndsStateMqtt) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[14]
|
2024-01-18 16:33:27 +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 TrainEndsStateMqtt.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainEndsStateMqtt) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{14}
|
2024-01-18 16:33:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetSpeedSensorEnableA() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SpeedSensorEnableA
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetSpeedSensorEnableB() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SpeedSensorEnableB
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetRadarEnable() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RadarEnable
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetRadarCheckSpeedDiff() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RadarCheckSpeedDiff
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetRadarCheckTime() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RadarCheckTime
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-26 17:57:35 +08:00
|
|
|
|
func (x *TrainEndsStateMqtt) GetAccEnable() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AccEnable
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetAccCheckSpeedDiff() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AccCheckSpeedDiff
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainEndsStateMqtt) GetAccCheckTime() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AccCheckTime
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-12 13:58:57 +08:00
|
|
|
|
func (x *TrainEndsStateMqtt) GetAccOutSpeed() int32 {
|
2024-03-11 16:15:02 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AccOutSpeed
|
|
|
|
|
}
|
2024-03-12 13:58:57 +08:00
|
|
|
|
return 0
|
2024-03-11 16:15:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-03-12 13:58:57 +08:00
|
|
|
|
func (x *TrainEndsStateMqtt) GetRadarOutSpeed() int32 {
|
2024-03-11 16:15:02 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RadarOutSpeed
|
|
|
|
|
}
|
2024-03-12 13:58:57 +08:00
|
|
|
|
return 0
|
2024-03-11 16:15:02 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-27 18:02:07 +08:00
|
|
|
|
// 继电器状态
|
|
|
|
|
type ReplyState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 继电器索引
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-09-27 18:02:07 +08:00
|
|
|
|
// 继电器吸合状态
|
|
|
|
|
Xh bool `protobuf:"varint,2,opt,name=xh,proto3" json:"xh,omitempty"`
|
2023-11-07 09:22:46 +08:00
|
|
|
|
// 继电器编号
|
|
|
|
|
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
|
2024-01-18 13:10:28 +08:00
|
|
|
|
// 是否强制
|
|
|
|
|
Force bool `protobuf:"varint,4,opt,name=force,proto3" json:"force,omitempty"`
|
2023-09-27 18:02:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ReplyState) Reset() {
|
|
|
|
|
*x = ReplyState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[15]
|
2023-09-27 18:02:07 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ReplyState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ReplyState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ReplyState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[15]
|
2023-09-27 18:02:07 +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 ReplyState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ReplyState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{15}
|
2023-09-27 18:02:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *ReplyState) GetId() uint32 {
|
2023-09-27 18:02:07 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-09-27 18:02:07 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ReplyState) GetXh() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Xh
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *ReplyState) GetCode() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-18 13:10:28 +08:00
|
|
|
|
func (x *ReplyState) GetForce() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Force
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-17 17:51:26 +08:00
|
|
|
|
// 按钮状态
|
|
|
|
|
type ButtonState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-10-19 17:42:01 +08:00
|
|
|
|
Down bool `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"`
|
|
|
|
|
Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` // 带灯的按钮
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ButtonState) Reset() {
|
|
|
|
|
*x = ButtonState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[16]
|
2023-10-17 17:51:26 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ButtonState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*ButtonState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *ButtonState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[16]
|
2023-10-17 17:51:26 +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 ButtonState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*ButtonState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{16}
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *ButtonState) GetId() uint32 {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *ButtonState) GetDown() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Down
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-19 17:42:01 +08:00
|
|
|
|
func (x *ButtonState) GetActive() bool {
|
2023-10-18 13:53:17 +08:00
|
|
|
|
if x != nil {
|
2023-10-19 17:42:01 +08:00
|
|
|
|
return x.Active
|
2023-10-18 13:53:17 +08:00
|
|
|
|
}
|
2023-10-19 17:42:01 +08:00
|
|
|
|
return false
|
2023-10-18 13:53:17 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-10-17 17:51:26 +08:00
|
|
|
|
// 警铃状态
|
|
|
|
|
type AlarmState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-10-17 17:51:26 +08:00
|
|
|
|
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AlarmState) Reset() {
|
|
|
|
|
*x = AlarmState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[17]
|
2023-10-17 17:51:26 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AlarmState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AlarmState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AlarmState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[17]
|
2023-10-17 17:51:26 +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 AlarmState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AlarmState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{17}
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *AlarmState) GetId() uint32 {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AlarmState) GetActive() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Active
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 灯状态
|
|
|
|
|
type LightState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
2023-10-19 17:42:01 +08:00
|
|
|
|
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty"`
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *LightState) Reset() {
|
|
|
|
|
*x = LightState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[18]
|
2023-10-17 17:51:26 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *LightState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*LightState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *LightState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[18]
|
2023-10-17 17:51:26 +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 LightState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*LightState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{18}
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *LightState) GetId() uint32 {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-10-19 17:42:01 +08:00
|
|
|
|
func (x *LightState) GetActive() bool {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
if x != nil {
|
2023-10-19 17:42:01 +08:00
|
|
|
|
return x.Active
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
2023-10-19 17:42:01 +08:00
|
|
|
|
return false
|
2023-10-17 17:51:26 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-10-19 17:09:57 +08:00
|
|
|
|
// 屏蔽门状态
|
|
|
|
|
type PsdState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2024-01-24 09:59:29 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //屏蔽门的id
|
|
|
|
|
AsdStates []*AsdState `protobuf:"bytes,2,rep,name=asdStates,proto3" json:"asdStates,omitempty"` //滑动门状态
|
|
|
|
|
Mgj bool `protobuf:"varint,3,opt,name=mgj,proto3" json:"mgj,omitempty"` //屏蔽门整体的关闭(继电器)状态
|
|
|
|
|
Param *request_proto.PsdParam `protobuf:"bytes,4,opt,name=param,proto3" json:"param,omitempty"` //屏蔽门设置的参数
|
2024-02-18 10:06:58 +08:00
|
|
|
|
Zaw bool `protobuf:"varint,5,opt,name=zaw,proto3" json:"zaw,omitempty"` //有障碍物
|
2023-10-19 17:09:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PsdState) Reset() {
|
|
|
|
|
*x = PsdState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[19]
|
2023-10-19 17:09:57 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PsdState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*PsdState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *PsdState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[19]
|
2023-10-19 17:09:57 +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 PsdState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*PsdState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{19}
|
2023-10-19 17:09:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *PsdState) GetId() uint32 {
|
2023-10-19 17:09:57 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-10-19 17:09:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-03 10:41:53 +08:00
|
|
|
|
func (x *PsdState) GetAsdStates() []*AsdState {
|
2023-10-19 17:09:57 +08:00
|
|
|
|
if x != nil {
|
2023-11-03 10:41:53 +08:00
|
|
|
|
return x.AsdStates
|
2023-10-19 17:09:57 +08:00
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-03 10:41:53 +08:00
|
|
|
|
func (x *PsdState) GetMgj() bool {
|
2023-11-02 15:50:03 +08:00
|
|
|
|
if x != nil {
|
2023-11-03 10:41:53 +08:00
|
|
|
|
return x.Mgj
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-24 09:59:29 +08:00
|
|
|
|
func (x *PsdState) GetParam() *request_proto.PsdParam {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Param
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-18 10:06:58 +08:00
|
|
|
|
func (x *PsdState) GetZaw() bool {
|
2024-01-24 09:59:29 +08:00
|
|
|
|
if x != nil {
|
2024-02-18 10:06:58 +08:00
|
|
|
|
return x.Zaw
|
2024-01-24 09:59:29 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-03 10:41:53 +08:00
|
|
|
|
// 滑动门状态
|
|
|
|
|
type AsdState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2024-02-18 14:49:11 +08:00
|
|
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //滑动门的编号
|
|
|
|
|
Kmdw bool `protobuf:"varint,2,opt,name=kmdw,proto3" json:"kmdw,omitempty"` //开门到位(实际位置)
|
|
|
|
|
Gmdw bool `protobuf:"varint,3,opt,name=gmdw,proto3" json:"gmdw,omitempty"` //关门到位(实际位置)
|
|
|
|
|
Mgj bool `protobuf:"varint,4,opt,name=mgj,proto3" json:"mgj,omitempty"` //门关继电器
|
|
|
|
|
Zaw bool `protobuf:"varint,5,opt,name=zaw,proto3" json:"zaw,omitempty"` //有障碍物
|
|
|
|
|
Force bool `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"` //强制开/关门
|
2023-11-03 10:41:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) Reset() {
|
|
|
|
|
*x = AsdState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[20]
|
2023-11-03 10:41:53 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AsdState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[20]
|
2023-11-03 10:41:53 +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 AsdState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AsdState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{20}
|
2023-11-03 10:41:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-06 14:30:09 +08:00
|
|
|
|
func (x *AsdState) GetCode() int32 {
|
2023-11-03 10:41:53 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Code
|
|
|
|
|
}
|
2023-11-06 14:30:09 +08:00
|
|
|
|
return 0
|
2023-11-03 10:41:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) GetKmdw() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Kmdw
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) GetGmdw() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Gmdw
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AsdState) GetMgj() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Mgj
|
2023-11-02 15:50:03 +08:00
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-18 10:06:58 +08:00
|
|
|
|
func (x *AsdState) GetZaw() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Zaw
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-18 14:49:11 +08:00
|
|
|
|
func (x *AsdState) GetForce() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Force
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-20 10:59:27 +08:00
|
|
|
|
// 钥匙状态
|
|
|
|
|
type KeyState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2024-02-06 10:49:46 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
Gear int32 `protobuf:"varint,2,opt,name=gear,proto3" json:"gear,omitempty"` // bool bypass = 3; //摁钮,钥匙 是否旁路
|
2023-10-20 10:59:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeyState) Reset() {
|
|
|
|
|
*x = KeyState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[21]
|
2023-10-20 10:59:27 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeyState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*KeyState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *KeyState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[21]
|
2023-10-20 10:59:27 +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 KeyState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*KeyState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{21}
|
2023-10-20 10:59:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-14 13:04:48 +08:00
|
|
|
|
func (x *KeyState) GetId() uint32 {
|
2023-10-20 10:59:27 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
2023-12-14 13:04:48 +08:00
|
|
|
|
return 0
|
2023-10-20 10:59:27 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KeyState) GetGear() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Gear
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
// 战场图门控箱继电器状态
|
|
|
|
|
type MkxJState struct {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
|
|
|
ReplyState []*ReplyState `protobuf:"bytes,2,rep,name=replyState,proto3" json:"replyState,omitempty"`
|
2023-11-02 18:00:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *MkxJState) Reset() {
|
|
|
|
|
*x = MkxJState{}
|
2023-11-02 18:00:18 +08:00
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[22]
|
2023-11-02 18:00:18 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *MkxJState) String() string {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (*MkxJState) ProtoMessage() {}
|
2023-11-02 18:00:18 +08:00
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *MkxJState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[22]
|
2023-11-02 18:00:18 +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)
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
// Deprecated: Use MkxJState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*MkxJState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{22}
|
2023-11-02 18:00:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *MkxJState) GetCode() string {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
if x != nil {
|
2023-11-06 17:15:00 +08:00
|
|
|
|
return x.Code
|
2023-11-02 18:00:18 +08:00
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-07 09:22:46 +08:00
|
|
|
|
func (x *MkxJState) GetReplyState() []*ReplyState {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
if x != nil {
|
2023-11-07 09:22:46 +08:00
|
|
|
|
return x.ReplyState
|
2023-11-02 18:00:18 +08:00
|
|
|
|
}
|
2023-11-07 09:22:46 +08:00
|
|
|
|
return nil
|
2023-11-02 18:00:18 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-10 14:06:01 +08:00
|
|
|
|
// 应答器状态
|
|
|
|
|
type BaliseState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2024-01-24 17:45:16 +08:00
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
Km *data_proto.KilometerSystem `protobuf:"bytes,2,opt,name=km,proto3" json:"km,omitempty"` //当前公里标
|
|
|
|
|
FixedTelegram string `protobuf:"bytes,3,opt,name=fixedTelegram,proto3" json:"fixedTelegram,omitempty"` //固定报文
|
|
|
|
|
FixedUserTelegram string `protobuf:"bytes,4,opt,name=fixedUserTelegram,proto3" json:"fixedUserTelegram,omitempty"` //固定用户报文
|
|
|
|
|
VariableTelegram string `protobuf:"bytes,5,opt,name=variableTelegram,proto3" json:"variableTelegram,omitempty"` //可变报文
|
|
|
|
|
VariableUserTelegram string `protobuf:"bytes,6,opt,name=variableUserTelegram,proto3" json:"variableUserTelegram,omitempty"` //可变用户报文
|
2024-02-06 09:30:58 +08:00
|
|
|
|
Work bool `protobuf:"varint,7,opt,name=work,proto3" json:"work,omitempty"` //是否正常工作
|
2024-01-10 14:06:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) Reset() {
|
|
|
|
|
*x = BaliseState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[23]
|
2024-01-10 14:06:01 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*BaliseState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[23]
|
2024-01-10 14:06:01 +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 BaliseState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*BaliseState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{23}
|
2024-01-10 14:06:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) GetId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-11 10:24:56 +08:00
|
|
|
|
func (x *BaliseState) GetKm() *data_proto.KilometerSystem {
|
2024-01-10 14:06:01 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Km
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-22 13:10:10 +08:00
|
|
|
|
func (x *BaliseState) GetFixedTelegram() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.FixedTelegram
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) GetFixedUserTelegram() string {
|
2024-01-10 14:06:01 +08:00
|
|
|
|
if x != nil {
|
2024-01-22 13:10:10 +08:00
|
|
|
|
return x.FixedUserTelegram
|
2024-01-10 14:06:01 +08:00
|
|
|
|
}
|
2024-01-16 13:44:28 +08:00
|
|
|
|
return ""
|
2024-01-10 14:06:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-24 17:45:16 +08:00
|
|
|
|
func (x *BaliseState) GetVariableTelegram() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.VariableTelegram
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *BaliseState) GetVariableUserTelegram() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.VariableUserTelegram
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2024-02-06 09:30:58 +08:00
|
|
|
|
func (x *BaliseState) GetWork() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Work
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 14:42:12 +08:00
|
|
|
|
// 车站联锁驱采状态
|
|
|
|
|
type StationQc struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
QdStates []*StationQc_State `protobuf:"bytes,1,rep,name=qdStates,proto3" json:"qdStates,omitempty"` //驱动状态
|
|
|
|
|
CjStates []*StationQc_State `protobuf:"bytes,2,rep,name=cjStates,proto3" json:"cjStates,omitempty"` //采集状态
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc) Reset() {
|
|
|
|
|
*x = StationQc{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[24]
|
2024-01-29 14:42:12 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StationQc) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[24]
|
2024-01-29 14:42:12 +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 StationQc.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StationQc) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{24}
|
2024-01-29 14:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc) GetQdStates() []*StationQc_State {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.QdStates
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc) GetCjStates() []*StationQc_State {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.CjStates
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 仿真运行时状态变化量,当前时刻与上一时刻比较得到
|
|
|
|
|
type VariationStatus struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 新增或变化的列车的状态
|
2024-01-10 14:06:01 +08:00
|
|
|
|
UpdatedTrain []*TrainMapState `protobuf:"bytes,1,rep,name=updatedTrain,proto3" json:"updatedTrain,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 移除的列车的索引
|
|
|
|
|
RemovedTrainId []string `protobuf:"bytes,2,rep,name=removedTrainId,proto3" json:"removedTrainId,omitempty"`
|
|
|
|
|
// 状态发生变化的道岔
|
|
|
|
|
UpdatedSwitch []*SwitchState `protobuf:"bytes,3,rep,name=updatedSwitch,proto3" json:"updatedSwitch,omitempty"`
|
|
|
|
|
// 状态发生变化的区段
|
|
|
|
|
UpdatedSection []*SectionState `protobuf:"bytes,4,rep,name=updatedSection,proto3" json:"updatedSection,omitempty"`
|
2023-09-28 11:23:34 +08:00
|
|
|
|
// 状态发送变化的继电器
|
|
|
|
|
UpdatedReply []*ReplyState `protobuf:"bytes,5,rep,name=updatedReply,proto3" json:"updatedReply,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) Reset() {
|
|
|
|
|
*x = VariationStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[25]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*VariationStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[25]
|
2023-07-28 15:57: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 VariationStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*VariationStatus) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{25}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-10 14:06:01 +08:00
|
|
|
|
func (x *VariationStatus) GetUpdatedTrain() []*TrainMapState {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UpdatedTrain
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) GetRemovedTrainId() []string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.RemovedTrainId
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) GetUpdatedSwitch() []*SwitchState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UpdatedSwitch
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) GetUpdatedSection() []*SectionState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UpdatedSection
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-28 11:23:34 +08:00
|
|
|
|
func (x *VariationStatus) GetUpdatedReply() []*ReplyState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.UpdatedReply
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 仿真运行时的所有设备的状态
|
|
|
|
|
type AllDevicesStatus struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 所有列车状态
|
2023-12-15 09:48:42 +08:00
|
|
|
|
TrainState []*TrainMapState `protobuf:"bytes,1,rep,name=trainState,proto3" json:"trainState,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 所有道岔状态
|
|
|
|
|
SwitchState []*SwitchState `protobuf:"bytes,2,rep,name=switchState,proto3" json:"switchState,omitempty"`
|
|
|
|
|
// 所有类型区段状态
|
|
|
|
|
SectionState []*SectionState `protobuf:"bytes,3,rep,name=sectionState,proto3" json:"sectionState,omitempty"`
|
2023-09-27 18:02:07 +08:00
|
|
|
|
// 所有继电器状态
|
|
|
|
|
ReplyState []*ReplyState `protobuf:"bytes,4,rep,name=replyState,proto3" json:"replyState,omitempty"`
|
2023-10-13 15:57:09 +08:00
|
|
|
|
// 所有信号机状态
|
|
|
|
|
SignalState []*SignalState `protobuf:"bytes,5,rep,name=signalState,proto3" json:"signalState,omitempty"`
|
2023-10-17 17:51:26 +08:00
|
|
|
|
// 按钮状态
|
|
|
|
|
ButtonState []*ButtonState `protobuf:"bytes,6,rep,name=buttonState,proto3" json:"buttonState,omitempty"`
|
|
|
|
|
// 警铃状态
|
|
|
|
|
AlarmState []*AlarmState `protobuf:"bytes,7,rep,name=AlarmState,proto3" json:"AlarmState,omitempty"`
|
|
|
|
|
// 灯状态
|
|
|
|
|
LightState []*LightState `protobuf:"bytes,8,rep,name=LightState,proto3" json:"LightState,omitempty"`
|
2023-10-19 17:09:57 +08:00
|
|
|
|
// 屏蔽门状态
|
|
|
|
|
PsdState []*PsdState `protobuf:"bytes,9,rep,name=psdState,proto3" json:"psdState,omitempty"`
|
2023-10-20 10:59:27 +08:00
|
|
|
|
// 钥匙状态
|
|
|
|
|
KeyState []*KeyState `protobuf:"bytes,10,rep,name=KeyState,proto3" json:"KeyState,omitempty"`
|
2023-11-06 17:15:00 +08:00
|
|
|
|
// 站场图站台状态
|
|
|
|
|
PlatformState []*PlatformState `protobuf:"bytes,11,rep,name=platformState,proto3" json:"platformState,omitempty"`
|
2024-01-10 14:06:01 +08:00
|
|
|
|
// 应答器状态
|
|
|
|
|
BaliseState []*BaliseState `protobuf:"bytes,12,rep,name=baliseState,proto3" json:"baliseState,omitempty"`
|
2024-01-29 14:42:12 +08:00
|
|
|
|
// 车站联锁驱采状态
|
|
|
|
|
StationQc *StationQc `protobuf:"bytes,13,opt,name=stationQc,proto3" json:"stationQc,omitempty"`
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) Reset() {
|
|
|
|
|
*x = AllDevicesStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[26]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*AllDevicesStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[26]
|
2023-07-28 15:57: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 AllDevicesStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AllDevicesStatus) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{26}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-15 09:48:42 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetTrainState() []*TrainMapState {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
if x != nil {
|
|
|
|
|
return x.TrainState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) GetSwitchState() []*SwitchState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SwitchState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) GetSectionState() []*SectionState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SectionState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-27 18:02:07 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetReplyState() []*ReplyState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ReplyState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-13 15:57:09 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetSignalState() []*SignalState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SignalState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-17 17:51:26 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetButtonState() []*ButtonState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ButtonState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) GetAlarmState() []*AlarmState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AlarmState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) GetLightState() []*LightState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.LightState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-19 17:09:57 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetPsdState() []*PsdState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PsdState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-20 10:59:27 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetKeyState() []*KeyState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.KeyState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-11-06 17:15:00 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetPlatformState() []*PlatformState {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
if x != nil {
|
2023-11-06 17:15:00 +08:00
|
|
|
|
return x.PlatformState
|
2023-11-06 14:30:09 +08:00
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-10 14:06:01 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetBaliseState() []*BaliseState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.BaliseState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 14:42:12 +08:00
|
|
|
|
func (x *AllDevicesStatus) GetStationQc() *StationQc {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.StationQc
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
// 服务器端向前端推送的设备状态信息
|
|
|
|
|
type PushedDevicesStatus struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// true-全量设备状态信息,此时allStatus有效;
|
|
|
|
|
// false - 增量设备状态消息,此时varStatus有效
|
|
|
|
|
All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
|
|
|
|
|
// 增量设备状态消息
|
|
|
|
|
VarStatus *VariationStatus `protobuf:"bytes,2,opt,name=varStatus,proto3" json:"varStatus,omitempty"`
|
|
|
|
|
// 全量设备状态信息
|
|
|
|
|
AllStatus *AllDevicesStatus `protobuf:"bytes,3,opt,name=allStatus,proto3" json:"allStatus,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) Reset() {
|
|
|
|
|
*x = PushedDevicesStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[27]
|
2023-07-28 15:57:37 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*PushedDevicesStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[27]
|
2023-07-28 15:57: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 PushedDevicesStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*PushedDevicesStatus) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{27}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) GetAll() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.All
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) GetVarStatus() *VariationStatus {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.VarStatus
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) GetAllStatus() *AllDevicesStatus {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.AllStatus
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-30 13:25:57 +08:00
|
|
|
|
// 仿真信息状态
|
|
|
|
|
type SimulationStatus struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
2023-10-27 14:57:37 +08:00
|
|
|
|
SimulationId string `protobuf:"bytes,1,opt,name=simulationId,proto3" json:"simulationId,omitempty"`
|
2024-01-23 09:37:31 +08:00
|
|
|
|
State SimulationStatus_SimulationState `protobuf:"varint,2,opt,name=state,proto3,enum=state.SimulationStatus_SimulationState" json:"state,omitempty"` // string description = 3;
|
2023-08-30 13:25:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationStatus) Reset() {
|
|
|
|
|
*x = SimulationStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[28]
|
2023-08-30 13:25:57 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationStatus) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SimulationStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationStatus) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[28]
|
2023-08-30 13:25:57 +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 SimulationStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SimulationStatus) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{28}
|
2023-08-30 13:25:57 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationStatus) GetSimulationId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.SimulationId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
2023-10-27 14:57:37 +08:00
|
|
|
|
func (x *SimulationStatus) GetState() SimulationStatus_SimulationState {
|
2023-08-30 13:25:57 +08:00
|
|
|
|
if x != nil {
|
2023-10-27 14:57:37 +08:00
|
|
|
|
return x.State
|
2023-08-30 13:25:57 +08:00
|
|
|
|
}
|
2024-01-23 09:37:31 +08:00
|
|
|
|
return SimulationStatus_Init
|
2023-10-30 11:13:36 +08:00
|
|
|
|
}
|
|
|
|
|
|
2024-01-22 13:10:10 +08:00
|
|
|
|
// 仿真在用的第三方接口状态列表
|
|
|
|
|
type SimulationThirdPartyApiService struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 服务列表
|
|
|
|
|
States []*SimulationThirdPartyApiServiceState `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiService) Reset() {
|
|
|
|
|
*x = SimulationThirdPartyApiService{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[29]
|
2024-01-22 13:10:10 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiService) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SimulationThirdPartyApiService) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiService) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[29]
|
2024-01-22 13:10:10 +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 SimulationThirdPartyApiService.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SimulationThirdPartyApiService) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{29}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiService) GetStates() []*SimulationThirdPartyApiServiceState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.States
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 仿真第三方接口状态
|
|
|
|
|
type SimulationThirdPartyApiServiceState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
// 接口服务类型
|
|
|
|
|
Type SimulationThirdPartyApiService_Type `protobuf:"varint,1,opt,name=type,proto3,enum=state.SimulationThirdPartyApiService_Type" json:"type,omitempty"`
|
|
|
|
|
// 服务状态
|
|
|
|
|
State SimulationThirdPartyApiService_State `protobuf:"varint,2,opt,name=state,proto3,enum=state.SimulationThirdPartyApiService_State" json:"state,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiServiceState) Reset() {
|
|
|
|
|
*x = SimulationThirdPartyApiServiceState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[30]
|
2024-01-22 13:10:10 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiServiceState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*SimulationThirdPartyApiServiceState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiServiceState) ProtoReflect() protoreflect.Message {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[30]
|
2024-01-22 13:10:10 +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 SimulationThirdPartyApiServiceState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*SimulationThirdPartyApiServiceState) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{30}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiServiceState) GetType() SimulationThirdPartyApiService_Type {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Type
|
|
|
|
|
}
|
|
|
|
|
return SimulationThirdPartyApiService_Undefined
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SimulationThirdPartyApiServiceState) GetState() SimulationThirdPartyApiService_State {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.State
|
|
|
|
|
}
|
|
|
|
|
return SimulationThirdPartyApiService_Normal
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 08:28:50 +08:00
|
|
|
|
type TrainControlState struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
ConnState *TrainConnState `protobuf:"bytes,1,opt,name=connState,proto3" json:"connState,omitempty"`
|
|
|
|
|
Ebutton *TrainControlState_EmergentButton `protobuf:"bytes,2,opt,name=ebutton,proto3" json:"ebutton,omitempty"`
|
|
|
|
|
DriverKey []*TrainControlState_DriverKeySwitch `protobuf:"bytes,3,rep,name=driverKey,proto3" json:"driverKey,omitempty"`
|
|
|
|
|
DirKey *TrainControlState_DirectionKeySwitch `protobuf:"bytes,4,opt,name=dirKey,proto3" json:"dirKey,omitempty"`
|
|
|
|
|
PushHandler *TrainControlState_PushHandler `protobuf:"bytes,5,opt,name=pushHandler,proto3" json:"pushHandler,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) Reset() {
|
|
|
|
|
*x = TrainControlState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[31]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainControlState) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[31]
|
|
|
|
|
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.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainControlState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{31}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) GetConnState() *TrainConnState {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.ConnState
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) GetEbutton() *TrainControlState_EmergentButton {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Ebutton
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) GetDriverKey() []*TrainControlState_DriverKeySwitch {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DriverKey
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) GetDirKey() *TrainControlState_DirectionKeySwitch {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.DirKey
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState) GetPushHandler() *TrainControlState_PushHandler {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.PushHandler
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-29 14:42:12 +08:00
|
|
|
|
type StationQc_State struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Row int32 `protobuf:"varint,1,opt,name=row,proto3" json:"row,omitempty"` //行
|
|
|
|
|
Col int32 `protobuf:"varint,2,opt,name=col,proto3" json:"col,omitempty"` //列
|
|
|
|
|
On bool `protobuf:"varint,3,opt,name=on,proto3" json:"on,omitempty"` //接通
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) Reset() {
|
|
|
|
|
*x = StationQc_State{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-03-19 08:28:50 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[33]
|
2024-01-29 14:42:12 +08:00
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*StationQc_State) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) ProtoReflect() protoreflect.Message {
|
2024-03-19 08:28:50 +08:00
|
|
|
|
mi := &file_device_state_proto_msgTypes[33]
|
2024-01-29 14:42:12 +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 StationQc_State.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*StationQc_State) Descriptor() ([]byte, []int) {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{24, 0}
|
2024-01-29 14:42:12 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) GetRow() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Row
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) GetCol() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Col
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *StationQc_State) GetOn() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.On
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-19 08:28:50 +08:00
|
|
|
|
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[34]
|
|
|
|
|
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[34]
|
|
|
|
|
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{31, 0}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
Val bool `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"` //0=关,1=开
|
|
|
|
|
Dt request_proto.DriverType `protobuf:"varint,3,opt,name=dt,proto3,enum=request.DriverType" json:"dt,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) Reset() {
|
|
|
|
|
*x = TrainControlState_DriverKeySwitch{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[35]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainControlState_DriverKeySwitch) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[35]
|
|
|
|
|
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_DriverKeySwitch.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainControlState_DriverKeySwitch) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{31, 1}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) GetId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) GetVal() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Val
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DriverKeySwitch) GetDt() request_proto.DriverType {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Dt
|
|
|
|
|
}
|
|
|
|
|
return request_proto.DriverType(0)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type TrainControlState_DirectionKeySwitch struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
Val uint32 `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"` //0=关,1=开,2=中间
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DirectionKeySwitch) Reset() {
|
|
|
|
|
*x = TrainControlState_DirectionKeySwitch{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[36]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DirectionKeySwitch) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainControlState_DirectionKeySwitch) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DirectionKeySwitch) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[36]
|
|
|
|
|
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_DirectionKeySwitch.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainControlState_DirectionKeySwitch) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{31, 2}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DirectionKeySwitch) GetId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_DirectionKeySwitch) GetVal() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Val
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 牵引制动手柄
|
|
|
|
|
type TrainControlState_PushHandler struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
|
Val int32 `protobuf:"varint,2,opt,name=val,proto3" json:"val,omitempty"` // 牵引或制动 大于0是牵引,小于0是制动 整体按照整型传输(*100),使用时除以100
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_PushHandler) Reset() {
|
|
|
|
|
*x = TrainControlState_PushHandler{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[37]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_PushHandler) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*TrainControlState_PushHandler) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_PushHandler) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[37]
|
|
|
|
|
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_PushHandler.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainControlState_PushHandler) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{31, 3}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_PushHandler) GetId() uint32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Id
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainControlState_PushHandler) GetVal() int32 {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.Val
|
|
|
|
|
}
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-28 15:57:37 +08:00
|
|
|
|
var File_device_state_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_device_state_proto_rawDesc = []byte{
|
|
|
|
|
0x0a, 0x12, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x70,
|
2024-01-10 14:06:01 +08:00
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x1b, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69,
|
2024-01-17 17:54:30 +08:00
|
|
|
|
0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
2024-01-18 14:11:47 +08:00
|
|
|
|
0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x72, 0x65, 0x71,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x74, 0x63, 0x63, 0x47,
|
|
|
|
|
0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a,
|
|
|
|
|
0x09, 0x4c, 0x69, 0x6e, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72,
|
|
|
|
|
0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x49, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65,
|
|
|
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65,
|
|
|
|
|
0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x78, 0x6c, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x78, 0x6c, 0x65, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x12,
|
|
|
|
|
0x1a, 0x0a, 0x08, 0x61, 0x78, 0x6c, 0x65, 0x44, 0x72, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x08, 0x61, 0x78, 0x6c, 0x65, 0x44, 0x72, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61,
|
|
|
|
|
0x78, 0x6c, 0x65, 0x50, 0x64, 0x72, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
|
|
|
|
0x61, 0x78, 0x6c, 0x65, 0x50, 0x64, 0x72, 0x73, 0x74, 0x22, 0x9d, 0x02, 0x0a, 0x0b, 0x53, 0x77,
|
|
|
|
|
0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x72,
|
|
|
|
|
0x6d, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61,
|
|
|
|
|
0x6c, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x64,
|
|
|
|
|
0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x64, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x66,
|
|
|
|
|
0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x66, 0x77, 0x12, 0x2a, 0x0a, 0x05, 0x70,
|
|
|
|
|
0x61, 0x72, 0x61, 0x6d, 0x18, 0x06, 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, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x64, 0x63, 0x18, 0x07,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x71, 0x64, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x66, 0x63,
|
|
|
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x71, 0x66, 0x63, 0x12, 0x10, 0x0a, 0x03, 0x71,
|
|
|
|
|
0x79, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x71, 0x79, 0x63, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x64, 0x63, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x64, 0x63, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x66, 0x63, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x66, 0x63, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x79, 0x63, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x79, 0x63, 0x12, 0x1a, 0x0a,
|
|
|
|
|
0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x22, 0x86, 0x02, 0x0a, 0x0b, 0x53, 0x69,
|
|
|
|
|
0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x73, 0x70,
|
|
|
|
|
0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52,
|
|
|
|
|
0x06, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
|
|
|
|
0x18, 0x03, 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, 0x12, 0x4b, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x4d, 0x61, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52,
|
|
|
|
|
0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72,
|
|
|
|
|
0x79, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x70,
|
|
|
|
|
0x1a, 0x40, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x61,
|
|
|
|
|
0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
|
0x38, 0x01, 0x22, 0x46, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x3c, 0x0a, 0x06,
|
|
|
|
|
0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x46, 0x46, 0x10, 0x00, 0x12,
|
|
|
|
|
0x05, 0x0a, 0x01, 0x48, 0x10, 0x01, 0x12, 0x05, 0x0a, 0x01, 0x4c, 0x10, 0x02, 0x12, 0x05, 0x0a,
|
|
|
|
|
0x01, 0x55, 0x10, 0x03, 0x12, 0x06, 0x0a, 0x02, 0x48, 0x55, 0x10, 0x04, 0x12, 0x05, 0x0a, 0x01,
|
|
|
|
|
0x42, 0x10, 0x05, 0x12, 0x05, 0x0a, 0x01, 0x41, 0x10, 0x06, 0x22, 0x94, 0x01, 0x0a, 0x0d, 0x50,
|
|
|
|
|
0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x65, 0x6d, 0x70, 0x6a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x65, 0x6d, 0x70, 0x6a,
|
|
|
|
|
0x12, 0x2f, 0x0a, 0x09, 0x73, 0x70, 0x6b, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c,
|
|
|
|
|
0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x73, 0x70, 0x6b, 0x73, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x12, 0x2e, 0x0a, 0x09, 0x6d, 0x6b, 0x78, 0x4a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4d, 0x6b, 0x78,
|
|
|
|
|
0x4a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x6d, 0x6b, 0x78, 0x4a, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x22, 0x1e, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69,
|
|
|
|
|
0x64, 0x22, 0x96, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x6e, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x6e, 0x12, 0x3f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x6e,
|
|
|
|
|
0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
|
|
|
0x08, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2f, 0x0a, 0x0d, 0x54, 0x72, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f,
|
|
|
|
|
0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x56, 0x4f, 0x42, 0x43, 0x10, 0x01, 0x12, 0x0a,
|
|
|
|
|
0x0a, 0x06, 0x50, 0x43, 0x5f, 0x53, 0x49, 0x4d, 0x10, 0x02, 0x22, 0xae, 0x07, 0x0a, 0x0a, 0x54,
|
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x75, 0x70, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65,
|
|
|
|
|
0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12,
|
|
|
|
|
0x20, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74,
|
|
|
|
|
0x68, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x44, 0x65, 0x76,
|
|
|
|
|
0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x65, 0x61,
|
|
|
|
|
0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x61,
|
|
|
|
|
0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68,
|
|
|
|
|
0x65, 0x61, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76,
|
|
|
|
|
0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64,
|
|
|
|
|
0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x69,
|
|
|
|
|
0x6e, 0x74, 0x54, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e,
|
|
|
|
|
0x74, 0x54, 0x6f, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74,
|
|
|
|
|
0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x44, 0x69,
|
|
|
|
|
0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x44,
|
|
|
|
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
|
|
|
|
|
0x68, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a,
|
|
|
|
|
0x0c, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20,
|
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x64,
|
|
|
|
|
0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x76,
|
|
|
|
|
0x6f, 0x62, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15,
|
|
|
|
|
0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x56, 0x6f, 0x62, 0x63,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x76, 0x6f, 0x62, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4b, 0x69, 0x6c, 0x6f, 0x6d, 0x65, 0x74,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4b,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x69, 0x6c, 0x6f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x72, 0x6f, 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79,
|
|
|
|
|
0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x44, 0x69, 0x61,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x77, 0x68, 0x65,
|
|
|
|
|
0x65, 0x6c, 0x44, 0x69, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x4a, 0x0a, 0x12, 0x74, 0x72,
|
|
|
|
|
0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
|
|
|
0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
|
|
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66,
|
|
|
|
|
0x69, 0x67, 0x52, 0x12, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x36, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x45,
|
|
|
|
|
0x6e, 0x64, 0x73, 0x41, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
|
|
0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x41, 0x12, 0x36,
|
|
|
|
|
0x0a, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x42, 0x18, 0x13, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x45, 0x6e, 0x64, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x45, 0x6e, 0x64, 0x73, 0x42, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x65,
|
|
|
|
|
0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x74, 0x61,
|
|
|
|
|
0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61,
|
|
|
|
|
0x69, 0x6c, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
|
|
|
|
0x74, 0x61, 0x69, 0x6c, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61,
|
|
|
|
|
0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x16, 0x20, 0x01,
|
|
|
|
|
0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f,
|
|
|
|
|
0x72, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x62, 0x74, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x17,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x42, 0x54, 0x4d,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x62, 0x74, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
|
|
|
|
|
0x2a, 0x0a, 0x03, 0x74, 0x63, 0x63, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x73,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
|
|
|
|
|
0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x03, 0x74, 0x63, 0x63, 0x22, 0xf1, 0x06, 0x0a, 0x11,
|
|
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x68, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12,
|
|
|
|
|
0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x12,
|
|
|
|
|
0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65,
|
|
|
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e,
|
|
|
|
|
0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x69, 0x6c, 0x4c,
|
|
|
|
|
0x69, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x69,
|
|
|
|
|
0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x4c,
|
|
|
|
|
0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
|
|
|
0x0e, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
|
|
|
|
|
0x2c, 0x0a, 0x11, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49,
|
|
|
|
|
0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x63, 0x63, 0x75,
|
|
|
|
|
0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14, 0x0a,
|
|
|
|
|
0x05, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6c,
|
|
|
|
|
0x6f, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x08,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x70, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x1c, 0x0a,
|
|
|
|
|
0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x12, 0x32, 0x0a, 0x14, 0x72,
|
|
|
|
|
0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
|
|
|
0x53, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x14, 0x72, 0x75, 0x6e, 0x6e, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x75, 0x6d, 0x12,
|
|
|
|
|
0x24, 0x0a, 0x0d, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
|
|
|
0x18, 0x0b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x6d, 0x70, 0x52, 0x65, 0x73,
|
|
|
|
|
0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x72,
|
|
|
|
|
0x61, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x0a,
|
|
|
|
|
0x0f, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
|
|
|
|
0x18, 0x0d, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64,
|
|
|
|
|
0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2a, 0x0a,
|
|
|
|
|
0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64,
|
|
|
|
|
0x31, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6e,
|
|
|
|
|
0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x31, 0x12, 0x2a, 0x0a, 0x10, 0x68, 0x65, 0x61,
|
|
|
|
|
0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x18, 0x10, 0x20,
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53,
|
|
|
|
|
0x70, 0x65, 0x65, 0x64, 0x32, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x6e,
|
|
|
|
|
0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x31, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64,
|
|
|
|
|
0x31, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53,
|
|
|
|
|
0x70, 0x65, 0x65, 0x64, 0x32, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x61, 0x69,
|
|
|
|
|
0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x12, 0x26, 0x0a,
|
|
|
|
|
0x0e, 0x68, 0x65, 0x61, 0x64, 0x52, 0x61, 0x64, 0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18,
|
|
|
|
|
0x13, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x52, 0x61, 0x64, 0x61, 0x72,
|
|
|
|
|
0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x61, 0x64,
|
|
|
|
|
0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74,
|
|
|
|
|
0x61, 0x69, 0x6c, 0x52, 0x61, 0x64, 0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x28, 0x0a,
|
|
|
|
|
0x0f, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x72,
|
|
|
|
|
0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x6c,
|
|
|
|
|
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x16, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x61,
|
|
|
|
|
0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x44,
|
|
|
|
|
0x69, 0x73, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28,
|
|
|
|
|
0x05, 0x52, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22,
|
|
|
|
|
0x84, 0x08, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x56, 0x6f, 0x62, 0x63, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x66, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6c, 0x69, 0x66, 0x65, 0x53, 0x69, 0x67, 0x6e,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x63, 0x31, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x63, 0x31, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
|
|
|
0x12, 0x1c, 0x0a, 0x09, 0x74, 0x63, 0x32, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x74, 0x63, 0x32, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2a,
|
|
|
|
|
0x0a, 0x10, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x77, 0x61,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69,
|
|
|
|
|
0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x77, 0x61, 0x72, 0x64, 0x18,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x42, 0x61, 0x63, 0x6b, 0x77, 0x61, 0x72, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x63,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x52, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
|
0x12, 0x24, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x72, 0x61, 0x6b, 0x69, 0x6e, 0x67,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x36, 0x0a, 0x16, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65,
|
|
|
|
|
0x6e, 0x63, 0x79, 0x42, 0x72, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x79, 0x42, 0x72, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26,
|
|
|
|
|
0x0a, 0x0e, 0x74, 0x75, 0x72, 0x6e, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x74, 0x75, 0x72, 0x6e, 0x62, 0x61, 0x63, 0x6b,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x53, 0x74,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x74, 0x6f, 0x18, 0x0b, 0x20,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x61, 0x6d, 0x18,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x66, 0x61, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x61,
|
|
|
|
|
0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x63, 0x61, 0x6d, 0x12, 0x34, 0x0a, 0x15,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x43, 0x69,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x72, 0x63, 0x75, 0x69, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x74, 0x72, 0x61,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x43, 0x69, 0x72, 0x63, 0x75,
|
|
|
|
|
0x69, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x70, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x72, 0x61,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6b, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x70, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x75, 0x73, 0x12, 0x30, 0x0a, 0x13, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x42, 0x72,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x13, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x46, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x72,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x62, 0x72, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x61, 0x69, 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x4c, 0x6f, 0x61, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x65, 0x66, 0x74,
|
|
|
|
|
0x44, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6c, 0x65, 0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x4f,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x14, 0x72, 0x69,
|
|
|
|
|
0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6e, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x72, 0x69, 0x67, 0x68, 0x74, 0x44,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x32,
|
|
|
|
|
0x0a, 0x14, 0x6c, 0x65, 0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6c, 0x65,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
|
|
|
|
0x6e, 0x64, 0x12, 0x34, 0x0a, 0x15, 0x72, 0x69, 0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x08, 0x52, 0x15, 0x72, 0x69, 0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73,
|
|
|
|
|
0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x44,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f,
|
|
|
|
|
0x75, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
|
0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x75, 0x64, 0x70, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72,
|
|
|
|
|
0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
|
|
|
0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
|
|
|
|
|
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xfb, 0x14, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x4d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x75, 0x70, 0x18, 0x02,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x75, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x69, 0x74,
|
|
|
|
|
0x69, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c,
|
|
|
|
|
0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x0b,
|
|
|
|
|
0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x03, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x12,
|
|
|
|
|
0x0a, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x68,
|
|
|
|
|
0x6f, 0x77, 0x12, 0x22, 0x0a, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
|
|
|
|
|
0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x64, 0x44, 0x65,
|
|
|
|
|
0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4f, 0x66,
|
|
|
|
|
0x66, 0x73, 0x65, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64,
|
|
|
|
|
0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65,
|
|
|
|
|
0x50, 0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69,
|
|
|
|
|
0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54,
|
|
|
|
|
0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x6f,
|
|
|
|
|
0x12, 0x22, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x75, 0x6e, 0x44, 0x69, 0x72, 0x65, 0x63,
|
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65,
|
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x68, 0x65, 0x61,
|
|
|
|
|
0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72,
|
|
|
|
|
0x61, 0x69, 0x6e, 0x4b, 0x69, 0x6c, 0x6f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01,
|
|
|
|
|
0x28, 0x03, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4b, 0x69, 0x6c, 0x6f, 0x6d, 0x65, 0x74,
|
|
|
|
|
0x65, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x65, 0x6c,
|
|
|
|
|
0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f,
|
|
|
|
|
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24,
|
|
|
|
|
0x0a, 0x0d, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x44, 0x69, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18,
|
|
|
|
|
0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x44, 0x69, 0x61, 0x6d,
|
|
|
|
|
0x65, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x48,
|
|
|
|
|
0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10,
|
|
|
|
|
0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74,
|
|
|
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x10,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64,
|
|
|
|
|
0x12, 0x26, 0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73,
|
|
|
|
|
0x65, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69,
|
|
|
|
|
0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x69, 0x6c,
|
|
|
|
|
0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61,
|
|
|
|
|
0x69, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x69, 0x6c,
|
|
|
|
|
0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
|
0x52, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
|
|
|
0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b,
|
|
|
|
|
0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x11, 0x6f, 0x63, 0x63,
|
|
|
|
|
0x75, 0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x14,
|
|
|
|
|
0x0a, 0x05, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73,
|
|
|
|
|
0x6c, 0x6f, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x18,
|
|
|
|
|
0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x75, 0x70, 0x73, 0x6c, 0x6f, 0x70, 0x65, 0x12, 0x1c,
|
|
|
|
|
0x0a, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x18, 0x17, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x12, 0x32, 0x0a, 0x14,
|
|
|
|
|
0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
|
|
|
|
0x65, 0x53, 0x75, 0x6d, 0x18, 0x18, 0x20, 0x01, 0x28, 0x02, 0x52, 0x14, 0x72, 0x75, 0x6e, 0x6e,
|
|
|
|
|
0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x75, 0x6d,
|
|
|
|
|
0x12, 0x24, 0x0a, 0x0d, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
|
|
|
|
0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0d, 0x61, 0x69, 0x72, 0x52, 0x65, 0x73, 0x69,
|
|
|
|
|
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x6d, 0x70, 0x52, 0x65,
|
|
|
|
|
0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e,
|
|
|
|
|
0x72, 0x61, 0x6d, 0x70, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x28,
|
|
|
|
|
0x0a, 0x0f, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
|
|
|
|
0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65,
|
|
|
|
|
0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65,
|
|
|
|
|
0x64, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x2a,
|
|
|
|
|
0x0a, 0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65,
|
|
|
|
|
0x64, 0x31, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65,
|
|
|
|
|
0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x31, 0x12, 0x2a, 0x0a, 0x10, 0x68, 0x65,
|
|
|
|
|
0x61, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x18, 0x1e,
|
|
|
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x68, 0x65, 0x61, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
|
|
|
|
0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65,
|
|
|
|
|
0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x31, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
|
0x52, 0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65,
|
|
|
|
|
0x64, 0x31, 0x12, 0x2a, 0x0a, 0x10, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
|
|
|
|
0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x18, 0x20, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x74, 0x61,
|
|
|
|
|
0x69, 0x6c, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x32, 0x12, 0x26,
|
|
|
|
|
0x0a, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x52, 0x61, 0x64, 0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64,
|
|
|
|
|
0x18, 0x21, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x68, 0x65, 0x61, 0x64, 0x52, 0x61, 0x64, 0x61,
|
|
|
|
|
0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x61,
|
|
|
|
|
0x64, 0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x22, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e,
|
|
|
|
|
0x74, 0x61, 0x69, 0x6c, 0x52, 0x61, 0x64, 0x61, 0x72, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12, 0x30,
|
|
|
|
|
0x0a, 0x13, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75,
|
|
|
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x23, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x79, 0x6e,
|
|
|
|
|
0x61, 0x6d, 0x69, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x18, 0x24, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61,
|
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x76, 0x6f, 0x62, 0x63, 0x4c, 0x69, 0x66, 0x65,
|
|
|
|
|
0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x25, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x76, 0x6f,
|
|
|
|
|
0x62, 0x63, 0x4c, 0x69, 0x66, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09,
|
|
|
|
|
0x74, 0x63, 0x31, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x26, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x09, 0x74, 0x63, 0x31, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x63,
|
|
|
|
|
0x32, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x27, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x74,
|
|
|
|
|
0x63, 0x32, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x69, 0x72, 0x65,
|
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x18, 0x28, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x10, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72,
|
|
|
|
|
0x77, 0x61, 0x72, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x42, 0x61, 0x63, 0x6b, 0x77, 0x61, 0x72, 0x64, 0x18, 0x29, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x77, 0x61,
|
|
|
|
|
0x72, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x63,
|
|
|
|
|
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x72,
|
|
|
|
|
0x61, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2b, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x0d, 0x62, 0x72, 0x61, 0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
|
0x12, 0x36, 0x0a, 0x16, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x72, 0x61,
|
|
|
|
|
0x6b, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x16, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x72, 0x61, 0x6b, 0x69,
|
|
|
|
|
0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x74, 0x75, 0x72, 0x6e,
|
|
|
|
|
0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x0e, 0x74, 0x75, 0x72, 0x6e, 0x62, 0x61, 0x63, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x2e,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6a, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x61, 0x74, 0x6f, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61,
|
|
|
|
|
0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x61, 0x6d, 0x18, 0x30, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x03, 0x66, 0x61, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x61, 0x6d, 0x18, 0x31, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x03, 0x63, 0x61, 0x6d, 0x12, 0x34, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x18,
|
|
|
|
|
0x32, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53,
|
|
|
|
|
0x61, 0x66, 0x65, 0x74, 0x79, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x12, 0x2e, 0x0a, 0x12,
|
|
|
|
|
0x70, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x75, 0x73, 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x70, 0x61, 0x72, 0x6b, 0x69, 0x6e,
|
|
|
|
|
0x67, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x30, 0x0a, 0x13,
|
|
|
|
|
0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x75, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6d, 0x61, 0x69, 0x6e, 0x74,
|
|
|
|
|
0x61, 0x69, 0x6e, 0x42, 0x72, 0x61, 0x6b, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24,
|
|
|
|
|
0x0a, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x18,
|
|
|
|
|
0x35, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46,
|
|
|
|
|
0x6f, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x72, 0x61, 0x6b, 0x65, 0x46, 0x6f, 0x72,
|
|
|
|
|
0x63, 0x65, 0x18, 0x36, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6b, 0x65, 0x46,
|
|
|
|
|
0x6f, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x6f, 0x61,
|
|
|
|
|
0x64, 0x18, 0x37, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x4c, 0x6f,
|
|
|
|
|
0x61, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x65, 0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x4f, 0x70,
|
|
|
|
|
0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x38, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x13, 0x6c, 0x65, 0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d,
|
|
|
|
|
0x6d, 0x61, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x14, 0x72, 0x69, 0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f,
|
|
|
|
|
0x72, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x39, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x14, 0x72, 0x69, 0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x4f, 0x70, 0x65,
|
|
|
|
|
0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x14, 0x6c, 0x65, 0x66, 0x74,
|
|
|
|
|
0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64,
|
|
|
|
|
0x18, 0x3a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6c, 0x65, 0x66, 0x74, 0x44, 0x6f, 0x6f, 0x72,
|
|
|
|
|
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x34, 0x0a, 0x15,
|
|
|
|
|
0x72, 0x69, 0x67, 0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f,
|
|
|
|
|
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x3b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x72, 0x69, 0x67,
|
|
|
|
|
0x68, 0x74, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61,
|
|
|
|
|
0x6e, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f,
|
|
|
|
|
0x73, 0x65, 0x18, 0x3c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x6c, 0x6c, 0x44, 0x6f, 0x6f,
|
|
|
|
|
0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x76, 0x6f, 0x62, 0x63, 0x49, 0x6e,
|
|
|
|
|
0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x3d, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x10, 0x76, 0x6f, 0x62, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d,
|
|
|
|
|
0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x3e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
|
|
|
|
0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61,
|
|
|
|
|
0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x71, 0x74, 0x74, 0x52, 0x12, 0x74,
|
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
|
|
|
0x67, 0x12, 0x39, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x41, 0x18,
|
|
|
|
|
0x3f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72,
|
|
|
|
|
0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x71, 0x74, 0x74,
|
|
|
|
|
0x52, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x41, 0x12, 0x39, 0x0a, 0x0a,
|
|
|
|
|
0x74, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x42, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x19, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e,
|
|
|
|
|
0x64, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x71, 0x74, 0x74, 0x52, 0x0a, 0x74, 0x72, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x42, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c,
|
|
|
|
|
0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x41, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x44,
|
|
|
|
|
0x69, 0x73, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x74,
|
|
|
|
|
0x61, 0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x42, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0d, 0x52, 0x0c, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12,
|
|
|
|
|
0x1e, 0x0a, 0x0a, 0x74, 0x61, 0x69, 0x6c, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x43, 0x20,
|
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x61, 0x69, 0x6c, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
|
|
|
|
|
0x26, 0x0a, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x50, 0x6f, 0x72,
|
|
|
|
|
0x74, 0x18, 0x44, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x65, 0x76,
|
|
|
|
|
0x69, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2b, 0x0a, 0x08, 0x62, 0x74, 0x6d, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x18, 0x45, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x42, 0x54, 0x4d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x62, 0x74, 0x6d, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x08, 0x42, 0x54, 0x4d, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e,
|
|
|
|
|
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x64, 0x61, 0x74,
|
|
|
|
|
0x61, 0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x20, 0x0a,
|
|
|
|
|
0x0b, 0x62, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0d, 0x52, 0x0b, 0x62, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
|
|
|
0x26, 0x0a, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65,
|
|
|
|
|
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
|
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6c, 0x65, 0x67,
|
|
|
|
|
0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6c, 0x65, 0x67,
|
|
|
|
|
0x72, 0x61, 0x6d, 0x22, 0xe4, 0x04, 0x0a, 0x16, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e,
|
|
|
|
|
0x61, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4d, 0x71, 0x74, 0x74, 0x12, 0x20,
|
|
|
|
|
0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x41, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x41,
|
|
|
|
|
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x18,
|
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61,
|
|
|
|
|
0x6d, 0x42, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
|
|
|
|
0x43, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61,
|
|
|
|
|
0x72, 0x61, 0x6d, 0x43, 0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x31, 0x18, 0x04,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x31, 0x12, 0x36, 0x0a, 0x16,
|
|
|
|
|
0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50,
|
|
|
|
|
0x61, 0x72, 0x61, 0x6d, 0x52, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x75,
|
|
|
|
|
0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72,
|
|
|
|
|
0x61, 0x6d, 0x52, 0x32, 0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73,
|
|
|
|
|
0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x33, 0x18, 0x06,
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73,
|
|
|
|
|
0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x33, 0x12, 0x36, 0x0a, 0x16,
|
|
|
|
|
0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50,
|
|
|
|
|
0x61, 0x72, 0x61, 0x6d, 0x52, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x63, 0x75,
|
|
|
|
|
0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72,
|
|
|
|
|
0x61, 0x6d, 0x52, 0x34, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65, 0x76, 0x6f, 0x6c, 0x76, 0x69, 0x6e,
|
|
|
|
|
0x67, 0x4d, 0x61, 0x73, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x12, 0x72, 0x65, 0x76, 0x6f, 0x6c, 0x76, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x73, 0x73, 0x50,
|
|
|
|
|
0x61, 0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6a, 0x75, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01,
|
|
|
|
|
0x28, 0x08, 0x52, 0x04, 0x6a, 0x75, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x70,
|
|
|
|
|
0x41, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x41, 0x12, 0x14,
|
|
|
|
|
0x0a, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x52, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73,
|
|
|
|
|
0x6c, 0x69, 0x70, 0x52, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x44, 0x18, 0x0c, 0x20,
|
|
|
|
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x64,
|
|
|
|
|
0x6c, 0x69, 0x6e, 0x67, 0x41, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x6c,
|
|
|
|
|
0x69, 0x6e, 0x67, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x18,
|
|
|
|
|
0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x18,
|
|
|
|
|
0x0a, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x44, 0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x44, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70,
|
|
|
|
|
0x53, 0x69, 0x67, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x70,
|
|
|
|
|
0x53, 0x69, 0x67, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x18, 0x12, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x22, 0xa8, 0x03, 0x0a, 0x12, 0x54,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x4d, 0x71, 0x74,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x74, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73,
|
|
|
|
|
0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x41, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
|
|
|
|
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73,
|
|
|
|
|
0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x42, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x61, 0x64, 0x61, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x61, 0x64, 0x61, 0x72, 0x45, 0x6e, 0x61,
|
|
|
|
|
0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63,
|
|
|
|
|
0x6b, 0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x13, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x65,
|
|
|
|
|
0x64, 0x44, 0x69, 0x66, 0x66, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68,
|
|
|
|
|
0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72,
|
|
|
|
|
0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
|
|
|
|
|
0x09, 0x61, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x09, 0x61, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x61,
|
|
|
|
|
0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66,
|
|
|
|
|
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
|
|
0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x63,
|
|
|
|
|
0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x0c, 0x61, 0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a,
|
|
|
|
|
0x0b, 0x61, 0x63, 0x63, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01,
|
|
|
|
|
0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12,
|
|
|
|
|
0x24, 0x0a, 0x0d, 0x72, 0x61, 0x64, 0x61, 0x72, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64,
|
|
|
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x61, 0x64, 0x61, 0x72, 0x4f, 0x75, 0x74,
|
|
|
|
|
0x53, 0x70, 0x65, 0x65, 0x64, 0x22, 0x56, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
|
0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x78, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x02, 0x78, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
|
|
0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65,
|
|
|
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x49, 0x0a,
|
|
|
|
|
0x0b, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x64, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x64, 0x6f, 0x77, 0x6e,
|
|
|
|
|
0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x34, 0x0a, 0x0a, 0x41, 0x6c, 0x61, 0x72,
|
|
|
|
|
0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x34,
|
|
|
|
|
0x0a, 0x0a, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63,
|
|
|
|
|
0x74, 0x69, 0x76, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x08, 0x50, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x64, 0x12, 0x2d, 0x0a, 0x09, 0x61, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02,
|
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x73, 0x64,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x61, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73,
|
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x6d, 0x67, 0x6a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6d,
|
|
|
|
|
0x67, 0x6a, 0x12, 0x27, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x73, 0x64, 0x50,
|
|
|
|
|
0x61, 0x72, 0x61, 0x6d, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x7a,
|
|
|
|
|
0x61, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x7a, 0x61, 0x77, 0x22, 0x80, 0x01,
|
|
|
|
|
0x0a, 0x08, 0x41, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
|
|
|
|
|
0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12,
|
|
|
|
|
0x0a, 0x04, 0x6b, 0x6d, 0x64, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6b, 0x6d,
|
|
|
|
|
0x64, 0x77, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x6d, 0x64, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
|
0x52, 0x04, 0x67, 0x6d, 0x64, 0x77, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x67, 0x6a, 0x18, 0x04, 0x20,
|
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x03, 0x6d, 0x67, 0x6a, 0x12, 0x10, 0x0a, 0x03, 0x7a, 0x61, 0x77, 0x18,
|
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x7a, 0x61, 0x77, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f,
|
|
|
|
|
0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65,
|
|
|
|
|
0x22, 0x2e, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
|
0x67, 0x65, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x67, 0x65, 0x61, 0x72,
|
|
|
|
|
0x22, 0x52, 0x0a, 0x09, 0x4d, 0x6b, 0x78, 0x4a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a,
|
|
|
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
|
|
0x65, 0x12, 0x31, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18,
|
|
|
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65,
|
|
|
|
|
0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x22, 0x93, 0x02, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
|
|
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x2c, 0x0a, 0x02, 0x6b, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x1c, 0x2e, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x4b,
|
|
|
|
|
0x69, 0x6c, 0x6f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x02,
|
|
|
|
|
0x6b, 0x6d, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x54, 0x65, 0x6c, 0x65, 0x67,
|
|
|
|
|
0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64,
|
|
|
|
|
0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69, 0x78, 0x65,
|
|
|
|
|
0x64, 0x55, 0x73, 0x65, 0x72, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x04, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x11, 0x66, 0x69, 0x78, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x54, 0x65,
|
|
|
|
|
0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x2a, 0x0a, 0x10, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62,
|
|
|
|
|
0x6c, 0x65, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x10, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72,
|
|
|
|
|
0x61, 0x6d, 0x12, 0x32, 0x0a, 0x14, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x73,
|
|
|
|
|
0x65, 0x72, 0x54, 0x65, 0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
|
0x52, 0x14, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x54, 0x65,
|
|
|
|
|
0x6c, 0x65, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x07,
|
|
|
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0xb0, 0x01, 0x0a, 0x09, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x63, 0x12, 0x32, 0x0a, 0x08, 0x71, 0x64, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x63, 0x2e, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x52, 0x08, 0x71, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x08,
|
|
|
|
|
0x63, 0x6a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
|
|
|
|
|
0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x63,
|
|
|
|
|
0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x08, 0x63, 0x6a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73,
|
|
|
|
|
0x1a, 0x3b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x6f, 0x77,
|
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x72, 0x6f, 0x77, 0x12, 0x10, 0x0a, 0x03, 0x63,
|
|
|
|
|
0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x6f, 0x6c, 0x12, 0x0e, 0x0a,
|
|
|
|
|
0x02, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6e, 0x22, 0xa1, 0x02,
|
|
|
|
|
0x0a, 0x0f, 0x56, 0x61, 0x72, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
|
0x73, 0x12, 0x38, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e,
|
|
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x75,
|
|
|
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x72,
|
|
|
|
|
0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
|
0x03, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x0d, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x53, 0x77,
|
|
|
|
|
0x69, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d,
|
|
|
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x3b, 0x0a,
|
|
|
|
|
0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
|
|
|
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x65,
|
|
|
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x75, 0x70, 0x64, 0x61,
|
|
|
|
|
0x74, 0x65, 0x64, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x35, 0x0a, 0x0c, 0x75, 0x70,
|
|
|
|
|
0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x61, 0x74, 0x65, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6c,
|
|
|
|
|
0x79, 0x22, 0xb8, 0x05, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x52, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0b,
|
|
|
|
|
0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x12, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x2e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x73,
|
|
|
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x72,
|
|
|
|
|
0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34,
|
|
|
|
|
0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20,
|
|
|
|
|
0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e,
|
|
|
|
|
0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x62,
|
|
|
|
|
0x75, 0x74, 0x74, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x41, 0x6c,
|
|
|
|
|
0x61, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11,
|
|
|
|
|
0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x52, 0x0a, 0x41, 0x6c, 0x61, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a,
|
|
|
|
|
0x0a, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x12, 0x2b, 0x0a, 0x08, 0x70, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x03,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x73, 0x64, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x52, 0x08, 0x70, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x0a,
|
|
|
|
|
0x08, 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x0f, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x52, 0x08, 0x4b, 0x65, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x70, 0x6c,
|
|
|
|
|
0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x03, 0x28,
|
|
|
|
|
0x0b, 0x32, 0x14, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f,
|
|
|
|
|
0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72,
|
|
|
|
|
0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x62, 0x61, 0x6c, 0x69, 0x73, 0x65,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
|
|
|
|
|
0x0b, 0x62, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x09,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x63, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x10, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51,
|
|
|
|
|
0x63, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x63, 0x22, 0x94, 0x01, 0x0a,
|
|
|
|
|
0x13, 0x50, 0x75, 0x73, 0x68, 0x65, 0x64, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x34, 0x0a, 0x09, 0x76, 0x61, 0x72, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
|
0x73, 0x52, 0x09, 0x76, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x09,
|
|
|
|
|
0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x17, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x76, 0x69, 0x63,
|
|
|
|
|
0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61,
|
|
|
|
|
0x74, 0x75, 0x73, 0x22, 0xc2, 0x01, 0x0a, 0x10, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69,
|
|
|
|
|
0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x3d, 0x0a, 0x05,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x53,
|
|
|
|
|
0x69, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x08,
|
|
|
|
|
0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x6e,
|
|
|
|
|
0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x61, 0x75, 0x73, 0x65, 0x10, 0x02,
|
|
|
|
|
0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x44,
|
|
|
|
|
0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x10, 0x04, 0x22, 0xc0, 0x01, 0x0a, 0x1e, 0x53, 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, 0x12, 0x42, 0x0a, 0x06, 0x73,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x73, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x2e, 0x53, 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, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22,
|
|
|
|
|
0x3a, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x6e, 0x64, 0x65, 0x66,
|
|
|
|
|
0x69, 0x6e, 0x65, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69,
|
|
|
|
|
0x63, 0x73, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x65, 0x6d, 0x69, 0x50, 0x68, 0x79, 0x73,
|
|
|
|
|
0x69, 0x63, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x22, 0x1e, 0x0a, 0x05, 0x53,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x10, 0x00,
|
|
|
|
|
0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x22, 0xa8, 0x01, 0x0a, 0x23,
|
|
|
|
|
0x53, 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, 0x53, 0x74,
|
|
|
|
|
0x61, 0x74, 0x65, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
|
0x0e, 0x32, 0x2a, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 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, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74,
|
|
|
|
|
0x79, 0x70, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x69, 0x6d, 0x75, 0x6c,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x68, 0x69, 0x72, 0x64, 0x50, 0x61, 0x72, 0x74, 0x79, 0x41,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
0x70, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
|
|
|
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0xdd, 0x04, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x09,
|
|
|
|
|
0x63, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
|
0x15, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e,
|
|
|
|
|
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x6e, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x12, 0x41, 0x0a, 0x07, 0x65, 0x62, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0b, 0x32, 0x27, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e,
|
|
|
|
|
0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x6d, 0x65,
|
|
|
|
|
0x72, 0x67, 0x65, 0x6e, 0x74, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x62, 0x75,
|
|
|
|
|
0x74, 0x74, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x09, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4b, 0x65,
|
|
|
|
|
0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e,
|
|
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69, 0x74, 0x63,
|
|
|
|
|
0x68, 0x52, 0x09, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x43, 0x0a, 0x06,
|
|
|
|
|
0x64, 0x69, 0x72, 0x4b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
|
|
|
|
|
0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x4b, 0x65, 0x79, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x06, 0x64, 0x69, 0x72, 0x4b, 0x65,
|
|
|
|
|
0x79, 0x12, 0x46, 0x0a, 0x0b, 0x70, 0x75, 0x73, 0x68, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72,
|
|
|
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54,
|
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
|
|
|
0x2e, 0x50, 0x75, 0x73, 0x68, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x0b, 0x70, 0x75,
|
|
|
|
|
0x73, 0x68, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x1a, 0x38, 0x0a, 0x0e, 0x45, 0x6d, 0x65,
|
|
|
|
|
0x72, 0x67, 0x65, 0x6e, 0x74, 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, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x73,
|
|
|
|
|
0x73, 0x65, 0x64, 0x1a, 0x58, 0x0a, 0x0f, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x4b, 0x65, 0x79,
|
|
|
|
|
0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20,
|
|
|
|
|
0x01, 0x28, 0x08, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x12, 0x23, 0x0a, 0x02, 0x64, 0x74, 0x18, 0x03,
|
|
|
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44,
|
|
|
|
|
0x72, 0x69, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x64, 0x74, 0x1a, 0x36, 0x0a,
|
|
|
|
|
0x12, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x53, 0x77, 0x69,
|
|
|
|
|
0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
|
|
|
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
|
|
|
|
|
0x52, 0x03, 0x76, 0x61, 0x6c, 0x1a, 0x2f, 0x0a, 0x0b, 0x50, 0x75, 0x73, 0x68, 0x48, 0x61, 0x6e,
|
|
|
|
|
0x64, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
|
|
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
|
0x05, 0x52, 0x03, 0x76, 0x61, 0x6c, 0x2a, 0x37, 0x0a, 0x0b, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
|
|
|
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x6e, 0x79, 0x10, 0x00, 0x12, 0x08,
|
|
|
|
|
0x0a, 0x04, 0x41, 0x78, 0x6c, 0x65, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
|
|
0x63, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x10, 0x03, 0x42,
|
|
|
|
|
0x67, 0x0a, 0x25, 0x63, 0x6c, 0x75, 0x62, 0x2e, 0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e, 0x6b, 0x2e,
|
|
|
|
|
0x62, 0x6a, 0x72, 0x74, 0x73, 0x73, 0x2e, 0x61, 0x74, 0x73, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66,
|
|
|
|
|
0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x42, 0x10, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
|
|
|
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x2c, 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, 0x73, 0x74, 0x61,
|
|
|
|
|
0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
file_device_state_proto_rawDescOnce sync.Once
|
|
|
|
|
file_device_state_proto_rawDescData = file_device_state_proto_rawDesc
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func file_device_state_proto_rawDescGZIP() []byte {
|
|
|
|
|
file_device_state_proto_rawDescOnce.Do(func() {
|
|
|
|
|
file_device_state_proto_rawDescData = protoimpl.X.CompressGZIP(file_device_state_proto_rawDescData)
|
|
|
|
|
})
|
|
|
|
|
return file_device_state_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
2024-03-15 16:03:47 +08:00
|
|
|
|
var file_device_state_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
|
2024-03-19 08:28:50 +08:00
|
|
|
|
var file_device_state_proto_msgTypes = make([]protoimpl.MessageInfo, 38)
|
2023-07-28 15:57:37 +08:00
|
|
|
|
var file_device_state_proto_goTypes = []interface{}{
|
2024-03-19 08:28:50 +08:00
|
|
|
|
(SectionType)(0), // 0: state.SectionType
|
|
|
|
|
(Signal_Aspect)(0), // 1: state.Signal.Aspect
|
|
|
|
|
(TrainConnState_TrainConnType)(0), // 2: state.TrainConnState.TrainConnType
|
|
|
|
|
(SimulationStatus_SimulationState)(0), // 3: state.SimulationStatus.SimulationState
|
|
|
|
|
(SimulationThirdPartyApiService_Type)(0), // 4: state.SimulationThirdPartyApiService.Type
|
|
|
|
|
(SimulationThirdPartyApiService_State)(0), // 5: state.SimulationThirdPartyApiService.State
|
|
|
|
|
(*LinkState)(nil), // 6: state.LinkState
|
|
|
|
|
(*SectionState)(nil), // 7: state.SectionState
|
|
|
|
|
(*SwitchState)(nil), // 8: state.SwitchState
|
|
|
|
|
(*SignalState)(nil), // 9: state.SignalState
|
|
|
|
|
(*Signal)(nil), // 10: state.Signal
|
|
|
|
|
(*PlatformState)(nil), // 11: state.PlatformState
|
|
|
|
|
(*StationState)(nil), // 12: state.StationState
|
|
|
|
|
(*TrainConnState)(nil), // 13: state.TrainConnState
|
|
|
|
|
(*TrainState)(nil), // 14: state.TrainState
|
|
|
|
|
(*TrainDynamicState)(nil), // 15: state.TrainDynamicState
|
|
|
|
|
(*TrainVobcState)(nil), // 16: state.TrainVobcState
|
|
|
|
|
(*TrainMapState)(nil), // 17: state.TrainMapState
|
|
|
|
|
(*BTMState)(nil), // 18: state.BTMState
|
|
|
|
|
(*TrainDynamicConfigMqtt)(nil), // 19: state.TrainDynamicConfigMqtt
|
|
|
|
|
(*TrainEndsStateMqtt)(nil), // 20: state.TrainEndsStateMqtt
|
|
|
|
|
(*ReplyState)(nil), // 21: state.ReplyState
|
|
|
|
|
(*ButtonState)(nil), // 22: state.ButtonState
|
|
|
|
|
(*AlarmState)(nil), // 23: state.AlarmState
|
|
|
|
|
(*LightState)(nil), // 24: state.LightState
|
|
|
|
|
(*PsdState)(nil), // 25: state.PsdState
|
|
|
|
|
(*AsdState)(nil), // 26: state.AsdState
|
|
|
|
|
(*KeyState)(nil), // 27: state.KeyState
|
|
|
|
|
(*MkxJState)(nil), // 28: state.MkxJState
|
|
|
|
|
(*BaliseState)(nil), // 29: state.BaliseState
|
|
|
|
|
(*StationQc)(nil), // 30: state.StationQc
|
|
|
|
|
(*VariationStatus)(nil), // 31: state.VariationStatus
|
|
|
|
|
(*AllDevicesStatus)(nil), // 32: state.AllDevicesStatus
|
|
|
|
|
(*PushedDevicesStatus)(nil), // 33: state.PushedDevicesStatus
|
|
|
|
|
(*SimulationStatus)(nil), // 34: state.SimulationStatus
|
|
|
|
|
(*SimulationThirdPartyApiService)(nil), // 35: state.SimulationThirdPartyApiService
|
|
|
|
|
(*SimulationThirdPartyApiServiceState)(nil), // 36: state.SimulationThirdPartyApiServiceState
|
|
|
|
|
(*TrainControlState)(nil), // 37: state.TrainControlState
|
|
|
|
|
nil, // 38: state.SignalState.RelayStateMapEntry
|
|
|
|
|
(*StationQc_State)(nil), // 39: state.StationQc.State
|
|
|
|
|
(*TrainControlState_EmergentButton)(nil), // 40: state.TrainControlState.EmergentButton
|
|
|
|
|
(*TrainControlState_DriverKeySwitch)(nil), // 41: state.TrainControlState.DriverKeySwitch
|
|
|
|
|
(*TrainControlState_DirectionKeySwitch)(nil), // 42: state.TrainControlState.DirectionKeySwitch
|
|
|
|
|
(*TrainControlState_PushHandler)(nil), // 43: state.TrainControlState.PushHandler
|
|
|
|
|
(*request_proto.PointsParam)(nil), // 44: request.PointsParam
|
|
|
|
|
(*request_proto.SignalParam)(nil), // 45: request.SignalParam
|
|
|
|
|
(*common_proto.TrainDynamicConfig)(nil), // 46: common.TrainDynamicConfig
|
|
|
|
|
(*common_proto.TrainEndsState)(nil), // 47: common.TrainEndsState
|
|
|
|
|
(*request_proto.PsdParam)(nil), // 48: request.PsdParam
|
|
|
|
|
(*data_proto.KilometerSystem)(nil), // 49: graphicData.KilometerSystem
|
|
|
|
|
(request_proto.DriverType)(0), // 50: request.DriverType
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
var file_device_state_proto_depIdxs = []int32{
|
2024-03-19 08:28:50 +08:00
|
|
|
|
44, // 0: state.SwitchState.param:type_name -> request.PointsParam
|
2024-01-18 14:11:47 +08:00
|
|
|
|
1, // 1: state.SignalState.aspect:type_name -> state.Signal.Aspect
|
2024-03-19 08:28:50 +08:00
|
|
|
|
45, // 2: state.SignalState.param:type_name -> request.SignalParam
|
|
|
|
|
38, // 3: state.SignalState.relayStateMap:type_name -> state.SignalState.RelayStateMapEntry
|
2024-03-15 16:03:47 +08:00
|
|
|
|
21, // 4: state.PlatformState.spksState:type_name -> state.ReplyState
|
|
|
|
|
28, // 5: state.PlatformState.mkxJState:type_name -> state.MkxJState
|
|
|
|
|
2, // 6: state.TrainConnState.connType:type_name -> state.TrainConnState.TrainConnType
|
|
|
|
|
15, // 7: state.TrainState.dynamicState:type_name -> state.TrainDynamicState
|
|
|
|
|
16, // 8: state.TrainState.vobcState:type_name -> state.TrainVobcState
|
2024-03-19 08:28:50 +08:00
|
|
|
|
46, // 9: state.TrainState.trainDynamicConfig:type_name -> common.TrainDynamicConfig
|
|
|
|
|
47, // 10: state.TrainState.trainEndsA:type_name -> common.TrainEndsState
|
|
|
|
|
47, // 11: state.TrainState.trainEndsB:type_name -> common.TrainEndsState
|
2024-03-15 16:03:47 +08:00
|
|
|
|
18, // 12: state.TrainState.btmState:type_name -> state.BTMState
|
2024-03-19 08:28:50 +08:00
|
|
|
|
37, // 13: state.TrainState.tcc:type_name -> state.TrainControlState
|
2024-03-15 16:03:47 +08:00
|
|
|
|
19, // 14: state.TrainMapState.trainDynamicConfig:type_name -> state.TrainDynamicConfigMqtt
|
|
|
|
|
20, // 15: state.TrainMapState.trainEndsA:type_name -> state.TrainEndsStateMqtt
|
|
|
|
|
20, // 16: state.TrainMapState.trainEndsB:type_name -> state.TrainEndsStateMqtt
|
|
|
|
|
18, // 17: state.TrainMapState.btmState:type_name -> state.BTMState
|
2024-03-19 08:28:50 +08:00
|
|
|
|
26, // 18: state.PsdState.asdStates:type_name -> state.AsdState
|
|
|
|
|
48, // 19: state.PsdState.param:type_name -> request.PsdParam
|
|
|
|
|
21, // 20: state.MkxJState.replyState:type_name -> state.ReplyState
|
|
|
|
|
49, // 21: state.BaliseState.km:type_name -> graphicData.KilometerSystem
|
|
|
|
|
39, // 22: state.StationQc.qdStates:type_name -> state.StationQc.State
|
|
|
|
|
39, // 23: state.StationQc.cjStates:type_name -> state.StationQc.State
|
|
|
|
|
17, // 24: state.VariationStatus.updatedTrain:type_name -> state.TrainMapState
|
|
|
|
|
8, // 25: state.VariationStatus.updatedSwitch:type_name -> state.SwitchState
|
|
|
|
|
7, // 26: state.VariationStatus.updatedSection:type_name -> state.SectionState
|
|
|
|
|
21, // 27: state.VariationStatus.updatedReply:type_name -> state.ReplyState
|
|
|
|
|
17, // 28: state.AllDevicesStatus.trainState:type_name -> state.TrainMapState
|
|
|
|
|
8, // 29: state.AllDevicesStatus.switchState:type_name -> state.SwitchState
|
|
|
|
|
7, // 30: state.AllDevicesStatus.sectionState:type_name -> state.SectionState
|
|
|
|
|
21, // 31: state.AllDevicesStatus.replyState:type_name -> state.ReplyState
|
|
|
|
|
9, // 32: state.AllDevicesStatus.signalState:type_name -> state.SignalState
|
|
|
|
|
22, // 33: state.AllDevicesStatus.buttonState:type_name -> state.ButtonState
|
|
|
|
|
23, // 34: state.AllDevicesStatus.AlarmState:type_name -> state.AlarmState
|
|
|
|
|
24, // 35: state.AllDevicesStatus.LightState:type_name -> state.LightState
|
|
|
|
|
25, // 36: state.AllDevicesStatus.psdState:type_name -> state.PsdState
|
|
|
|
|
27, // 37: state.AllDevicesStatus.KeyState:type_name -> state.KeyState
|
|
|
|
|
11, // 38: state.AllDevicesStatus.platformState:type_name -> state.PlatformState
|
|
|
|
|
29, // 39: state.AllDevicesStatus.baliseState:type_name -> state.BaliseState
|
|
|
|
|
30, // 40: state.AllDevicesStatus.stationQc:type_name -> state.StationQc
|
|
|
|
|
31, // 41: state.PushedDevicesStatus.varStatus:type_name -> state.VariationStatus
|
|
|
|
|
32, // 42: state.PushedDevicesStatus.allStatus:type_name -> state.AllDevicesStatus
|
|
|
|
|
3, // 43: state.SimulationStatus.state:type_name -> state.SimulationStatus.SimulationState
|
|
|
|
|
36, // 44: state.SimulationThirdPartyApiService.states:type_name -> state.SimulationThirdPartyApiServiceState
|
|
|
|
|
4, // 45: state.SimulationThirdPartyApiServiceState.type:type_name -> state.SimulationThirdPartyApiService.Type
|
|
|
|
|
5, // 46: state.SimulationThirdPartyApiServiceState.state:type_name -> state.SimulationThirdPartyApiService.State
|
|
|
|
|
13, // 47: state.TrainControlState.connState:type_name -> state.TrainConnState
|
|
|
|
|
40, // 48: state.TrainControlState.ebutton:type_name -> state.TrainControlState.EmergentButton
|
|
|
|
|
41, // 49: state.TrainControlState.driverKey:type_name -> state.TrainControlState.DriverKeySwitch
|
|
|
|
|
42, // 50: state.TrainControlState.dirKey:type_name -> state.TrainControlState.DirectionKeySwitch
|
|
|
|
|
43, // 51: state.TrainControlState.pushHandler:type_name -> state.TrainControlState.PushHandler
|
|
|
|
|
50, // 52: state.TrainControlState.DriverKeySwitch.dt:type_name -> request.DriverType
|
|
|
|
|
53, // [53:53] is the sub-list for method output_type
|
|
|
|
|
53, // [53:53] is the sub-list for method input_type
|
|
|
|
|
53, // [53:53] is the sub-list for extension type_name
|
|
|
|
|
53, // [53:53] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:53] is the sub-list for field type_name
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_device_state_proto_init() }
|
|
|
|
|
func file_device_state_proto_init() {
|
|
|
|
|
if File_device_state_proto != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
|
file_device_state_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*LinkState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*SectionState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*SwitchState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*SignalState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
switch v := v.(*Signal); i {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
switch v := v.(*PlatformState); i {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
switch v := v.(*StationState); i {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainConnState); i {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainState); i {
|
2023-07-28 15:57:37 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainDynamicState); i {
|
2023-08-30 13:25:57 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainVobcState); i {
|
2023-09-27 18:02:07 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainMapState); i {
|
2023-10-13 14:41:55 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*BTMState); i {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainDynamicConfigMqtt); i {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*TrainEndsStateMqtt); i {
|
2023-10-17 17:51:26 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*ReplyState); i {
|
2023-11-02 18:00:18 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*ButtonState); i {
|
2023-11-03 10:41:53 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*AlarmState); i {
|
2023-11-06 14:30:09 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*LightState); i {
|
2023-12-15 09:48:42 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*PsdState); i {
|
2024-01-10 14:06:01 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*AsdState); i {
|
2024-01-16 17:53:54 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*KeyState); i {
|
2024-01-17 13:09:45 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*MkxJState); i {
|
2024-01-17 17:53:53 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-17 17:54:30 +08:00
|
|
|
|
file_device_state_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*BaliseState); i {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*StationQc); i {
|
2024-01-18 16:33:27 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*VariationStatus); i {
|
2023-10-20 10:59:27 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-01-22 13:10:10 +08:00
|
|
|
|
file_device_state_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*AllDevicesStatus); i {
|
2024-01-22 13:10:10 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*PushedDevicesStatus); i {
|
2024-01-29 14:42:12 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*SimulationStatus); i {
|
2024-02-06 16:39:56 +08:00
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
2024-03-15 16:03:47 +08:00
|
|
|
|
switch v := v.(*SimulationThirdPartyApiService); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
2024-01-22 13:10:10 +08:00
|
|
|
|
switch v := v.(*SimulationThirdPartyApiServiceState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-19 08:28:50 +08:00
|
|
|
|
file_device_state_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*TrainControlState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
2024-01-29 14:42:12 +08:00
|
|
|
|
switch v := v.(*StationQc_State); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-19 08:28:50 +08:00
|
|
|
|
file_device_state_proto_msgTypes[34].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[35].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*TrainControlState_DriverKeySwitch); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*TrainControlState_DirectionKeySwitch); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*TrainControlState_PushHandler); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-07-28 15:57:37 +08:00
|
|
|
|
}
|
|
|
|
|
type x struct{}
|
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_device_state_proto_rawDesc,
|
2024-03-15 16:03:47 +08:00
|
|
|
|
NumEnums: 6,
|
2024-03-19 08:28:50 +08:00
|
|
|
|
NumMessages: 38,
|
2023-07-28 15:57:37 +08:00
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|
GoTypes: file_device_state_proto_goTypes,
|
|
|
|
|
DependencyIndexes: file_device_state_proto_depIdxs,
|
|
|
|
|
EnumInfos: file_device_state_proto_enumTypes,
|
|
|
|
|
MessageInfos: file_device_state_proto_msgTypes,
|
|
|
|
|
}.Build()
|
|
|
|
|
File_device_state_proto = out.File
|
|
|
|
|
file_device_state_proto_rawDesc = nil
|
|
|
|
|
file_device_state_proto_goTypes = nil
|
|
|
|
|
file_device_state_proto_depIdxs = nil
|
|
|
|
|
}
|