1676 lines
49 KiB
Go
1676 lines
49 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.31.0
|
||
// protoc v4.23.1
|
||
// source: status.proto
|
||
|
||
package cstate
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
// 信号机显示枚举
|
||
type SignalAspect int32
|
||
|
||
const (
|
||
// 无显示,灭灯
|
||
SignalAspect_No SignalAspect = 0
|
||
// 红
|
||
SignalAspect_R SignalAspect = 1
|
||
// 绿
|
||
SignalAspect_G SignalAspect = 2
|
||
// 黄
|
||
SignalAspect_Y SignalAspect = 3
|
||
// 月白
|
||
SignalAspect_W SignalAspect = 4
|
||
// 蓝
|
||
SignalAspect_B SignalAspect = 5
|
||
// 红黄
|
||
SignalAspect_RY SignalAspect = 6
|
||
// 红白
|
||
SignalAspect_RW SignalAspect = 7
|
||
// 绿绿
|
||
SignalAspect_GG SignalAspect = 8
|
||
// 绿黄
|
||
SignalAspect_GY SignalAspect = 9
|
||
// 黄黄
|
||
SignalAspect_YY SignalAspect = 10
|
||
// 红闪(flashing)
|
||
SignalAspect_RF SignalAspect = 11
|
||
// 黄闪(flashing)
|
||
SignalAspect_YF SignalAspect = 12
|
||
// 绿闪(flashing)
|
||
SignalAspect_GF SignalAspect = 13
|
||
// 白闪(flashing)
|
||
SignalAspect_WF SignalAspect = 14
|
||
)
|
||
|
||
// Enum value maps for SignalAspect.
|
||
var (
|
||
SignalAspect_name = map[int32]string{
|
||
0: "No",
|
||
1: "R",
|
||
2: "G",
|
||
3: "Y",
|
||
4: "W",
|
||
5: "B",
|
||
6: "RY",
|
||
7: "RW",
|
||
8: "GG",
|
||
9: "GY",
|
||
10: "YY",
|
||
11: "RF",
|
||
12: "YF",
|
||
13: "GF",
|
||
14: "WF",
|
||
}
|
||
SignalAspect_value = map[string]int32{
|
||
"No": 0,
|
||
"R": 1,
|
||
"G": 2,
|
||
"Y": 3,
|
||
"W": 4,
|
||
"B": 5,
|
||
"RY": 6,
|
||
"RW": 7,
|
||
"GG": 8,
|
||
"GY": 9,
|
||
"YY": 10,
|
||
"RF": 11,
|
||
"YF": 12,
|
||
"GF": 13,
|
||
"WF": 14,
|
||
}
|
||
)
|
||
|
||
func (x SignalAspect) Enum() *SignalAspect {
|
||
p := new(SignalAspect)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x SignalAspect) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (SignalAspect) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_status_proto_enumTypes[0].Descriptor()
|
||
}
|
||
|
||
func (SignalAspect) Type() protoreflect.EnumType {
|
||
return &file_status_proto_enumTypes[0]
|
||
}
|
||
|
||
func (x SignalAspect) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use SignalAspect.Descriptor instead.
|
||
func (SignalAspect) EnumDescriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
// 列车激活的枚举
|
||
type TrainActiveEnum int32
|
||
|
||
const (
|
||
// 列车两端均未激活
|
||
TrainActiveEnum_HEAD_N TrainActiveEnum = 0
|
||
// 列车A端激活
|
||
TrainActiveEnum_HEAD_A TrainActiveEnum = 1
|
||
// 列车B端激活
|
||
TrainActiveEnum_HEAD_B TrainActiveEnum = 2
|
||
)
|
||
|
||
// Enum value maps for TrainActiveEnum.
|
||
var (
|
||
TrainActiveEnum_name = map[int32]string{
|
||
0: "HEAD_N",
|
||
1: "HEAD_A",
|
||
2: "HEAD_B",
|
||
}
|
||
TrainActiveEnum_value = map[string]int32{
|
||
"HEAD_N": 0,
|
||
"HEAD_A": 1,
|
||
"HEAD_B": 2,
|
||
}
|
||
)
|
||
|
||
func (x TrainActiveEnum) Enum() *TrainActiveEnum {
|
||
p := new(TrainActiveEnum)
|
||
*p = x
|
||
return p
|
||
}
|
||
|
||
func (x TrainActiveEnum) String() string {
|
||
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
}
|
||
|
||
func (TrainActiveEnum) Descriptor() protoreflect.EnumDescriptor {
|
||
return file_status_proto_enumTypes[1].Descriptor()
|
||
}
|
||
|
||
func (TrainActiveEnum) Type() protoreflect.EnumType {
|
||
return &file_status_proto_enumTypes[1]
|
||
}
|
||
|
||
func (x TrainActiveEnum) Number() protoreflect.EnumNumber {
|
||
return protoreflect.EnumNumber(x)
|
||
}
|
||
|
||
// Deprecated: Use TrainActiveEnum.Descriptor instead.
|
||
func (TrainActiveEnum) EnumDescriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
// 设备身份信息
|
||
type DeviceIdentity struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 设备id
|
||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
}
|
||
|
||
func (x *DeviceIdentity) Reset() {
|
||
*x = DeviceIdentity{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *DeviceIdentity) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*DeviceIdentity) ProtoMessage() {}
|
||
|
||
func (x *DeviceIdentity) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_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 DeviceIdentity.ProtoReflect.Descriptor instead.
|
||
func (*DeviceIdentity) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *DeviceIdentity) GetId() string {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
// 道岔逻辑继电器状态
|
||
// 继电器为逻辑上的继电器,不对应真实继电器,仅用于道岔逻辑实现
|
||
type SwitchRelayState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 定操继电器
|
||
// true-继电器吸合
|
||
DcJ bool `protobuf:"varint,1,opt,name=dcJ,proto3" json:"dcJ,omitempty"`
|
||
// 反操继电器
|
||
// true-继电器吸合
|
||
FcJ bool `protobuf:"varint,2,opt,name=fcJ,proto3" json:"fcJ,omitempty"`
|
||
// 定表继电器
|
||
// true-继电器吸合表示道岔转动到定位
|
||
DbJ bool `protobuf:"varint,3,opt,name=dbJ,proto3" json:"dbJ,omitempty"`
|
||
// 反表继电器
|
||
// true-继电器吸合表示道岔转动到反位
|
||
FbJ bool `protobuf:"varint,4,opt,name=fbJ,proto3" json:"fbJ,omitempty"`
|
||
}
|
||
|
||
func (x *SwitchRelayState) Reset() {
|
||
*x = SwitchRelayState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SwitchRelayState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SwitchRelayState) ProtoMessage() {}
|
||
|
||
func (x *SwitchRelayState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_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 SwitchRelayState.ProtoReflect.Descriptor instead.
|
||
func (*SwitchRelayState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *SwitchRelayState) GetDcJ() bool {
|
||
if x != nil {
|
||
return x.DcJ
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SwitchRelayState) GetFcJ() bool {
|
||
if x != nil {
|
||
return x.FcJ
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SwitchRelayState) GetDbJ() bool {
|
||
if x != nil {
|
||
return x.DbJ
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SwitchRelayState) GetFbJ() bool {
|
||
if x != nil {
|
||
return x.FbJ
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 道岔逻辑控制状态
|
||
// 通过计算道岔移动速度及方向来实现控制
|
||
type SwitchControlState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 触发定操
|
||
FireDcj bool `protobuf:"varint,1,opt,name=fireDcj,proto3" json:"fireDcj,omitempty"`
|
||
// 触发反操
|
||
FireFcj bool `protobuf:"varint,2,opt,name=fireFcj,proto3" json:"fireFcj,omitempty"`
|
||
// 道岔从0-100耗时,单位ms
|
||
LhDistance int64 `protobuf:"varint,4,opt,name=lhDistance,proto3" json:"lhDistance,omitempty"`
|
||
}
|
||
|
||
func (x *SwitchControlState) Reset() {
|
||
*x = SwitchControlState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SwitchControlState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SwitchControlState) ProtoMessage() {}
|
||
|
||
func (x *SwitchControlState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_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 SwitchControlState.ProtoReflect.Descriptor instead.
|
||
func (*SwitchControlState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *SwitchControlState) GetFireDcj() bool {
|
||
if x != nil {
|
||
return x.FireDcj
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SwitchControlState) GetFireFcj() bool {
|
||
if x != nil {
|
||
return x.FireFcj
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SwitchControlState) GetLhDistance() int64 {
|
||
if x != nil {
|
||
return x.LhDistance
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 物理区段状态
|
||
type PhysicalSectionState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// true-区段占用,false-区段未占用
|
||
Occupied bool `protobuf:"varint,1,opt,name=occupied,proto3" json:"occupied,omitempty"`
|
||
}
|
||
|
||
func (x *PhysicalSectionState) Reset() {
|
||
*x = PhysicalSectionState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PhysicalSectionState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PhysicalSectionState) ProtoMessage() {}
|
||
|
||
func (x *PhysicalSectionState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_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 PhysicalSectionState.ProtoReflect.Descriptor instead.
|
||
func (*PhysicalSectionState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *PhysicalSectionState) GetOccupied() bool {
|
||
if x != nil {
|
||
return x.Occupied
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 信号机状态
|
||
type SignalState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 信号机显示状态
|
||
Display SignalAspect `protobuf:"varint,1,opt,name=display,proto3,enum=cstate.SignalAspect" json:"display,omitempty"`
|
||
}
|
||
|
||
func (x *SignalState) Reset() {
|
||
*x = SignalState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[4]
|
||
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_status_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 SignalState.ProtoReflect.Descriptor instead.
|
||
func (*SignalState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *SignalState) GetDisplay() SignalAspect {
|
||
if x != nil {
|
||
return x.Display
|
||
}
|
||
return SignalAspect_No
|
||
}
|
||
|
||
// 信号机显示操作
|
||
type SignalDisplayOperating struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 是否执行操作
|
||
StartOperate bool `protobuf:"varint,1,opt,name=startOperate,proto3" json:"startOperate,omitempty"`
|
||
// 执行操作剩余时长,单位ms
|
||
OperateTime int64 `protobuf:"varint,2,opt,name=operateTime,proto3" json:"operateTime,omitempty"`
|
||
// 信号机目标显示
|
||
TargetAspect SignalAspect `protobuf:"varint,3,opt,name=targetAspect,proto3,enum=cstate.SignalAspect" json:"targetAspect,omitempty"`
|
||
}
|
||
|
||
func (x *SignalDisplayOperating) Reset() {
|
||
*x = SignalDisplayOperating{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *SignalDisplayOperating) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SignalDisplayOperating) ProtoMessage() {}
|
||
|
||
func (x *SignalDisplayOperating) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[5]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SignalDisplayOperating.ProtoReflect.Descriptor instead.
|
||
func (*SignalDisplayOperating) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *SignalDisplayOperating) GetStartOperate() bool {
|
||
if x != nil {
|
||
return x.StartOperate
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *SignalDisplayOperating) GetOperateTime() int64 {
|
||
if x != nil {
|
||
return x.OperateTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *SignalDisplayOperating) GetTargetAspect() SignalAspect {
|
||
if x != nil {
|
||
return x.TargetAspect
|
||
}
|
||
return SignalAspect_No
|
||
}
|
||
|
||
// 站台一侧屏蔽门状态
|
||
type PsdState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 所有单个屏蔽门是否全关
|
||
AllClosed bool `protobuf:"varint,1,opt,name=allClosed,proto3" json:"allClosed,omitempty"`
|
||
// 所有单个屏蔽门是否全开
|
||
AllOpened bool `protobuf:"varint,2,opt,name=allOpened,proto3" json:"allOpened,omitempty"`
|
||
// 是否互锁解除,当互锁解除时ATS不关注该侧屏蔽门的状态
|
||
InterlockReleased bool `protobuf:"varint,3,opt,name=interlockReleased,proto3" json:"interlockReleased,omitempty"`
|
||
}
|
||
|
||
func (x *PsdState) Reset() {
|
||
*x = PsdState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[6]
|
||
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 {
|
||
mi := &file_status_proto_msgTypes[6]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use PsdState.ProtoReflect.Descriptor instead.
|
||
func (*PsdState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *PsdState) GetAllClosed() bool {
|
||
if x != nil {
|
||
return x.AllClosed
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *PsdState) GetAllOpened() bool {
|
||
if x != nil {
|
||
return x.AllOpened
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *PsdState) GetInterlockReleased() bool {
|
||
if x != nil {
|
||
return x.InterlockReleased
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 比率设备
|
||
type PercentageDeviceState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 当前比率,值范围[0,100000]
|
||
Rate int64 `protobuf:"varint,1,opt,name=rate,proto3" json:"rate,omitempty"`
|
||
// 最终目标比率
|
||
Target int64 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"`
|
||
}
|
||
|
||
func (x *PercentageDeviceState) Reset() {
|
||
*x = PercentageDeviceState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *PercentageDeviceState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*PercentageDeviceState) ProtoMessage() {}
|
||
|
||
func (x *PercentageDeviceState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_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 PercentageDeviceState.ProtoReflect.Descriptor instead.
|
||
func (*PercentageDeviceState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *PercentageDeviceState) GetRate() int64 {
|
||
if x != nil {
|
||
return x.Rate
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *PercentageDeviceState) GetTarget() int64 {
|
||
if x != nil {
|
||
return x.Target
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 按速度移动的设备,具体如道岔、门等
|
||
type MovableDeviceState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 变动方向
|
||
// true-位置增大;false-位置变小
|
||
ToH bool `protobuf:"varint,1,opt,name=toH,proto3" json:"toH,omitempty"`
|
||
// 变动速率,一个world tick的位置变动率
|
||
Speed int32 `protobuf:"varint,2,opt,name=speed,proto3" json:"speed,omitempty"`
|
||
// 被移动的物体的位置
|
||
Position int64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"`
|
||
}
|
||
|
||
func (x *MovableDeviceState) Reset() {
|
||
*x = MovableDeviceState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *MovableDeviceState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MovableDeviceState) ProtoMessage() {}
|
||
|
||
func (x *MovableDeviceState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[8]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MovableDeviceState.ProtoReflect.Descriptor instead.
|
||
func (*MovableDeviceState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *MovableDeviceState) GetToH() bool {
|
||
if x != nil {
|
||
return x.ToH
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *MovableDeviceState) GetSpeed() int32 {
|
||
if x != nil {
|
||
return x.Speed
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MovableDeviceState) GetPosition() int64 {
|
||
if x != nil {
|
||
return x.Position
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 应答器状态
|
||
type BaliseState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 应答器报文
|
||
Content *BaliseContent `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
||
}
|
||
|
||
func (x *BaliseState) Reset() {
|
||
*x = BaliseState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[9]
|
||
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 {
|
||
mi := &file_status_proto_msgTypes[9]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BaliseState.ProtoReflect.Descriptor instead.
|
||
func (*BaliseState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{9}
|
||
}
|
||
|
||
func (x *BaliseState) GetContent() *BaliseContent {
|
||
if x != nil {
|
||
return x.Content
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 应答器报文定义
|
||
type BaliseContent struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 报文id
|
||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
// 报文类型
|
||
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
||
// 应答器报文
|
||
Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
|
||
}
|
||
|
||
func (x *BaliseContent) Reset() {
|
||
*x = BaliseContent{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[10]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *BaliseContent) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*BaliseContent) ProtoMessage() {}
|
||
|
||
func (x *BaliseContent) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[10]
|
||
if protoimpl.UnsafeEnabled && x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use BaliseContent.ProtoReflect.Descriptor instead.
|
||
func (*BaliseContent) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{10}
|
||
}
|
||
|
||
func (x *BaliseContent) GetId() string {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *BaliseContent) GetType() int32 {
|
||
if x != nil {
|
||
return x.Type
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *BaliseContent) GetContent() []byte {
|
||
if x != nil {
|
||
return x.Content
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// ////////////////////////////////////////////////////////
|
||
// 列车占用轨道位置定义
|
||
type OccupiedLinkPosition struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 轨道id
|
||
LinkId string `protobuf:"bytes,1,opt,name=linkId,proto3" json:"linkId,omitempty"`
|
||
// 占用起始偏移
|
||
StartOffset int64 `protobuf:"varint,2,opt,name=startOffset,proto3" json:"startOffset,omitempty"`
|
||
// 占用终点偏移
|
||
EndOffset int64 `protobuf:"varint,3,opt,name=endOffset,proto3" json:"endOffset,omitempty"`
|
||
}
|
||
|
||
func (x *OccupiedLinkPosition) Reset() {
|
||
*x = OccupiedLinkPosition{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[11]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *OccupiedLinkPosition) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*OccupiedLinkPosition) ProtoMessage() {}
|
||
|
||
func (x *OccupiedLinkPosition) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[11]
|
||
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 OccupiedLinkPosition.ProtoReflect.Descriptor instead.
|
||
func (*OccupiedLinkPosition) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{11}
|
||
}
|
||
|
||
func (x *OccupiedLinkPosition) GetLinkId() string {
|
||
if x != nil {
|
||
return x.LinkId
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *OccupiedLinkPosition) GetStartOffset() int64 {
|
||
if x != nil {
|
||
return x.StartOffset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *OccupiedLinkPosition) GetEndOffset() int64 {
|
||
if x != nil {
|
||
return x.EndOffset
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 列车状态定义
|
||
type TrainState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 列车激活端
|
||
ActiveHead TrainActiveEnum `protobuf:"varint,1,opt,name=activeHead,proto3,enum=cstate.TrainActiveEnum" json:"activeHead,omitempty"`
|
||
// 列车所占的轨道位置列表
|
||
OccupiedLinks []*OccupiedLinkPosition `protobuf:"bytes,7,rep,name=occupiedLinks,proto3" json:"occupiedLinks,omitempty"`
|
||
}
|
||
|
||
func (x *TrainState) Reset() {
|
||
*x = TrainState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[12]
|
||
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 {
|
||
mi := &file_status_proto_msgTypes[12]
|
||
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) {
|
||
return file_status_proto_rawDescGZIP(), []int{12}
|
||
}
|
||
|
||
func (x *TrainState) GetActiveHead() TrainActiveEnum {
|
||
if x != nil {
|
||
return x.ActiveHead
|
||
}
|
||
return TrainActiveEnum_HEAD_N
|
||
}
|
||
|
||
func (x *TrainState) GetOccupiedLinks() []*OccupiedLinkPosition {
|
||
if x != nil {
|
||
return x.OccupiedLinks
|
||
}
|
||
return nil
|
||
}
|
||
|
||
// 自复位按钮、非自复位按钮、两档位旋钮
|
||
// pos1与pos2含义有用户规定
|
||
// 如自复位按钮:规定pos1=true时按钮按下,pos2=true时按钮弹起,当pos1=false且pos2=false时状态未知
|
||
// 操作方式为由用户指令即时操作
|
||
type TowPositionButtonState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 是否在位置一,true-到达位置一
|
||
Pos1 bool `protobuf:"varint,1,opt,name=pos1,proto3" json:"pos1,omitempty"`
|
||
// 是否在位置二,true-到达位置二
|
||
Pos2 bool `protobuf:"varint,2,opt,name=pos2,proto3" json:"pos2,omitempty"`
|
||
}
|
||
|
||
func (x *TowPositionButtonState) Reset() {
|
||
*x = TowPositionButtonState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[13]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TowPositionButtonState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TowPositionButtonState) ProtoMessage() {}
|
||
|
||
func (x *TowPositionButtonState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[13]
|
||
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 TowPositionButtonState.ProtoReflect.Descriptor instead.
|
||
func (*TowPositionButtonState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{13}
|
||
}
|
||
|
||
func (x *TowPositionButtonState) GetPos1() bool {
|
||
if x != nil {
|
||
return x.Pos1
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TowPositionButtonState) GetPos2() bool {
|
||
if x != nil {
|
||
return x.Pos2
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 继电器设备状态
|
||
type RelayState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// true-继电器处于激活输出状态;false-继电器处于未激活状态
|
||
Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
|
||
}
|
||
|
||
func (x *RelayState) Reset() {
|
||
*x = RelayState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[14]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *RelayState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*RelayState) ProtoMessage() {}
|
||
|
||
func (x *RelayState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[14]
|
||
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 RelayState.ProtoReflect.Descriptor instead.
|
||
func (*RelayState) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{14}
|
||
}
|
||
|
||
func (x *RelayState) GetActive() bool {
|
||
if x != nil {
|
||
return x.Active
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 按钮状态
|
||
type ButtonState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 是否按下
|
||
PressDown bool `protobuf:"varint,1,opt,name=pressDown,proto3" json:"pressDown,omitempty"`
|
||
}
|
||
|
||
func (x *ButtonState) Reset() {
|
||
*x = ButtonState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[15]
|
||
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 {
|
||
mi := &file_status_proto_msgTypes[15]
|
||
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) {
|
||
return file_status_proto_rawDescGZIP(), []int{15}
|
||
}
|
||
|
||
func (x *ButtonState) GetPressDown() bool {
|
||
if x != nil {
|
||
return x.PressDown
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 按钮按下、抬起操作
|
||
type ButtonPressOperating struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 开始操作
|
||
Start bool `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
|
||
// 是否按下(true)、抬起(false)
|
||
Down bool `protobuf:"varint,2,opt,name=down,proto3" json:"down,omitempty"`
|
||
// 倒计时
|
||
OperateTime int64 `protobuf:"varint,3,opt,name=operateTime,proto3" json:"operateTime,omitempty"`
|
||
// 需确认
|
||
NeedConfirm bool `protobuf:"varint,4,opt,name=needConfirm,proto3" json:"needConfirm,omitempty"`
|
||
}
|
||
|
||
func (x *ButtonPressOperating) Reset() {
|
||
*x = ButtonPressOperating{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[16]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ButtonPressOperating) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ButtonPressOperating) ProtoMessage() {}
|
||
|
||
func (x *ButtonPressOperating) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[16]
|
||
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 ButtonPressOperating.ProtoReflect.Descriptor instead.
|
||
func (*ButtonPressOperating) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{16}
|
||
}
|
||
|
||
func (x *ButtonPressOperating) GetStart() bool {
|
||
if x != nil {
|
||
return x.Start
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ButtonPressOperating) GetDown() bool {
|
||
if x != nil {
|
||
return x.Down
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ButtonPressOperating) GetOperateTime() int64 {
|
||
if x != nil {
|
||
return x.OperateTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *ButtonPressOperating) GetNeedConfirm() bool {
|
||
if x != nil {
|
||
return x.NeedConfirm
|
||
}
|
||
return false
|
||
}
|
||
|
||
// 按钮确认操作
|
||
type ButtonConfirmOperating struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 确认操作
|
||
Confirm bool `protobuf:"varint,1,opt,name=confirm,proto3" json:"confirm,omitempty"`
|
||
// 取消
|
||
Cancel bool `protobuf:"varint,2,opt,name=cancel,proto3" json:"cancel,omitempty"`
|
||
}
|
||
|
||
func (x *ButtonConfirmOperating) Reset() {
|
||
*x = ButtonConfirmOperating{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_status_proto_msgTypes[17]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *ButtonConfirmOperating) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ButtonConfirmOperating) ProtoMessage() {}
|
||
|
||
func (x *ButtonConfirmOperating) ProtoReflect() protoreflect.Message {
|
||
mi := &file_status_proto_msgTypes[17]
|
||
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 ButtonConfirmOperating.ProtoReflect.Descriptor instead.
|
||
func (*ButtonConfirmOperating) Descriptor() ([]byte, []int) {
|
||
return file_status_proto_rawDescGZIP(), []int{17}
|
||
}
|
||
|
||
func (x *ButtonConfirmOperating) GetConfirm() bool {
|
||
if x != nil {
|
||
return x.Confirm
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *ButtonConfirmOperating) GetCancel() bool {
|
||
if x != nil {
|
||
return x.Cancel
|
||
}
|
||
return false
|
||
}
|
||
|
||
var File_status_proto protoreflect.FileDescriptor
|
||
|
||
var file_status_proto_rawDesc = []byte{
|
||
0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06,
|
||
0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x20, 0x0a, 0x0e, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65,
|
||
0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x5a, 0x0a, 0x10, 0x53, 0x77, 0x69, 0x74,
|
||
0x63, 0x68, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
||
0x64, 0x63, 0x4a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x63, 0x4a, 0x12, 0x10,
|
||
0x0a, 0x03, 0x66, 0x63, 0x4a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x66, 0x63, 0x4a,
|
||
0x12, 0x10, 0x0a, 0x03, 0x64, 0x62, 0x4a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64,
|
||
0x62, 0x4a, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x62, 0x4a, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||
0x03, 0x66, 0x62, 0x4a, 0x22, 0x68, 0x0a, 0x12, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x43, 0x6f,
|
||
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69,
|
||
0x72, 0x65, 0x44, 0x63, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x69, 0x72,
|
||
0x65, 0x44, 0x63, 0x6a, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x72, 0x65, 0x46, 0x63, 0x6a, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x69, 0x72, 0x65, 0x46, 0x63, 0x6a, 0x12, 0x1e,
|
||
0x0a, 0x0a, 0x6c, 0x68, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01,
|
||
0x28, 0x03, 0x52, 0x0a, 0x6c, 0x68, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x32,
|
||
0x0a, 0x14, 0x50, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69,
|
||
0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x69,
|
||
0x65, 0x64, 0x22, 0x3d, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74,
|
||
0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x0e, 0x32, 0x14, 0x2e, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e,
|
||
0x61, 0x6c, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x07, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
||
0x79, 0x22, 0x98, 0x01, 0x0a, 0x16, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x44, 0x69, 0x73, 0x70,
|
||
0x6c, 0x61, 0x79, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x0a, 0x0c,
|
||
0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||
0x28, 0x08, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65,
|
||
0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54, 0x69,
|
||
0x6d, 0x65, 0x12, 0x38, 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x73, 0x70, 0x65,
|
||
0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x63, 0x73, 0x74, 0x61, 0x74,
|
||
0x65, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x0c,
|
||
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x22, 0x74, 0x0a, 0x08,
|
||
0x50, 0x73, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x43,
|
||
0x6c, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c,
|
||
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x6c, 0x4f, 0x70, 0x65,
|
||
0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x6c, 0x6c, 0x4f, 0x70,
|
||
0x65, 0x6e, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x6f, 0x63,
|
||
0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||
0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73,
|
||
0x65, 0x64, 0x22, 0x43, 0x0a, 0x15, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65,
|
||
0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
||
0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x12,
|
||
0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||
0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x58, 0x0a, 0x12, 0x4d, 0x6f, 0x76, 0x61, 0x62,
|
||
0x6c, 0x65, 0x44, 0x65, 0x76, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a,
|
||
0x03, 0x74, 0x6f, 0x48, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x6f, 0x48, 0x12,
|
||
0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||
0x73, 0x70, 0x65, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
|
||
0x6e, 0x22, 0x3e, 0x0a, 0x0b, 0x42, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65,
|
||
0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
0x0b, 0x32, 0x15, 0x2e, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x42, 0x61, 0x6c, 0x69, 0x73,
|
||
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
||
0x74, 0x22, 0x4d, 0x0a, 0x0d, 0x42, 0x61, 0x6c, 0x69, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
||
0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
||
0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
|
||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
||
0x22, 0x6e, 0x0a, 0x14, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b,
|
||
0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x69, 0x6e, 0x6b,
|
||
0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x69, 0x6e, 0x6b, 0x49, 0x64,
|
||
0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
|
||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73,
|
||
0x65, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18,
|
||
0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
||
0x22, 0x89, 0x01, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
|
||
0x37, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x48, 0x65, 0x61, 0x64, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x72, 0x61,
|
||
0x69, 0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x61, 0x63,
|
||
0x74, 0x69, 0x76, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x42, 0x0a, 0x0d, 0x6f, 0x63, 0x63, 0x75,
|
||
0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||
0x1c, 0x2e, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65,
|
||
0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6f,
|
||
0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x22, 0x40, 0x0a, 0x16,
|
||
0x54, 0x6f, 0x77, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x75, 0x74, 0x74, 0x6f,
|
||
0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x73, 0x31, 0x18, 0x01,
|
||
0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x6f, 0x73, 0x31, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f,
|
||
0x73, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x6f, 0x73, 0x32, 0x22, 0x24,
|
||
0x0a, 0x0a, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
||
0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63,
|
||
0x74, 0x69, 0x76, 0x65, 0x22, 0x2b, 0x0a, 0x0b, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x53, 0x74,
|
||
0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x77, 0x6e,
|
||
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x70, 0x72, 0x65, 0x73, 0x73, 0x44, 0x6f, 0x77,
|
||
0x6e, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x42, 0x75, 0x74, 0x74, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x73,
|
||
0x73, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
|
||
0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74,
|
||
0x12, 0x12, 0x0a, 0x04, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
|
||
0x64, 0x6f, 0x77, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x65, 0x54,
|
||
0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
||
0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x65, 0x65, 0x64, 0x43, 0x6f,
|
||
0x6e, 0x66, 0x69, 0x72, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6e, 0x65, 0x65,
|
||
0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x22, 0x4a, 0x0a, 0x16, 0x42, 0x75, 0x74, 0x74,
|
||
0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
|
||
0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x18, 0x01, 0x20,
|
||
0x01, 0x28, 0x08, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x12, 0x16, 0x0a, 0x06,
|
||
0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61,
|
||
0x6e, 0x63, 0x65, 0x6c, 0x2a, 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x41,
|
||
0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x06, 0x0a, 0x02, 0x4e, 0x6f, 0x10, 0x00, 0x12, 0x05, 0x0a,
|
||
0x01, 0x52, 0x10, 0x01, 0x12, 0x05, 0x0a, 0x01, 0x47, 0x10, 0x02, 0x12, 0x05, 0x0a, 0x01, 0x59,
|
||
0x10, 0x03, 0x12, 0x05, 0x0a, 0x01, 0x57, 0x10, 0x04, 0x12, 0x05, 0x0a, 0x01, 0x42, 0x10, 0x05,
|
||
0x12, 0x06, 0x0a, 0x02, 0x52, 0x59, 0x10, 0x06, 0x12, 0x06, 0x0a, 0x02, 0x52, 0x57, 0x10, 0x07,
|
||
0x12, 0x06, 0x0a, 0x02, 0x47, 0x47, 0x10, 0x08, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x59, 0x10, 0x09,
|
||
0x12, 0x06, 0x0a, 0x02, 0x59, 0x59, 0x10, 0x0a, 0x12, 0x06, 0x0a, 0x02, 0x52, 0x46, 0x10, 0x0b,
|
||
0x12, 0x06, 0x0a, 0x02, 0x59, 0x46, 0x10, 0x0c, 0x12, 0x06, 0x0a, 0x02, 0x47, 0x46, 0x10, 0x0d,
|
||
0x12, 0x06, 0x0a, 0x02, 0x57, 0x46, 0x10, 0x0e, 0x2a, 0x35, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x69,
|
||
0x6e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0a, 0x0a, 0x06, 0x48,
|
||
0x45, 0x41, 0x44, 0x5f, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, 0x44, 0x5f,
|
||
0x41, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x48, 0x45, 0x41, 0x44, 0x5f, 0x42, 0x10, 0x02, 0x42,
|
||
0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x63, 0x73, 0x74, 0x61, 0x74, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||
0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_status_proto_rawDescOnce sync.Once
|
||
file_status_proto_rawDescData = file_status_proto_rawDesc
|
||
)
|
||
|
||
func file_status_proto_rawDescGZIP() []byte {
|
||
file_status_proto_rawDescOnce.Do(func() {
|
||
file_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_status_proto_rawDescData)
|
||
})
|
||
return file_status_proto_rawDescData
|
||
}
|
||
|
||
var file_status_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||
var file_status_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||
var file_status_proto_goTypes = []interface{}{
|
||
(SignalAspect)(0), // 0: cstate.SignalAspect
|
||
(TrainActiveEnum)(0), // 1: cstate.TrainActiveEnum
|
||
(*DeviceIdentity)(nil), // 2: cstate.DeviceIdentity
|
||
(*SwitchRelayState)(nil), // 3: cstate.SwitchRelayState
|
||
(*SwitchControlState)(nil), // 4: cstate.SwitchControlState
|
||
(*PhysicalSectionState)(nil), // 5: cstate.PhysicalSectionState
|
||
(*SignalState)(nil), // 6: cstate.SignalState
|
||
(*SignalDisplayOperating)(nil), // 7: cstate.SignalDisplayOperating
|
||
(*PsdState)(nil), // 8: cstate.PsdState
|
||
(*PercentageDeviceState)(nil), // 9: cstate.PercentageDeviceState
|
||
(*MovableDeviceState)(nil), // 10: cstate.MovableDeviceState
|
||
(*BaliseState)(nil), // 11: cstate.BaliseState
|
||
(*BaliseContent)(nil), // 12: cstate.BaliseContent
|
||
(*OccupiedLinkPosition)(nil), // 13: cstate.OccupiedLinkPosition
|
||
(*TrainState)(nil), // 14: cstate.TrainState
|
||
(*TowPositionButtonState)(nil), // 15: cstate.TowPositionButtonState
|
||
(*RelayState)(nil), // 16: cstate.RelayState
|
||
(*ButtonState)(nil), // 17: cstate.ButtonState
|
||
(*ButtonPressOperating)(nil), // 18: cstate.ButtonPressOperating
|
||
(*ButtonConfirmOperating)(nil), // 19: cstate.ButtonConfirmOperating
|
||
}
|
||
var file_status_proto_depIdxs = []int32{
|
||
0, // 0: cstate.SignalState.display:type_name -> cstate.SignalAspect
|
||
0, // 1: cstate.SignalDisplayOperating.targetAspect:type_name -> cstate.SignalAspect
|
||
12, // 2: cstate.BaliseState.content:type_name -> cstate.BaliseContent
|
||
1, // 3: cstate.TrainState.activeHead:type_name -> cstate.TrainActiveEnum
|
||
13, // 4: cstate.TrainState.occupiedLinks:type_name -> cstate.OccupiedLinkPosition
|
||
5, // [5:5] is the sub-list for method output_type
|
||
5, // [5:5] is the sub-list for method input_type
|
||
5, // [5:5] is the sub-list for extension type_name
|
||
5, // [5:5] is the sub-list for extension extendee
|
||
0, // [0:5] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_status_proto_init() }
|
||
func file_status_proto_init() {
|
||
if File_status_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_status_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*DeviceIdentity); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SwitchRelayState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SwitchControlState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PhysicalSectionState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[4].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_status_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*SignalDisplayOperating); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PsdState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*PercentageDeviceState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*MovableDeviceState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BaliseState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*BaliseContent); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*OccupiedLinkPosition); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TrainState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TowPositionButtonState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*RelayState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ButtonState); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ButtonPressOperating); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_status_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*ButtonConfirmOperating); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
}
|
||
type x struct{}
|
||
out := protoimpl.TypeBuilder{
|
||
File: protoimpl.DescBuilder{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: file_status_proto_rawDesc,
|
||
NumEnums: 2,
|
||
NumMessages: 18,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_status_proto_goTypes,
|
||
DependencyIndexes: file_status_proto_depIdxs,
|
||
EnumInfos: file_status_proto_enumTypes,
|
||
MessageInfos: file_status_proto_msgTypes,
|
||
}.Build()
|
||
File_status_proto = out.File
|
||
file_status_proto_rawDesc = nil
|
||
file_status_proto_goTypes = nil
|
||
file_status_proto_depIdxs = nil
|
||
}
|