数据处理过滤不需要的集中站

This commit is contained in:
tiger_zhou 2023-08-30 17:12:17 +08:00
parent f7df06b607
commit 25ac77925b

View File

@ -77,6 +77,16 @@ public final class GuardConfigProto {
* @return The canNotCloseTimes.
*/
int getCanNotCloseTimes();
/**
* <pre>
*列车制动 atp 切除的延时时间
* </pre>
*
* <code>int32 trainAtpCutTimes = 7;</code>
* @return The trainAtpCutTimes.
*/
int getTrainAtpCutTimes();
}
/**
* Protobuf type {@code alert.GuardConfig}
@ -203,6 +213,21 @@ public final class GuardConfigProto {
return canNotCloseTimes_;
}
public static final int TRAINATPCUTTIMES_FIELD_NUMBER = 7;
private int trainAtpCutTimes_ = 0;
/**
* <pre>
*列车制动 atp 切除的延时时间
* </pre>
*
* <code>int32 trainAtpCutTimes = 7;</code>
* @return The trainAtpCutTimes.
*/
@java.lang.Override
public int getTrainAtpCutTimes() {
return trainAtpCutTimes_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@ -235,6 +260,9 @@ public final class GuardConfigProto {
if (canNotCloseTimes_ != 0) {
output.writeInt32(6, canNotCloseTimes_);
}
if (trainAtpCutTimes_ != 0) {
output.writeInt32(7, trainAtpCutTimes_);
}
getUnknownFields().writeTo(output);
}
@ -268,6 +296,10 @@ public final class GuardConfigProto {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(6, canNotCloseTimes_);
}
if (trainAtpCutTimes_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, trainAtpCutTimes_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@ -295,6 +327,8 @@ public final class GuardConfigProto {
!= other.getCanNotOpenTimes()) return false;
if (getCanNotCloseTimes()
!= other.getCanNotCloseTimes()) return false;
if (getTrainAtpCutTimes()
!= other.getTrainAtpCutTimes()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@ -318,6 +352,8 @@ public final class GuardConfigProto {
hash = (53 * hash) + getCanNotOpenTimes();
hash = (37 * hash) + CANNOTCLOSETIMES_FIELD_NUMBER;
hash = (53 * hash) + getCanNotCloseTimes();
hash = (37 * hash) + TRAINATPCUTTIMES_FIELD_NUMBER;
hash = (53 * hash) + getTrainAtpCutTimes();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@ -455,6 +491,7 @@ public final class GuardConfigProto {
orangeLedMostNums_ = 0;
canNotOpenTimes_ = 0;
canNotCloseTimes_ = 0;
trainAtpCutTimes_ = 0;
return this;
}
@ -506,6 +543,9 @@ public final class GuardConfigProto {
if (((from_bitField0_ & 0x00000020) != 0)) {
result.canNotCloseTimes_ = canNotCloseTimes_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.trainAtpCutTimes_ = trainAtpCutTimes_;
}
}
@java.lang.Override
@ -538,6 +578,9 @@ public final class GuardConfigProto {
if (other.getCanNotCloseTimes() != 0) {
setCanNotCloseTimes(other.getCanNotCloseTimes());
}
if (other.getTrainAtpCutTimes() != 0) {
setTrainAtpCutTimes(other.getTrainAtpCutTimes());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@ -594,6 +637,11 @@ public final class GuardConfigProto {
bitField0_ |= 0x00000020;
break;
} // case 48
case 56: {
trainAtpCutTimes_ = input.readInt32();
bitField0_ |= 0x00000040;
break;
} // case 56
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@ -874,6 +922,50 @@ public final class GuardConfigProto {
onChanged();
return this;
}
private int trainAtpCutTimes_ ;
/**
* <pre>
*列车制动 atp 切除的延时时间
* </pre>
*
* <code>int32 trainAtpCutTimes = 7;</code>
* @return The trainAtpCutTimes.
*/
@java.lang.Override
public int getTrainAtpCutTimes() {
return trainAtpCutTimes_;
}
/**
* <pre>
*列车制动 atp 切除的延时时间
* </pre>
*
* <code>int32 trainAtpCutTimes = 7;</code>
* @param value The trainAtpCutTimes to set.
* @return This builder for chaining.
*/
public Builder setTrainAtpCutTimes(int value) {
trainAtpCutTimes_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* <pre>
*列车制动 atp 切除的延时时间
* </pre>
*
* <code>int32 trainAtpCutTimes = 7;</code>
* @return This builder for chaining.
*/
public Builder clearTrainAtpCutTimes() {
bitField0_ = (bitField0_ & ~0x00000040);
trainAtpCutTimes_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@ -952,13 +1044,14 @@ public final class GuardConfigProto {
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\021guardConfig.proto\022\005alert\"\250\001\n\013GuardConf" +
"\n\021guardConfig.proto\022\005alert\"\302\001\n\013GuardConf" +
"ig\022\027\n\017switchLostTimes\030\001 \001(\005\022\032\n\022switchLos" +
"tMostNums\030\002 \001(\005\022\026\n\016redLedMostNums\030\003 \001(\005\022" +
"\031\n\021orangeLedMostNums\030\004 \001(\005\022\027\n\017canNotOpen" +
"Times\030\005 \001(\005\022\030\n\020canNotCloseTimes\030\006 \001(\005B5\n" +
"!club.joylink.xiannccda.dto.protosB\020Guar" +
"dConfigProtob\006proto3"
"Times\030\005 \001(\005\022\030\n\020canNotCloseTimes\030\006 \001(\005\022\030\n" +
"\020trainAtpCutTimes\030\007 \001(\005B5\n!club.joylink." +
"xiannccda.dto.protosB\020GuardConfigProtob\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@ -969,7 +1062,7 @@ public final class GuardConfigProto {
internal_static_alert_GuardConfig_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_alert_GuardConfig_descriptor,
new java.lang.String[] { "SwitchLostTimes", "SwitchLostMostNums", "RedLedMostNums", "OrangeLedMostNums", "CanNotOpenTimes", "CanNotCloseTimes", });
new java.lang.String[] { "SwitchLostTimes", "SwitchLostMostNums", "RedLedMostNums", "OrangeLedMostNums", "CanNotOpenTimes", "CanNotCloseTimes", "TrainAtpCutTimes", });
}
// @@protoc_insertion_point(outer_class_scope)