rts-sim-module/component/component_data/ci.pb.go

1306 lines
46 KiB
Go
Raw Normal View History

2023-12-29 17:48:57 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc v4.23.1
// source: component/ci.proto
package component_data
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 Signal_Aspect int32
const (
// 红灯亮
Signal_H Signal_Aspect = 0
// 绿灯亮
Signal_L Signal_Aspect = 1
// 黄灯亮
Signal_U Signal_Aspect = 2
// 黄红灯亮(引导信号)
Signal_UH Signal_Aspect = 3
// 白灯亮
Signal_B Signal_Aspect = 4
// 蓝灯亮
Signal_A Signal_Aspect = 5
)
// Enum value maps for Signal_Aspect.
var (
Signal_Aspect_name = map[int32]string{
0: "H",
1: "L",
2: "U",
3: "UH",
4: "B",
5: "A",
}
Signal_Aspect_value = map[string]int32{
"H": 0,
"L": 1,
"U": 2,
"UH": 3,
"B": 4,
"A": 5,
}
)
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_component_ci_proto_enumTypes[0].Descriptor()
}
func (Signal_Aspect) Type() protoreflect.EnumType {
return &file_component_ci_proto_enumTypes[0]
}
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_component_ci_proto_rawDescGZIP(), []int{4, 0}
}
// 进路信号控制级别
type RouteSignal_ControlLevel int32
const (
// 关闭
RouteSignal_Close RouteSignal_ControlLevel = 0
// 引导信号控制级别
RouteSignal_CallOn RouteSignal_ControlLevel = 1
// 移动闭塞信号控制级别
RouteSignal_CTC RouteSignal_ControlLevel = 2
// 主信号控制级别
RouteSignal_Main RouteSignal_ControlLevel = 3
)
// Enum value maps for RouteSignal_ControlLevel.
var (
RouteSignal_ControlLevel_name = map[int32]string{
0: "Close",
1: "CallOn",
2: "CTC",
3: "Main",
}
RouteSignal_ControlLevel_value = map[string]int32{
"Close": 0,
"CallOn": 1,
"CTC": 2,
"Main": 3,
}
)
func (x RouteSignal_ControlLevel) Enum() *RouteSignal_ControlLevel {
p := new(RouteSignal_ControlLevel)
*p = x
return p
}
func (x RouteSignal_ControlLevel) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RouteSignal_ControlLevel) Descriptor() protoreflect.EnumDescriptor {
return file_component_ci_proto_enumTypes[1].Descriptor()
}
func (RouteSignal_ControlLevel) Type() protoreflect.EnumType {
return &file_component_ci_proto_enumTypes[1]
}
func (x RouteSignal_ControlLevel) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RouteSignal_ControlLevel.Descriptor instead.
func (RouteSignal_ControlLevel) EnumDescriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{7, 0}
}
// 联锁系统内存数据状态
type CiSysRAM struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
QcStates map[string]*CiQcState `protobuf:"bytes,2,rep,name=qcStates,proto3" json:"qcStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
SectionStates map[string]*CiSectionState `protobuf:"bytes,3,rep,name=sectionStates,proto3" json:"sectionStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
TurnoutStates map[string]*CiPointsState `protobuf:"bytes,4,rep,name=turnoutStates,proto3" json:"turnoutStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
SignalStates map[string]*CiSignalState `protobuf:"bytes,5,rep,name=signalStates,proto3" json:"signalStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
PlatformStates map[string]*CiPlatformState `protobuf:"bytes,6,rep,name=platformStates,proto3" json:"platformStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
RouteStates map[string]*CiRouteState `protobuf:"bytes,7,rep,name=routeStates,proto3" json:"routeStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
OverlapStates map[string]*CiOverlapState `protobuf:"bytes,8,rep,name=overlapStates,proto3" json:"overlapStates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *CiSysRAM) Reset() {
*x = CiSysRAM{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiSysRAM) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiSysRAM) ProtoMessage() {}
func (x *CiSysRAM) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiSysRAM.ProtoReflect.Descriptor instead.
func (*CiSysRAM) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{0}
}
func (x *CiSysRAM) GetQcStates() map[string]*CiQcState {
if x != nil {
return x.QcStates
}
return nil
}
func (x *CiSysRAM) GetSectionStates() map[string]*CiSectionState {
if x != nil {
return x.SectionStates
}
return nil
}
func (x *CiSysRAM) GetTurnoutStates() map[string]*CiPointsState {
if x != nil {
return x.TurnoutStates
}
return nil
}
func (x *CiSysRAM) GetSignalStates() map[string]*CiSignalState {
if x != nil {
return x.SignalStates
}
return nil
}
func (x *CiSysRAM) GetPlatformStates() map[string]*CiPlatformState {
if x != nil {
return x.PlatformStates
}
return nil
}
func (x *CiSysRAM) GetRouteStates() map[string]*CiRouteState {
if x != nil {
return x.RouteStates
}
return nil
}
func (x *CiSysRAM) GetOverlapStates() map[string]*CiOverlapState {
if x != nil {
return x.OverlapStates
}
return nil
}
// 联锁驱动、采集状态表
type CiQcState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 驱动bit表
Qbs []byte `protobuf:"bytes,2,opt,name=qbs,proto3" json:"qbs,omitempty"`
// 采集bit表
Cbs []byte `protobuf:"bytes,3,opt,name=cbs,proto3" json:"cbs,omitempty"`
}
func (x *CiQcState) Reset() {
*x = CiQcState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiQcState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiQcState) ProtoMessage() {}
func (x *CiQcState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiQcState.ProtoReflect.Descriptor instead.
func (*CiQcState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{1}
}
func (x *CiQcState) GetQbs() []byte {
if x != nil {
return x.Qbs
}
return nil
}
func (x *CiQcState) GetCbs() []byte {
if x != nil {
return x.Cbs
}
return nil
}
// 联锁区段状态
type CiSectionState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 是否物理检测占用
CiOccupied bool `protobuf:"varint,2,opt,name=ciOccupied,proto3" json:"ciOccupied,omitempty"`
// 是否cbtc逻辑占用
CbtcOccupied bool `protobuf:"varint,3,opt,name=cbtcOccupied,proto3" json:"cbtcOccupied,omitempty"`
// 是否进路锁闭
RouteLock bool `protobuf:"varint,4,opt,name=routeLock,proto3" json:"routeLock,omitempty"`
// 是否延续保护锁闭
OverlapLock bool `protobuf:"varint,5,opt,name=overlapLock,proto3" json:"overlapLock,omitempty"`
// 是否封锁
Block bool `protobuf:"varint,6,opt,name=block,proto3" json:"block,omitempty"`
// 是否故障锁闭
FailLock bool `protobuf:"varint,7,opt,name=failLock,proto3" json:"failLock,omitempty"`
}
func (x *CiSectionState) Reset() {
*x = CiSectionState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiSectionState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiSectionState) ProtoMessage() {}
func (x *CiSectionState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiSectionState.ProtoReflect.Descriptor instead.
func (*CiSectionState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{2}
}
func (x *CiSectionState) GetCiOccupied() bool {
if x != nil {
return x.CiOccupied
}
return false
}
func (x *CiSectionState) GetCbtcOccupied() bool {
if x != nil {
return x.CbtcOccupied
}
return false
}
func (x *CiSectionState) GetRouteLock() bool {
if x != nil {
return x.RouteLock
}
return false
}
func (x *CiSectionState) GetOverlapLock() bool {
if x != nil {
return x.OverlapLock
}
return false
}
func (x *CiSectionState) GetBlock() bool {
if x != nil {
return x.Block
}
return false
}
func (x *CiSectionState) GetFailLock() bool {
if x != nil {
return x.FailLock
}
return false
}
// 联锁道岔状态
type CiPointsState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 是否物理检测占用
CiOccupied bool `protobuf:"varint,1,opt,name=ciOccupied,proto3" json:"ciOccupied,omitempty"`
// 是否cbtc逻辑占用
CbtcOccupied bool `protobuf:"varint,2,opt,name=cbtcOccupied,proto3" json:"cbtcOccupied,omitempty"`
// 是否进路锁闭
RouteLock bool `protobuf:"varint,3,opt,name=routeLock,proto3" json:"routeLock,omitempty"`
// 是否延续保护锁闭
OverlapLock bool `protobuf:"varint,4,opt,name=overlapLock,proto3" json:"overlapLock,omitempty"`
// 是否封锁
Block bool `protobuf:"varint,5,opt,name=block,proto3" json:"block,omitempty"`
// 是否故障锁闭
FailLock bool `protobuf:"varint,6,opt,name=failLock,proto3" json:"failLock,omitempty"`
// 是否定位
Normal bool `protobuf:"varint,7,opt,name=normal,proto3" json:"normal,omitempty"`
// 是否反位
Reverse bool `protobuf:"varint,8,opt,name=reverse,proto3" json:"reverse,omitempty"`
// 是否挤岔
Jammed bool `protobuf:"varint,9,opt,name=jammed,proto3" json:"jammed,omitempty"`
// 是否单锁
SingleLock bool `protobuf:"varint,10,opt,name=singleLock,proto3" json:"singleLock,omitempty"`
}
func (x *CiPointsState) Reset() {
*x = CiPointsState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiPointsState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiPointsState) ProtoMessage() {}
func (x *CiPointsState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiPointsState.ProtoReflect.Descriptor instead.
func (*CiPointsState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{3}
}
func (x *CiPointsState) GetCiOccupied() bool {
if x != nil {
return x.CiOccupied
}
return false
}
func (x *CiPointsState) GetCbtcOccupied() bool {
if x != nil {
return x.CbtcOccupied
}
return false
}
func (x *CiPointsState) GetRouteLock() bool {
if x != nil {
return x.RouteLock
}
return false
}
func (x *CiPointsState) GetOverlapLock() bool {
if x != nil {
return x.OverlapLock
}
return false
}
func (x *CiPointsState) GetBlock() bool {
if x != nil {
return x.Block
}
return false
}
func (x *CiPointsState) GetFailLock() bool {
if x != nil {
return x.FailLock
}
return false
}
func (x *CiPointsState) GetNormal() bool {
if x != nil {
return x.Normal
}
return false
}
func (x *CiPointsState) GetReverse() bool {
if x != nil {
return x.Reverse
}
return false
}
func (x *CiPointsState) GetJammed() bool {
if x != nil {
return x.Jammed
}
return false
}
func (x *CiPointsState) GetSingleLock() bool {
if x != nil {
return x.SingleLock
}
return false
}
type Signal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *Signal) Reset() {
*x = Signal{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_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_component_ci_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_component_ci_proto_rawDescGZIP(), []int{4}
}
// 联锁信号机状态
type CiSignalState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 信号显示
Aspect Signal_Aspect `protobuf:"varint,1,opt,name=aspect,proto3,enum=component.Signal_Aspect" json:"aspect,omitempty"`
// 是否逻辑点灯(即室外灭灯)
Logic bool `protobuf:"varint,2,opt,name=logic,proto3" json:"logic,omitempty"`
// 是否封锁
Block bool `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"`
// 是否灯丝断丝
LampFault bool `protobuf:"varint,4,opt,name=lampFault,proto3" json:"lampFault,omitempty"`
}
func (x *CiSignalState) Reset() {
*x = CiSignalState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiSignalState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiSignalState) ProtoMessage() {}
func (x *CiSignalState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiSignalState.ProtoReflect.Descriptor instead.
func (*CiSignalState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{5}
}
func (x *CiSignalState) GetAspect() Signal_Aspect {
if x != nil {
return x.Aspect
}
return Signal_H
}
func (x *CiSignalState) GetLogic() bool {
if x != nil {
return x.Logic
}
return false
}
func (x *CiSignalState) GetBlock() bool {
if x != nil {
return x.Block
}
return false
}
func (x *CiSignalState) GetLampFault() bool {
if x != nil {
return x.LampFault
}
return false
}
// 联锁站台状态
type CiPlatformState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 车站上行扣车
UpwardHold bool `protobuf:"varint,1,opt,name=upwardHold,proto3" json:"upwardHold,omitempty"`
// 车站下行扣车
DownwardHold bool `protobuf:"varint,2,opt,name=downwardHold,proto3" json:"downwardHold,omitempty"`
// 中心上行扣车
OccUpwardHold bool `protobuf:"varint,3,opt,name=occUpwardHold,proto3" json:"occUpwardHold,omitempty"`
// 中心下行扣车
OccDownwardHold bool `protobuf:"varint,4,opt,name=occDownwardHold,proto3" json:"occDownwardHold,omitempty"`
// 屏蔽门开
PsdOpen bool `protobuf:"varint,5,opt,name=psdOpen,proto3" json:"psdOpen,omitempty"`
// 紧急关闭/停车
EmergStop bool `protobuf:"varint,6,opt,name=emergStop,proto3" json:"emergStop,omitempty"`
// 停站时间
StopTime int32 `protobuf:"varint,7,opt,name=stopTime,proto3" json:"stopTime,omitempty"`
}
func (x *CiPlatformState) Reset() {
*x = CiPlatformState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiPlatformState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiPlatformState) ProtoMessage() {}
func (x *CiPlatformState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiPlatformState.ProtoReflect.Descriptor instead.
func (*CiPlatformState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{6}
}
func (x *CiPlatformState) GetUpwardHold() bool {
if x != nil {
return x.UpwardHold
}
return false
}
func (x *CiPlatformState) GetDownwardHold() bool {
if x != nil {
return x.DownwardHold
}
return false
}
func (x *CiPlatformState) GetOccUpwardHold() bool {
if x != nil {
return x.OccUpwardHold
}
return false
}
func (x *CiPlatformState) GetOccDownwardHold() bool {
if x != nil {
return x.OccDownwardHold
}
return false
}
func (x *CiPlatformState) GetPsdOpen() bool {
if x != nil {
return x.PsdOpen
}
return false
}
func (x *CiPlatformState) GetEmergStop() bool {
if x != nil {
return x.EmergStop
}
return false
}
func (x *CiPlatformState) GetStopTime() int32 {
if x != nil {
return x.StopTime
}
return 0
}
type RouteSignal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *RouteSignal) Reset() {
*x = RouteSignal{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RouteSignal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RouteSignal) ProtoMessage() {}
func (x *RouteSignal) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 RouteSignal.ProtoReflect.Descriptor instead.
func (*RouteSignal) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{7}
}
// 联锁进路状态
type CiRouteState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 是否进路锁闭
Lock bool `protobuf:"varint,1,opt,name=lock,proto3" json:"lock,omitempty"`
// 是否接近锁闭
ApproachLock bool `protobuf:"varint,2,opt,name=approachLock,proto3" json:"approachLock,omitempty"`
// 是否车队模式
FleetMode bool `protobuf:"varint,3,opt,name=fleetMode,proto3" json:"fleetMode,omitempty"`
// 是否联锁自动触发
CiAutoMode bool `protobuf:"varint,4,opt,name=ciAutoMode,proto3" json:"ciAutoMode,omitempty"`
// 是否ats自动控
AtsAutoMode bool `protobuf:"varint,5,opt,name=atsAutoMode,proto3" json:"atsAutoMode,omitempty"`
// 是否办理中
Setting bool `protobuf:"varint,6,opt,name=setting,proto3" json:"setting,omitempty"`
// 进路信号控制级别
ControlLevel RouteSignal_ControlLevel `protobuf:"varint,7,opt,name=controlLevel,proto3,enum=component.RouteSignal_ControlLevel" json:"controlLevel,omitempty"`
}
func (x *CiRouteState) Reset() {
*x = CiRouteState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiRouteState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiRouteState) ProtoMessage() {}
func (x *CiRouteState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiRouteState.ProtoReflect.Descriptor instead.
func (*CiRouteState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{8}
}
func (x *CiRouteState) GetLock() bool {
if x != nil {
return x.Lock
}
return false
}
func (x *CiRouteState) GetApproachLock() bool {
if x != nil {
return x.ApproachLock
}
return false
}
func (x *CiRouteState) GetFleetMode() bool {
if x != nil {
return x.FleetMode
}
return false
}
func (x *CiRouteState) GetCiAutoMode() bool {
if x != nil {
return x.CiAutoMode
}
return false
}
func (x *CiRouteState) GetAtsAutoMode() bool {
if x != nil {
return x.AtsAutoMode
}
return false
}
func (x *CiRouteState) GetSetting() bool {
if x != nil {
return x.Setting
}
return false
}
func (x *CiRouteState) GetControlLevel() RouteSignal_ControlLevel {
if x != nil {
return x.ControlLevel
}
return RouteSignal_Close
}
// 联锁延续保护进路状态
type CiOverlapState struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 是否延续保护锁闭
Lock bool `protobuf:"varint,1,opt,name=lock,proto3" json:"lock,omitempty"`
}
func (x *CiOverlapState) Reset() {
*x = CiOverlapState{}
if protoimpl.UnsafeEnabled {
mi := &file_component_ci_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CiOverlapState) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CiOverlapState) ProtoMessage() {}
func (x *CiOverlapState) ProtoReflect() protoreflect.Message {
mi := &file_component_ci_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 CiOverlapState.ProtoReflect.Descriptor instead.
func (*CiOverlapState) Descriptor() ([]byte, []int) {
return file_component_ci_proto_rawDescGZIP(), []int{9}
}
func (x *CiOverlapState) GetLock() bool {
if x != nil {
return x.Lock
}
return false
}
var File_component_ci_proto protoreflect.FileDescriptor
var file_component_ci_proto_rawDesc = []byte{
0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x69, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x22,
0x93, 0x09, 0x0a, 0x08, 0x43, 0x69, 0x53, 0x79, 0x73, 0x52, 0x41, 0x4d, 0x12, 0x3d, 0x0a, 0x08,
0x71, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53, 0x79, 0x73,
0x52, 0x41, 0x4d, 0x2e, 0x51, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x79, 0x52, 0x08, 0x71, 0x63, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0d, 0x73,
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43,
0x69, 0x53, 0x79, 0x73, 0x52, 0x41, 0x4d, 0x2e, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53,
0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x74,
0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0d, 0x74, 0x75, 0x72,
0x6e, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53,
0x79, 0x73, 0x52, 0x41, 0x4d, 0x2e, 0x54, 0x75, 0x72, 0x6e, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61,
0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x74, 0x75, 0x72, 0x6e, 0x6f, 0x75,
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x49, 0x0a, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x61,
0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53, 0x79, 0x73, 0x52,
0x41, 0x4d, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74,
0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74,
0x61, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d,
0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53, 0x79, 0x73, 0x52, 0x41, 0x4d, 0x2e,
0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61,
0x74, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74,
0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53, 0x79, 0x73, 0x52, 0x41, 0x4d, 0x2e, 0x52, 0x6f,
0x75, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b,
0x72, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0d, 0x6f,
0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43,
0x69, 0x53, 0x79, 0x73, 0x52, 0x41, 0x4d, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x53,
0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6f, 0x76, 0x65, 0x72,
0x6c, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x51, 0x0a, 0x0d, 0x51, 0x63, 0x53,
0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f,
0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x51, 0x63, 0x53, 0x74, 0x61, 0x74,
0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5b, 0x0a, 0x12,
0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e,
0x43, 0x69, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x12, 0x54, 0x75, 0x72,
0x6e, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
0x79, 0x12, 0x2e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x50,
0x6f, 0x69, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x59, 0x0a, 0x11, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53,
0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f,
0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c,
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
0x1a, 0x5d, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61, 0x74,
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53,
0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
0x57, 0x0a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74,
0x2e, 0x43, 0x69, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5b, 0x0a, 0x12, 0x4f, 0x76, 0x65, 0x72,
0x6c, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x2f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x19, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x69, 0x4f, 0x76,
0x65, 0x72, 0x6c, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2f, 0x0a, 0x09, 0x43, 0x69, 0x51, 0x63, 0x53, 0x74, 0x61,
0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x71, 0x62, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x03, 0x71, 0x62, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x62, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0c, 0x52, 0x03, 0x63, 0x62, 0x73, 0x22, 0xc6, 0x01, 0x0a, 0x0e, 0x43, 0x69, 0x53, 0x65, 0x63,
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x69, 0x4f,
0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63,
0x69, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x62, 0x74,
0x63, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0c, 0x63, 0x62, 0x74, 0x63, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1c, 0x0a,
0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x6f,
0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
0x52, 0x0b, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a,
0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x18,
0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x22,
0xaf, 0x02, 0x0a, 0x0d, 0x43, 0x69, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x53, 0x74, 0x61, 0x74,
0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x69, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x63, 0x69, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65,
0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x62, 0x74, 0x63, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x69, 0x65,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x62, 0x74, 0x63, 0x4f, 0x63, 0x63,
0x75, 0x70, 0x69, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4c, 0x6f,
0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4c,
0x6f, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x4c, 0x6f,
0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x6f, 0x76, 0x65, 0x72, 0x6c, 0x61,
0x70, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x05,
0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x66,
0x61, 0x69, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66,
0x61, 0x69, 0x6c, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61,
0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x12,
0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08,
0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x61, 0x6d,
0x6d, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6a, 0x61, 0x6d, 0x6d, 0x65,
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x18,
0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x4c, 0x6f, 0x63,
0x6b, 0x22, 0x3d, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x33, 0x0a, 0x06, 0x41,
0x73, 0x70, 0x65, 0x63, 0x74, 0x12, 0x05, 0x0a, 0x01, 0x48, 0x10, 0x00, 0x12, 0x05, 0x0a, 0x01,
0x4c, 0x10, 0x01, 0x12, 0x05, 0x0a, 0x01, 0x55, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x55, 0x48,
0x10, 0x03, 0x12, 0x05, 0x0a, 0x01, 0x42, 0x10, 0x04, 0x12, 0x05, 0x0a, 0x01, 0x41, 0x10, 0x05,
0x22, 0x8b, 0x01, 0x0a, 0x0d, 0x43, 0x69, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x53, 0x74, 0x61,
0x74, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x53,
0x69, 0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x41, 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x06, 0x61, 0x73,
0x70, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x18, 0x02, 0x20,
0x01, 0x28, 0x08, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c,
0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x61, 0x6d, 0x70, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20,
0x01, 0x28, 0x08, 0x52, 0x09, 0x6c, 0x61, 0x6d, 0x70, 0x46, 0x61, 0x75, 0x6c, 0x74, 0x22, 0xf9,
0x01, 0x0a, 0x0f, 0x43, 0x69, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x74, 0x61,
0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x77, 0x61, 0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x70, 0x77, 0x61, 0x72, 0x64, 0x48, 0x6f,
0x6c, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x48, 0x6f,
0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x6f, 0x77, 0x6e, 0x77, 0x61,
0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x63, 0x63, 0x55, 0x70, 0x77,
0x61, 0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6f,
0x63, 0x63, 0x55, 0x70, 0x77, 0x61, 0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x12, 0x28, 0x0a, 0x0f,
0x6f, 0x63, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61, 0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x18,
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6f, 0x63, 0x63, 0x44, 0x6f, 0x77, 0x6e, 0x77, 0x61,
0x72, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x73, 0x64, 0x4f, 0x70, 0x65,
0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x73, 0x64, 0x4f, 0x70, 0x65, 0x6e,
0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x53, 0x74, 0x6f, 0x70, 0x18, 0x06, 0x20,
0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6d, 0x65, 0x72, 0x67, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x1a,
0x0a, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05,
0x52, 0x08, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x47, 0x0a, 0x0b, 0x52, 0x6f,
0x75, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x38, 0x0a, 0x0c, 0x43, 0x6f, 0x6e,
0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x6c, 0x6f,
0x73, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x61, 0x6c, 0x6c, 0x4f, 0x6e, 0x10, 0x01,
0x12, 0x07, 0x0a, 0x03, 0x43, 0x54, 0x43, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x61, 0x69,
0x6e, 0x10, 0x03, 0x22, 0x89, 0x02, 0x0a, 0x0c, 0x43, 0x69, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53,
0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01,
0x28, 0x08, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x70, 0x70, 0x72,
0x6f, 0x61, 0x63, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
0x61, 0x70, 0x70, 0x72, 0x6f, 0x61, 0x63, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x1c, 0x0a, 0x09,
0x66, 0x6c, 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x09, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x69,
0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
0x63, 0x69, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x74,
0x73, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0b, 0x61, 0x74, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07,
0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73,
0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x47, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63,
0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x69,
0x67, 0x6e, 0x61, 0x6c, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x65, 0x76, 0x65,
0x6c, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22,
0x24, 0x0a, 0x0e, 0x43, 0x69, 0x4f, 0x76, 0x65, 0x72, 0x6c, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x42, 0x1c, 0x5a, 0x1a, 0x2e, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f,
0x6e, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x64,
0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_component_ci_proto_rawDescOnce sync.Once
file_component_ci_proto_rawDescData = file_component_ci_proto_rawDesc
)
func file_component_ci_proto_rawDescGZIP() []byte {
file_component_ci_proto_rawDescOnce.Do(func() {
file_component_ci_proto_rawDescData = protoimpl.X.CompressGZIP(file_component_ci_proto_rawDescData)
})
return file_component_ci_proto_rawDescData
}
var file_component_ci_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_component_ci_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_component_ci_proto_goTypes = []interface{}{
(Signal_Aspect)(0), // 0: component.Signal.Aspect
(RouteSignal_ControlLevel)(0), // 1: component.RouteSignal.ControlLevel
(*CiSysRAM)(nil), // 2: component.CiSysRAM
(*CiQcState)(nil), // 3: component.CiQcState
(*CiSectionState)(nil), // 4: component.CiSectionState
(*CiPointsState)(nil), // 5: component.CiPointsState
(*Signal)(nil), // 6: component.Signal
(*CiSignalState)(nil), // 7: component.CiSignalState
(*CiPlatformState)(nil), // 8: component.CiPlatformState
(*RouteSignal)(nil), // 9: component.RouteSignal
(*CiRouteState)(nil), // 10: component.CiRouteState
(*CiOverlapState)(nil), // 11: component.CiOverlapState
nil, // 12: component.CiSysRAM.QcStatesEntry
nil, // 13: component.CiSysRAM.SectionStatesEntry
nil, // 14: component.CiSysRAM.TurnoutStatesEntry
nil, // 15: component.CiSysRAM.SignalStatesEntry
nil, // 16: component.CiSysRAM.PlatformStatesEntry
nil, // 17: component.CiSysRAM.RouteStatesEntry
nil, // 18: component.CiSysRAM.OverlapStatesEntry
}
var file_component_ci_proto_depIdxs = []int32{
12, // 0: component.CiSysRAM.qcStates:type_name -> component.CiSysRAM.QcStatesEntry
13, // 1: component.CiSysRAM.sectionStates:type_name -> component.CiSysRAM.SectionStatesEntry
14, // 2: component.CiSysRAM.turnoutStates:type_name -> component.CiSysRAM.TurnoutStatesEntry
15, // 3: component.CiSysRAM.signalStates:type_name -> component.CiSysRAM.SignalStatesEntry
16, // 4: component.CiSysRAM.platformStates:type_name -> component.CiSysRAM.PlatformStatesEntry
17, // 5: component.CiSysRAM.routeStates:type_name -> component.CiSysRAM.RouteStatesEntry
18, // 6: component.CiSysRAM.overlapStates:type_name -> component.CiSysRAM.OverlapStatesEntry
0, // 7: component.CiSignalState.aspect:type_name -> component.Signal.Aspect
1, // 8: component.CiRouteState.controlLevel:type_name -> component.RouteSignal.ControlLevel
3, // 9: component.CiSysRAM.QcStatesEntry.value:type_name -> component.CiQcState
4, // 10: component.CiSysRAM.SectionStatesEntry.value:type_name -> component.CiSectionState
5, // 11: component.CiSysRAM.TurnoutStatesEntry.value:type_name -> component.CiPointsState
7, // 12: component.CiSysRAM.SignalStatesEntry.value:type_name -> component.CiSignalState
8, // 13: component.CiSysRAM.PlatformStatesEntry.value:type_name -> component.CiPlatformState
10, // 14: component.CiSysRAM.RouteStatesEntry.value:type_name -> component.CiRouteState
11, // 15: component.CiSysRAM.OverlapStatesEntry.value:type_name -> component.CiOverlapState
16, // [16:16] is the sub-list for method output_type
16, // [16:16] is the sub-list for method input_type
16, // [16:16] is the sub-list for extension type_name
16, // [16:16] is the sub-list for extension extendee
0, // [0:16] is the sub-list for field type_name
}
func init() { file_component_ci_proto_init() }
func file_component_ci_proto_init() {
if File_component_ci_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_component_ci_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiSysRAM); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiQcState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiSectionState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiPointsState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Signal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiSignalState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiPlatformState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RouteSignal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiRouteState); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_component_ci_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CiOverlapState); 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_component_ci_proto_rawDesc,
NumEnums: 2,
NumMessages: 17,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_component_ci_proto_goTypes,
DependencyIndexes: file_component_ci_proto_depIdxs,
EnumInfos: file_component_ci_proto_enumTypes,
MessageInfos: file_component_ci_proto_msgTypes,
}.Build()
File_component_ci_proto = out.File
file_component_ci_proto_rawDesc = nil
file_component_ci_proto_goTypes = nil
file_component_ci_proto_depIdxs = nil
}