|
|
|
@ -483,6 +483,8 @@ type TrainState struct {
|
|
|
|
|
PointTo bool `protobuf:"varint,28,opt,name=pointTo,proto3" json:"pointTo,omitempty"`
|
|
|
|
|
// 运行上下行(公里标 上行:小 -> 大,下行:大 -> 小)
|
|
|
|
|
RunDirection bool `protobuf:"varint,29,opt,name=runDirection,proto3" json:"runDirection,omitempty"`
|
|
|
|
|
// 列车车头方向
|
|
|
|
|
HeadDirection bool `protobuf:"varint,30,opt,name=headDirection,proto3" json:"headDirection,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) Reset() {
|
|
|
|
@ -720,6 +722,269 @@ func (x *TrainState) GetRunDirection() bool {
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainState) GetHeadDirection() bool {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeadDirection
|
|
|
|
|
}
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 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"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TrainVobcState) Reset() {
|
|
|
|
|
*x = TrainVobcState{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[7]
|
|
|
|
|
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 {
|
|
|
|
|
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 TrainVobcState.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*TrainVobcState) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 仿真运行时状态变化量,当前时刻与上一时刻比较得到
|
|
|
|
|
type VariationStatus struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
@ -739,7 +1004,7 @@ type VariationStatus struct {
|
|
|
|
|
func (x *VariationStatus) Reset() {
|
|
|
|
|
*x = VariationStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[7]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -752,7 +1017,7 @@ func (x *VariationStatus) String() string {
|
|
|
|
|
func (*VariationStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[7]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -765,7 +1030,7 @@ func (x *VariationStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use VariationStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*VariationStatus) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{7}
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *VariationStatus) GetUpdatedTrain() []*TrainState {
|
|
|
|
@ -813,7 +1078,7 @@ type AllDevicesStatus struct {
|
|
|
|
|
func (x *AllDevicesStatus) Reset() {
|
|
|
|
|
*x = AllDevicesStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -826,7 +1091,7 @@ func (x *AllDevicesStatus) String() string {
|
|
|
|
|
func (*AllDevicesStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[8]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -839,7 +1104,7 @@ func (x *AllDevicesStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use AllDevicesStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*AllDevicesStatus) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{8}
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *AllDevicesStatus) GetTrainState() []*TrainState {
|
|
|
|
@ -881,7 +1146,7 @@ type PushedDevicesStatus struct {
|
|
|
|
|
func (x *PushedDevicesStatus) Reset() {
|
|
|
|
|
*x = PushedDevicesStatus{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[10]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
@ -894,7 +1159,7 @@ func (x *PushedDevicesStatus) String() string {
|
|
|
|
|
func (*PushedDevicesStatus) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[9]
|
|
|
|
|
mi := &file_device_state_proto_msgTypes[10]
|
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
@ -907,7 +1172,7 @@ func (x *PushedDevicesStatus) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
|
|
// Deprecated: Use PushedDevicesStatus.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*PushedDevicesStatus) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{9}
|
|
|
|
|
return file_device_state_proto_rawDescGZIP(), []int{10}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *PushedDevicesStatus) GetAll() bool {
|
|
|
|
@ -956,7 +1221,7 @@ var file_device_state_proto_rawDesc = []byte{
|
|
|
|
|
0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 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, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xf0, 0x07, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x96, 0x08, 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, 0x1e, 0x0a, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x4c, 0x69,
|
|
|
|
@ -1019,52 +1284,114 @@ var file_device_state_proto_rawDesc = []byte{
|
|
|
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x6f, 0x18, 0x1c, 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, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x75,
|
|
|
|
|
0x6e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xe7, 0x01, 0x0a, 0x0f, 0x56,
|
|
|
|
|
0x61, 0x72, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35,
|
|
|
|
|
0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x18, 0x01,
|
|
|
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61,
|
|
|
|
|
0x69, 0x6e, 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,
|
|
|
|
|
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, 0x1e, 0x20, 0x01, 0x28,
|
|
|
|
|
0x08, 0x52, 0x0d, 0x68, 0x65, 0x61, 0x64, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
|
|
|
0x22, 0xba, 0x07, 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, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x63, 0x31, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
|
|
|
0x18, 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, 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, 0x04, 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, 0x05, 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, 0x06, 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, 0x07, 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, 0x08, 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, 0x09, 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, 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, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x74, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x61, 0x6d,
|
|
|
|
|
0x18, 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, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x43,
|
|
|
|
|
0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x18, 0x0e, 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, 0x0f, 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, 0x10, 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, 0x11, 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, 0x12, 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, 0x13, 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, 0x14, 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, 0x15, 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, 0x16, 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, 0x17, 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, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
|
0x0c, 0x61, 0x6c, 0x6c, 0x44, 0x6f, 0x6f, 0x72, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x22, 0xe7, 0x01,
|
|
|
|
|
0x0a, 0x0f, 0x56, 0x61, 0x72, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
|
0x73, 0x12, 0x35, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x72, 0x61, 0x69,
|
|
|
|
|
0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e,
|
|
|
|
|
0x54, 0x72, 0x61, 0x69, 0x6e, 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, 0x22, 0xb4, 0x01, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x44,
|
|
|
|
|
0x65, 0x76, 0x69, 0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x0a,
|
|
|
|
|
0x74, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
|
0x32, 0x11, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 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, 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, 0x22, 0xb4, 0x01, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x44, 0x65, 0x76, 0x69,
|
|
|
|
|
0x63, 0x65, 0x73, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x31, 0x0a, 0x0a, 0x74, 0x72, 0x61,
|
|
|
|
|
0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
|
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x69, 0x6e, 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, 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, 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, 0x54, 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, 0x19, 0x2e, 0x2f, 0x61, 0x74, 0x73, 0x2f, 0x76, 0x65,
|
|
|
|
|
0x72, 0x69, 0x66, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
|
0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
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, 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, 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, 0x54,
|
|
|
|
|
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, 0x19, 0x2e, 0x2f, 0x61, 0x74, 0x73,
|
|
|
|
|
0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x73,
|
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -1080,7 +1407,7 @@ func file_device_state_proto_rawDescGZIP() []byte {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_device_state_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
|
var file_device_state_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
|
|
var file_device_state_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
|
|
var file_device_state_proto_goTypes = []interface{}{
|
|
|
|
|
(SectionType)(0), // 0: state.SectionType
|
|
|
|
|
(*LinkState)(nil), // 1: state.LinkState
|
|
|
|
@ -1090,25 +1417,26 @@ var file_device_state_proto_goTypes = []interface{}{
|
|
|
|
|
(*PlatformState)(nil), // 5: state.PlatformState
|
|
|
|
|
(*StationState)(nil), // 6: state.StationState
|
|
|
|
|
(*TrainState)(nil), // 7: state.TrainState
|
|
|
|
|
(*VariationStatus)(nil), // 8: state.VariationStatus
|
|
|
|
|
(*AllDevicesStatus)(nil), // 9: state.AllDevicesStatus
|
|
|
|
|
(*PushedDevicesStatus)(nil), // 10: state.PushedDevicesStatus
|
|
|
|
|
(*TrainVobcState)(nil), // 8: state.TrainVobcState
|
|
|
|
|
(*VariationStatus)(nil), // 9: state.VariationStatus
|
|
|
|
|
(*AllDevicesStatus)(nil), // 10: state.AllDevicesStatus
|
|
|
|
|
(*PushedDevicesStatus)(nil), // 11: state.PushedDevicesStatus
|
|
|
|
|
}
|
|
|
|
|
var file_device_state_proto_depIdxs = []int32{
|
|
|
|
|
0, // 0: state.SectionState.type:type_name -> state.SectionType
|
|
|
|
|
7, // 1: state.VariationStatus.updatedTrain:type_name -> state.TrainState
|
|
|
|
|
3, // 2: state.VariationStatus.updatedSwitch:type_name -> state.SwitchState
|
|
|
|
|
2, // 3: state.VariationStatus.updatedSection:type_name -> state.SectionState
|
|
|
|
|
7, // 4: state.AllDevicesStatus.trainState:type_name -> state.TrainState
|
|
|
|
|
3, // 5: state.AllDevicesStatus.switchState:type_name -> state.SwitchState
|
|
|
|
|
2, // 6: state.AllDevicesStatus.sectionState:type_name -> state.SectionState
|
|
|
|
|
8, // 7: state.PushedDevicesStatus.varStatus:type_name -> state.VariationStatus
|
|
|
|
|
9, // 8: state.PushedDevicesStatus.allStatus:type_name -> state.AllDevicesStatus
|
|
|
|
|
9, // [9:9] is the sub-list for method output_type
|
|
|
|
|
9, // [9:9] is the sub-list for method input_type
|
|
|
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
|
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:9] is the sub-list for field type_name
|
|
|
|
|
0, // 0: state.SectionState.type:type_name -> state.SectionType
|
|
|
|
|
7, // 1: state.VariationStatus.updatedTrain:type_name -> state.TrainState
|
|
|
|
|
3, // 2: state.VariationStatus.updatedSwitch:type_name -> state.SwitchState
|
|
|
|
|
2, // 3: state.VariationStatus.updatedSection:type_name -> state.SectionState
|
|
|
|
|
7, // 4: state.AllDevicesStatus.trainState:type_name -> state.TrainState
|
|
|
|
|
3, // 5: state.AllDevicesStatus.switchState:type_name -> state.SwitchState
|
|
|
|
|
2, // 6: state.AllDevicesStatus.sectionState:type_name -> state.SectionState
|
|
|
|
|
9, // 7: state.PushedDevicesStatus.varStatus:type_name -> state.VariationStatus
|
|
|
|
|
10, // 8: state.PushedDevicesStatus.allStatus:type_name -> state.AllDevicesStatus
|
|
|
|
|
9, // [9:9] is the sub-list for method output_type
|
|
|
|
|
9, // [9:9] is the sub-list for method input_type
|
|
|
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
|
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
|
|
|
0, // [0:9] is the sub-list for field type_name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { file_device_state_proto_init() }
|
|
|
|
@ -1202,7 +1530,7 @@ func file_device_state_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*VariationStatus); i {
|
|
|
|
|
switch v := v.(*TrainVobcState); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1214,7 +1542,7 @@ func file_device_state_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*AllDevicesStatus); i {
|
|
|
|
|
switch v := v.(*VariationStatus); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
@ -1226,6 +1554,18 @@ func file_device_state_proto_init() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*AllDevicesStatus); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
|
case 1:
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
case 2:
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
default:
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_device_state_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*PushedDevicesStatus); i {
|
|
|
|
|
case 0:
|
|
|
|
|
return &v.state
|
|
|
|
@ -1244,7 +1584,7 @@ func file_device_state_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_device_state_proto_rawDesc,
|
|
|
|
|
NumEnums: 1,
|
|
|
|
|
NumMessages: 10,
|
|
|
|
|
NumMessages: 11,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|