499 lines
18 KiB
Go
499 lines
18 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.32.0
|
||
// protoc v4.23.1
|
||
// source: common_data.proto
|
||
|
||
package common_proto
|
||
|
||
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 TrainDynamicConfig struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 列车的质量(100=1ton)
|
||
//
|
||
// int32 mass=1;
|
||
//
|
||
// 基本阻力参数A
|
||
DavisParamA float32 `protobuf:"fixed32,1,opt,name=davisParamA,proto3" json:"davisParamA,omitempty"`
|
||
// 基本阻力参数B
|
||
DavisParamB float32 `protobuf:"fixed32,2,opt,name=davisParamB,proto3" json:"davisParamB,omitempty"`
|
||
// 基本阻力参数C
|
||
DavisParamC float32 `protobuf:"fixed32,3,opt,name=davisParamC,proto3" json:"davisParamC,omitempty"`
|
||
// 曲线阻力参数R1
|
||
CurveResistanceParamR1 float32 `protobuf:"fixed32,4,opt,name=curveResistanceParamR1,proto3" json:"curveResistanceParamR1,omitempty"`
|
||
// 曲线阻力参数R2
|
||
CurveResistanceParamR2 float32 `protobuf:"fixed32,5,opt,name=curveResistanceParamR2,proto3" json:"curveResistanceParamR2,omitempty"`
|
||
// 曲线阻力参数R3
|
||
CurveResistanceParamR3 float32 `protobuf:"fixed32,6,opt,name=curveResistanceParamR3,proto3" json:"curveResistanceParamR3,omitempty"`
|
||
// 曲线阻力参数R4
|
||
CurveResistanceParamR4 float32 `protobuf:"fixed32,7,opt,name=curveResistanceParamR4,proto3" json:"curveResistanceParamR4,omitempty"`
|
||
// 旋转质量参数
|
||
RevolvingMassParam float32 `protobuf:"fixed32,8,opt,name=revolvingMassParam,proto3" json:"revolvingMassParam,omitempty"`
|
||
// 是否跳跃
|
||
Jump bool `protobuf:"varint,9,opt,name=jump,proto3" json:"jump,omitempty"`
|
||
// 打滑加速度(m/s) 默认0
|
||
SlipA float32 `protobuf:"fixed32,10,opt,name=slipA,proto3" json:"slipA,omitempty"`
|
||
// 打滑冲击率(m/s) 默认0
|
||
SlipR float32 `protobuf:"fixed32,11,opt,name=slipR,proto3" json:"slipR,omitempty"`
|
||
// 打滑持续时间ms 默认0
|
||
SlipD int32 `protobuf:"varint,12,opt,name=slipD,proto3" json:"slipD,omitempty"`
|
||
// 空转加速度(m/s2),默认值:0
|
||
IdlingA float32 `protobuf:"fixed32,14,opt,name=idlingA,proto3" json:"idlingA,omitempty"`
|
||
// 空转冲击率(m/s3),默认值:0
|
||
IdlingR float32 `protobuf:"fixed32,15,opt,name=idlingR,proto3" json:"idlingR,omitempty"`
|
||
// 空转持续时间(ms),默认值:0
|
||
IdlingD int32 `protobuf:"varint,16,opt,name=idlingD,proto3" json:"idlingD,omitempty"`
|
||
// 过标/欠标(mm)(正数过标,负数欠标)
|
||
StopSign int32 `protobuf:"varint,17,opt,name=stopSign,proto3" json:"stopSign,omitempty"`
|
||
// 前溜/后溜(m/s)默认0
|
||
Slide float32 `protobuf:"fixed32,18,opt,name=slide,proto3" json:"slide,omitempty"`
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) Reset() {
|
||
*x = TrainDynamicConfig{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_common_data_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TrainDynamicConfig) ProtoMessage() {}
|
||
|
||
func (x *TrainDynamicConfig) ProtoReflect() protoreflect.Message {
|
||
mi := &file_common_data_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 TrainDynamicConfig.ProtoReflect.Descriptor instead.
|
||
func (*TrainDynamicConfig) Descriptor() ([]byte, []int) {
|
||
return file_common_data_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetDavisParamA() float32 {
|
||
if x != nil {
|
||
return x.DavisParamA
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetDavisParamB() float32 {
|
||
if x != nil {
|
||
return x.DavisParamB
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetDavisParamC() float32 {
|
||
if x != nil {
|
||
return x.DavisParamC
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetCurveResistanceParamR1() float32 {
|
||
if x != nil {
|
||
return x.CurveResistanceParamR1
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetCurveResistanceParamR2() float32 {
|
||
if x != nil {
|
||
return x.CurveResistanceParamR2
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetCurveResistanceParamR3() float32 {
|
||
if x != nil {
|
||
return x.CurveResistanceParamR3
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetCurveResistanceParamR4() float32 {
|
||
if x != nil {
|
||
return x.CurveResistanceParamR4
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetRevolvingMassParam() float32 {
|
||
if x != nil {
|
||
return x.RevolvingMassParam
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetJump() bool {
|
||
if x != nil {
|
||
return x.Jump
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetSlipA() float32 {
|
||
if x != nil {
|
||
return x.SlipA
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetSlipR() float32 {
|
||
if x != nil {
|
||
return x.SlipR
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetSlipD() int32 {
|
||
if x != nil {
|
||
return x.SlipD
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetIdlingA() float32 {
|
||
if x != nil {
|
||
return x.IdlingA
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetIdlingR() float32 {
|
||
if x != nil {
|
||
return x.IdlingR
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetIdlingD() int32 {
|
||
if x != nil {
|
||
return x.IdlingD
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetStopSign() int32 {
|
||
if x != nil {
|
||
return x.StopSign
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainDynamicConfig) GetSlide() float32 {
|
||
if x != nil {
|
||
return x.Slide
|
||
}
|
||
return 0
|
||
}
|
||
|
||
// 列车一端的状态
|
||
type TrainEndsState struct {
|
||
state protoimpl.MessageState
|
||
sizeCache protoimpl.SizeCache
|
||
unknownFields protoimpl.UnknownFields
|
||
|
||
// 速度传感器
|
||
SpeedSensorEnableA bool `protobuf:"varint,1,opt,name=speedSensorEnableA,proto3" json:"speedSensorEnableA,omitempty"`
|
||
SpeedSensorEnableB bool `protobuf:"varint,2,opt,name=speedSensorEnableB,proto3" json:"speedSensorEnableB,omitempty"`
|
||
// 雷达是否有效
|
||
RadarEnable bool `protobuf:"varint,3,opt,name=radarEnable,proto3" json:"radarEnable,omitempty"`
|
||
// 雷达测速差值(米/秒)
|
||
RadarCheckSpeedDiff float32 `protobuf:"fixed32,4,opt,name=radarCheckSpeedDiff,proto3" json:"radarCheckSpeedDiff,omitempty"`
|
||
// 雷达检测时间(秒)
|
||
RadarCheckTime int32 `protobuf:"varint,5,opt,name=radarCheckTime,proto3" json:"radarCheckTime,omitempty"`
|
||
// 加速度计是否有效
|
||
AccEnable bool `protobuf:"varint,6,opt,name=accEnable,proto3" json:"accEnable,omitempty"`
|
||
// 加速度测速差值(米/秒)
|
||
AccCheckSpeedDiff float32 `protobuf:"fixed32,7,opt,name=accCheckSpeedDiff,proto3" json:"accCheckSpeedDiff,omitempty"`
|
||
// 加速度持续时间
|
||
AccCheckTime int32 `protobuf:"varint,8,opt,name=accCheckTime,proto3" json:"accCheckTime,omitempty"`
|
||
// 速传速度输出(米/秒)
|
||
AccOutSpeed int32 `protobuf:"varint,9,opt,name=accOutSpeed,proto3" json:"accOutSpeed,omitempty"`
|
||
// 雷达速度输出(米/秒)
|
||
RadarOutSpeed int32 `protobuf:"varint,10,opt,name=radarOutSpeed,proto3" json:"radarOutSpeed,omitempty"`
|
||
}
|
||
|
||
func (x *TrainEndsState) Reset() {
|
||
*x = TrainEndsState{}
|
||
if protoimpl.UnsafeEnabled {
|
||
mi := &file_common_data_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
}
|
||
|
||
func (x *TrainEndsState) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*TrainEndsState) ProtoMessage() {}
|
||
|
||
func (x *TrainEndsState) ProtoReflect() protoreflect.Message {
|
||
mi := &file_common_data_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 TrainEndsState.ProtoReflect.Descriptor instead.
|
||
func (*TrainEndsState) Descriptor() ([]byte, []int) {
|
||
return file_common_data_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *TrainEndsState) GetSpeedSensorEnableA() bool {
|
||
if x != nil {
|
||
return x.SpeedSensorEnableA
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TrainEndsState) GetSpeedSensorEnableB() bool {
|
||
if x != nil {
|
||
return x.SpeedSensorEnableB
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TrainEndsState) GetRadarEnable() bool {
|
||
if x != nil {
|
||
return x.RadarEnable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TrainEndsState) GetRadarCheckSpeedDiff() float32 {
|
||
if x != nil {
|
||
return x.RadarCheckSpeedDiff
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainEndsState) GetRadarCheckTime() int32 {
|
||
if x != nil {
|
||
return x.RadarCheckTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainEndsState) GetAccEnable() bool {
|
||
if x != nil {
|
||
return x.AccEnable
|
||
}
|
||
return false
|
||
}
|
||
|
||
func (x *TrainEndsState) GetAccCheckSpeedDiff() float32 {
|
||
if x != nil {
|
||
return x.AccCheckSpeedDiff
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainEndsState) GetAccCheckTime() int32 {
|
||
if x != nil {
|
||
return x.AccCheckTime
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainEndsState) GetAccOutSpeed() int32 {
|
||
if x != nil {
|
||
return x.AccOutSpeed
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *TrainEndsState) GetRadarOutSpeed() int32 {
|
||
if x != nil {
|
||
return x.RadarOutSpeed
|
||
}
|
||
return 0
|
||
}
|
||
|
||
var File_common_data_proto protoreflect.FileDescriptor
|
||
|
||
var file_common_data_proto_rawDesc = []byte{
|
||
0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72,
|
||
0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0xe0, 0x04, 0x0a, 0x12,
|
||
0x54, 0x72, 0x61, 0x69, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66,
|
||
0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
||
0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61,
|
||
0x72, 0x61, 0x6d, 0x41, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50, 0x61, 0x72,
|
||
0x61, 0x6d, 0x42, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73,
|
||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x42, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x61, 0x76, 0x69, 0x73, 0x50,
|
||
0x61, 0x72, 0x61, 0x6d, 0x43, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x64, 0x61, 0x76,
|
||
0x69, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x43, 0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76,
|
||
0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
||
0x52, 0x31, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52,
|
||
0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x31,
|
||
0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61,
|
||
0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02,
|
||
0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||
0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x32, 0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76,
|
||
0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d,
|
||
0x52, 0x33, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52,
|
||
0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x33,
|
||
0x12, 0x36, 0x0a, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61,
|
||
0x6e, 0x63, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02,
|
||
0x52, 0x16, 0x63, 0x75, 0x72, 0x76, 0x65, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||
0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x52, 0x34, 0x12, 0x2e, 0x0a, 0x12, 0x72, 0x65, 0x76, 0x6f,
|
||
0x6c, 0x76, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x73, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x08,
|
||
0x20, 0x01, 0x28, 0x02, 0x52, 0x12, 0x72, 0x65, 0x76, 0x6f, 0x6c, 0x76, 0x69, 0x6e, 0x67, 0x4d,
|
||
0x61, 0x73, 0x73, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6a, 0x75, 0x6d, 0x70,
|
||
0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6a, 0x75, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05,
|
||
0x73, 0x6c, 0x69, 0x70, 0x41, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x6c, 0x69,
|
||
0x70, 0x41, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x52, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
||
0x02, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x52, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x70,
|
||
0x44, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x70, 0x44, 0x12, 0x18,
|
||
0x0a, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x02, 0x52,
|
||
0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x41, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x64, 0x6c, 0x69,
|
||
0x6e, 0x67, 0x52, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e,
|
||
0x67, 0x52, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x44, 0x18, 0x10, 0x20,
|
||
0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x64, 0x6c, 0x69, 0x6e, 0x67, 0x44, 0x12, 0x1a, 0x0a, 0x08,
|
||
0x73, 0x74, 0x6f, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||
0x73, 0x74, 0x6f, 0x70, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6c, 0x69, 0x64,
|
||
0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x22, 0xa4,
|
||
0x03, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x45, 0x6e, 0x64, 0x73, 0x53, 0x74, 0x61, 0x74,
|
||
0x65, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73,
|
||
0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||
0x41, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72,
|
||
0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73,
|
||
0x70, 0x65, 0x65, 0x64, 0x53, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||
0x42, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x61, 0x64, 0x61, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x61, 0x64, 0x61, 0x72, 0x45, 0x6e, 0x61,
|
||
0x62, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63,
|
||
0x6b, 0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02,
|
||
0x52, 0x13, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x65,
|
||
0x64, 0x44, 0x69, 0x66, 0x66, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x64, 0x61, 0x72, 0x43, 0x68,
|
||
0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72,
|
||
0x61, 0x64, 0x61, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
|
||
0x09, 0x61, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
||
0x52, 0x09, 0x61, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x61,
|
||
0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66,
|
||
0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x61, 0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
||
0x53, 0x70, 0x65, 0x65, 0x64, 0x44, 0x69, 0x66, 0x66, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x63, 0x63,
|
||
0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||
0x0c, 0x61, 0x63, 0x63, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a,
|
||
0x0b, 0x61, 0x63, 0x63, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01,
|
||
0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64, 0x12,
|
||
0x24, 0x0a, 0x0d, 0x72, 0x61, 0x64, 0x61, 0x72, 0x4f, 0x75, 0x74, 0x53, 0x70, 0x65, 0x65, 0x64,
|
||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x61, 0x64, 0x61, 0x72, 0x4f, 0x75, 0x74,
|
||
0x53, 0x70, 0x65, 0x65, 0x64, 0x42, 0x2f, 0x5a, 0x2d, 0x6a, 0x6f, 0x79, 0x6c, 0x69, 0x6e, 0x6b,
|
||
0x2e, 0x63, 0x6c, 0x75, 0x62, 0x2f, 0x62, 0x6a, 0x2d, 0x72, 0x74, 0x73, 0x74, 0x73, 0x2d, 0x73,
|
||
0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
|
||
0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||
}
|
||
|
||
var (
|
||
file_common_data_proto_rawDescOnce sync.Once
|
||
file_common_data_proto_rawDescData = file_common_data_proto_rawDesc
|
||
)
|
||
|
||
func file_common_data_proto_rawDescGZIP() []byte {
|
||
file_common_data_proto_rawDescOnce.Do(func() {
|
||
file_common_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_data_proto_rawDescData)
|
||
})
|
||
return file_common_data_proto_rawDescData
|
||
}
|
||
|
||
var file_common_data_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||
var file_common_data_proto_goTypes = []interface{}{
|
||
(*TrainDynamicConfig)(nil), // 0: common.TrainDynamicConfig
|
||
(*TrainEndsState)(nil), // 1: common.TrainEndsState
|
||
}
|
||
var file_common_data_proto_depIdxs = []int32{
|
||
0, // [0:0] is the sub-list for method output_type
|
||
0, // [0:0] is the sub-list for method input_type
|
||
0, // [0:0] is the sub-list for extension type_name
|
||
0, // [0:0] is the sub-list for extension extendee
|
||
0, // [0:0] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_common_data_proto_init() }
|
||
func file_common_data_proto_init() {
|
||
if File_common_data_proto != nil {
|
||
return
|
||
}
|
||
if !protoimpl.UnsafeEnabled {
|
||
file_common_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TrainDynamicConfig); i {
|
||
case 0:
|
||
return &v.state
|
||
case 1:
|
||
return &v.sizeCache
|
||
case 2:
|
||
return &v.unknownFields
|
||
default:
|
||
return nil
|
||
}
|
||
}
|
||
file_common_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
switch v := v.(*TrainEndsState); 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_common_data_proto_rawDesc,
|
||
NumEnums: 0,
|
||
NumMessages: 2,
|
||
NumExtensions: 0,
|
||
NumServices: 0,
|
||
},
|
||
GoTypes: file_common_data_proto_goTypes,
|
||
DependencyIndexes: file_common_data_proto_depIdxs,
|
||
MessageInfos: file_common_data_proto_msgTypes,
|
||
}.Build()
|
||
File_common_data_proto = out.File
|
||
file_common_data_proto_rawDesc = nil
|
||
file_common_data_proto_goTypes = nil
|
||
file_common_data_proto_depIdxs = nil
|
||
}
|