diff --git a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SignalChanger.java b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SignalChanger.java index 9278f8a..5677bf0 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SignalChanger.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SignalChanger.java @@ -7,6 +7,9 @@ import org.apache.commons.lang3.StringUtils; public class SignalChanger { + /** + * X10301 /XR + */ public static class Signal1Changer implements NameChangerFilter { @Override @@ -31,6 +34,9 @@ public class SignalChanger { } } + /** + * X1506_L2 + */ public static class Signal2Changer implements NameChangerFilter { @Override diff --git a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SwitchChanger.java b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SwitchChanger.java index fa61b38..e65e0a3 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SwitchChanger.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/SwitchChanger.java @@ -4,9 +4,11 @@ import club.joylink.xiannccda.ats.message.line3.device.DeviceType; import java.util.regex.Matcher; import java.util.regex.Pattern; +/** + * P09301 + */ public class SwitchChanger implements NameChangerFilter { - @Override public DeviceType deviceType() { return DeviceType.DEVICE_TYPE_SWITCH; diff --git a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/TrackChanger.java b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/TrackChanger.java index 53c8726..d3ea31d 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/TrackChanger.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/line3/changer/TrackChanger.java @@ -6,6 +6,9 @@ import java.util.regex.Pattern; public class TrackChanger { + /** + * 处理 3号线 区段位 T06301A 这样类似的格式 + */ public static class Track1Changer implements NameChangerFilter { @Override @@ -15,7 +18,7 @@ public class TrackChanger { @Override public String changeDeviceName(String sourceName) { - Pattern regex = Pattern.compile("^([A-Za-z]{1,2})([\\d]{1,2})3?(.*?)([A-Z])$"); + Pattern regex = Pattern.compile("^([A-Za-z]{1,2})([\\d]{1,2})3(.*?)([A-Z])$"); // Pattern regex = Pattern.compile("^([A-Za-z]{1,2})([\\d]{2})3(.*?)([A-Z])$"); Matcher matcher = regex.matcher(sourceName); if (matcher.find()) { @@ -28,6 +31,9 @@ public class TrackChanger { } } + /** + * 处理区段 T11301 这样类似的格式 + */ public static class Track4Changer implements NameChangerFilter { @Override @@ -53,6 +59,9 @@ public class TrackChanger { } } + /** + * 处理区段 TP_D33G 这样类似的格式 + */ public static class Track2Changer implements NameChangerFilter { @Override @@ -71,6 +80,9 @@ public class TrackChanger { } } + /** + * 处理区段 T150406 这样类似的格式 + */ public static class Track3Changer implements NameChangerFilter { @Override diff --git a/src/main/java/club/joylink/xiannccda/dto/protos/DeviceInfoProto.java b/src/main/java/club/joylink/xiannccda/dto/protos/DeviceInfoProto.java index 57bb75b..564bb04 100644 --- a/src/main/java/club/joylink/xiannccda/dto/protos/DeviceInfoProto.java +++ b/src/main/java/club/joylink/xiannccda/dto/protos/DeviceInfoProto.java @@ -52,73 +52,51 @@ public final class DeviceInfoProto { /** *
- * 区段类型 + * 关联区段 ** - *
.graphicData.Section.SectionType type = 3;
- * @return The enum numeric value on the wire for type.
+ * repeated string childrenId = 3;
+ * @return A list containing the childrenId.
*/
- int getTypeValue();
- /**
- * - * 区段类型 - *- * - *
.graphicData.Section.SectionType type = 3;
- * @return The type.
- */
- club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType getType();
-
+ java.util.List* 关联区段 ** - *
repeated .state.Section children = 4;
+ * repeated string childrenId = 3;
+ * @return The count of childrenId.
*/
- java.util.List* 关联区段 ** - *
repeated .state.Section children = 4;
+ * repeated string childrenId = 3;
+ * @param index The index of the element to return.
+ * @return The childrenId at the given index.
*/
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section getChildren(int index);
+ java.lang.String getChildrenId(int index);
/**
* * 关联区段 ** - *
repeated .state.Section children = 4;
+ * repeated string childrenId = 3;
+ * @param index The index of the value to return.
+ * @return The bytes of the childrenId at the given index.
*/
- int getChildrenCount();
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- java.util.List extends club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder>
- getChildrenOrBuilderList();
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder getChildrenOrBuilder(
- int index);
+ com.google.protobuf.ByteString
+ getChildrenIdBytes(int index);
/**
* * 公里标 ** - *
repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
java.util.Listrepeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem getKilometerSystem(int index);
/**
@@ -135,7 +113,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
int getKilometerSystemCount();
/**
@@ -143,7 +121,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
java.util.List extends club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder>
getKilometerSystemOrBuilderList();
@@ -152,7 +130,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder getKilometerSystemOrBuilder(
int index);
@@ -162,7 +140,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return A list containing the convertKilometer.
*/
java.util.Listrepeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return The count of convertKilometer.
*/
int getConvertKilometerCount();
@@ -180,11 +158,31 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param index The index of the element to return.
* @return The convertKilometer at the given index.
*/
long getConvertKilometer(int index);
+
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The physicalSectionId.
+ */
+ java.lang.String getPhysicalSectionId();
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The bytes for physicalSectionId.
+ */
+ com.google.protobuf.ByteString
+ getPhysicalSectionIdBytes();
}
/**
* @@ -205,10 +203,11 @@ public final class DeviceInfoProto { private Section() { id_ = ""; code_ = ""; - type_ = 0; - children_ = java.util.Collections.emptyList(); + childrenId_ = + com.google.protobuf.LazyStringArrayList.emptyList(); kilometerSystem_ = java.util.Collections.emptyList(); convertKilometer_ = emptyLongList(); + physicalSectionId_ = ""; } @java.lang.Override @@ -317,94 +316,60 @@ public final class DeviceInfoProto { } } - public static final int TYPE_FIELD_NUMBER = 3; - private int type_ = 0; - /** - ** - *- * 区段类型 - *- * - *.graphicData.Section.SectionType type = 3;
- * @return The enum numeric value on the wire for type. - */ - @java.lang.Override public int getTypeValue() { - return type_; - } - /** - *- * 区段类型 - *- * - *.graphicData.Section.SectionType type = 3;
- * @return The type. - */ - @java.lang.Override public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType getType() { - club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType result = club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.forNumber(type_); - return result == null ? club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.UNRECOGNIZED : result; - } - - public static final int CHILDREN_FIELD_NUMBER = 4; + public static final int CHILDRENID_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private java.util.Listchildren_; + private com.google.protobuf.LazyStringArrayList childrenId_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * 关联区段 ** - *repeated .state.Section children = 4;
+ *repeated string childrenId = 3;
+ * @return A list containing the childrenId. */ - @java.lang.Override - public java.util.ListgetChildrenList() { - return children_; + public com.google.protobuf.ProtocolStringList + getChildrenIdList() { + return childrenId_; } /** * * 关联区段 ** - *repeated .state.Section children = 4;
+ *repeated string childrenId = 3;
+ * @return The count of childrenId. */ - @java.lang.Override - public java.util.List extends club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder> - getChildrenOrBuilderList() { - return children_; + public int getChildrenIdCount() { + return childrenId_.size(); } /** ** 关联区段 ** - *repeated .state.Section children = 4;
+ *repeated string childrenId = 3;
+ * @param index The index of the element to return. + * @return The childrenId at the given index. */ - @java.lang.Override - public int getChildrenCount() { - return children_.size(); + public java.lang.String getChildrenId(int index) { + return childrenId_.get(index); } /** ** 关联区段 ** - *repeated .state.Section children = 4;
+ *repeated string childrenId = 3;
+ * @param index The index of the value to return. + * @return The bytes of the childrenId at the given index. */ - @java.lang.Override - public club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section getChildren(int index) { - return children_.get(index); - } - /** - *- * 关联区段 - *- * - *repeated .state.Section children = 4;
- */ - @java.lang.Override - public club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder getChildrenOrBuilder( - int index) { - return children_.get(index); + public com.google.protobuf.ByteString + getChildrenIdBytes(int index) { + return childrenId_.getByteString(index); } - public static final int KILOMETERSYSTEM_FIELD_NUMBER = 5; + public static final int KILOMETERSYSTEM_FIELD_NUMBER = 4; @SuppressWarnings("serial") private java.util.ListkilometerSystem_; /** @@ -412,7 +377,7 @@ public final class DeviceInfoProto { * 公里标 *
repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
@java.lang.Override
public java.util.Listrepeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
@java.lang.Override
public java.util.List extends club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder>
@@ -435,7 +400,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
@java.lang.Override
public int getKilometerSystemCount() {
@@ -446,7 +411,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
@java.lang.Override
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem getKilometerSystem(int index) {
@@ -457,7 +422,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
@java.lang.Override
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder getKilometerSystemOrBuilder(
@@ -465,7 +430,7 @@ public final class DeviceInfoProto {
return kilometerSystem_.get(index);
}
- public static final int CONVERTKILOMETER_FIELD_NUMBER = 7;
+ public static final int CONVERTKILOMETER_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private com.google.protobuf.Internal.LongList convertKilometer_;
/**
@@ -473,7 +438,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return A list containing the convertKilometer.
*/
@java.lang.Override
@@ -486,7 +451,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return The count of convertKilometer.
*/
public int getConvertKilometerCount() {
@@ -497,7 +462,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param index The index of the element to return.
* @return The convertKilometer at the given index.
*/
@@ -506,6 +471,53 @@ public final class DeviceInfoProto {
}
private int convertKilometerMemoizedSerializedSize = -1;
+ public static final int PHYSICALSECTIONID_FIELD_NUMBER = 6;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object physicalSectionId_ = "";
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The physicalSectionId.
+ */
+ @java.lang.Override
+ public java.lang.String getPhysicalSectionId() {
+ java.lang.Object ref = physicalSectionId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ physicalSectionId_ = s;
+ return s;
+ }
+ }
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The bytes for physicalSectionId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getPhysicalSectionIdBytes() {
+ java.lang.Object ref = physicalSectionId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ physicalSectionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
@@ -527,22 +539,22 @@ public final class DeviceInfoProto {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_);
}
- if (type_ != club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.Physical.getNumber()) {
- output.writeEnum(3, type_);
- }
- for (int i = 0; i < children_.size(); i++) {
- output.writeMessage(4, children_.get(i));
+ for (int i = 0; i < childrenId_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, childrenId_.getRaw(i));
}
for (int i = 0; i < kilometerSystem_.size(); i++) {
- output.writeMessage(5, kilometerSystem_.get(i));
+ output.writeMessage(4, kilometerSystem_.get(i));
}
if (getConvertKilometerList().size() > 0) {
- output.writeUInt32NoTag(58);
+ output.writeUInt32NoTag(42);
output.writeUInt32NoTag(convertKilometerMemoizedSerializedSize);
}
for (int i = 0; i < convertKilometer_.size(); i++) {
output.writeInt64NoTag(convertKilometer_.getLong(i));
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(physicalSectionId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, physicalSectionId_);
+ }
getUnknownFields().writeTo(output);
}
@@ -558,17 +570,17 @@ public final class DeviceInfoProto {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, code_);
}
- if (type_ != club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.Physical.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(3, type_);
- }
- for (int i = 0; i < children_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, children_.get(i));
+ {
+ int dataSize = 0;
+ for (int i = 0; i < childrenId_.size(); i++) {
+ dataSize += computeStringSizeNoTag(childrenId_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getChildrenIdList().size();
}
for (int i = 0; i < kilometerSystem_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, kilometerSystem_.get(i));
+ .computeMessageSize(4, kilometerSystem_.get(i));
}
{
int dataSize = 0;
@@ -584,6 +596,9 @@ public final class DeviceInfoProto {
}
convertKilometerMemoizedSerializedSize = dataSize;
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(physicalSectionId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, physicalSectionId_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -603,13 +618,14 @@ public final class DeviceInfoProto {
.equals(other.getId())) return false;
if (!getCode()
.equals(other.getCode())) return false;
- if (type_ != other.type_) return false;
- if (!getChildrenList()
- .equals(other.getChildrenList())) return false;
+ if (!getChildrenIdList()
+ .equals(other.getChildrenIdList())) return false;
if (!getKilometerSystemList()
.equals(other.getKilometerSystemList())) return false;
if (!getConvertKilometerList()
.equals(other.getConvertKilometerList())) return false;
+ if (!getPhysicalSectionId()
+ .equals(other.getPhysicalSectionId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -625,11 +641,9 @@ public final class DeviceInfoProto {
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + CODE_FIELD_NUMBER;
hash = (53 * hash) + getCode().hashCode();
- hash = (37 * hash) + TYPE_FIELD_NUMBER;
- hash = (53 * hash) + type_;
- if (getChildrenCount() > 0) {
- hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
- hash = (53 * hash) + getChildrenList().hashCode();
+ if (getChildrenIdCount() > 0) {
+ hash = (37 * hash) + CHILDRENID_FIELD_NUMBER;
+ hash = (53 * hash) + getChildrenIdList().hashCode();
}
if (getKilometerSystemCount() > 0) {
hash = (37 * hash) + KILOMETERSYSTEM_FIELD_NUMBER;
@@ -639,6 +653,8 @@ public final class DeviceInfoProto {
hash = (37 * hash) + CONVERTKILOMETER_FIELD_NUMBER;
hash = (53 * hash) + getConvertKilometerList().hashCode();
}
+ hash = (37 * hash) + PHYSICALSECTIONID_FIELD_NUMBER;
+ hash = (53 * hash) + getPhysicalSectionId().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -776,22 +792,17 @@ public final class DeviceInfoProto {
bitField0_ = 0;
id_ = "";
code_ = "";
- type_ = 0;
- if (childrenBuilder_ == null) {
- children_ = java.util.Collections.emptyList();
- } else {
- children_ = null;
- childrenBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
+ childrenId_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
if (kilometerSystemBuilder_ == null) {
kilometerSystem_ = java.util.Collections.emptyList();
} else {
kilometerSystem_ = null;
kilometerSystemBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
convertKilometer_ = emptyLongList();
+ physicalSectionId_ = "";
return this;
}
@@ -825,27 +836,18 @@ public final class DeviceInfoProto {
}
private void buildPartialRepeatedFields(club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section result) {
- if (childrenBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
- children_ = java.util.Collections.unmodifiableList(children_);
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.children_ = children_;
- } else {
- result.children_ = childrenBuilder_.build();
- }
if (kilometerSystemBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
kilometerSystem_ = java.util.Collections.unmodifiableList(kilometerSystem_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.kilometerSystem_ = kilometerSystem_;
} else {
result.kilometerSystem_ = kilometerSystemBuilder_.build();
}
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
convertKilometer_.makeImmutable();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000010);
}
result.convertKilometer_ = convertKilometer_;
}
@@ -859,7 +861,11 @@ public final class DeviceInfoProto {
result.code_ = code_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
- result.type_ = type_;
+ childrenId_.makeImmutable();
+ result.childrenId_ = childrenId_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.physicalSectionId_ = physicalSectionId_;
}
}
@@ -885,40 +891,21 @@ public final class DeviceInfoProto {
bitField0_ |= 0x00000002;
onChanged();
}
- if (other.type_ != 0) {
- setTypeValue(other.getTypeValue());
- }
- if (childrenBuilder_ == null) {
- if (!other.children_.isEmpty()) {
- if (children_.isEmpty()) {
- children_ = other.children_;
- bitField0_ = (bitField0_ & ~0x00000008);
- } else {
- ensureChildrenIsMutable();
- children_.addAll(other.children_);
- }
- onChanged();
- }
- } else {
- if (!other.children_.isEmpty()) {
- if (childrenBuilder_.isEmpty()) {
- childrenBuilder_.dispose();
- childrenBuilder_ = null;
- children_ = other.children_;
- bitField0_ = (bitField0_ & ~0x00000008);
- childrenBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getChildrenFieldBuilder() : null;
- } else {
- childrenBuilder_.addAllMessages(other.children_);
- }
+ if (!other.childrenId_.isEmpty()) {
+ if (childrenId_.isEmpty()) {
+ childrenId_ = other.childrenId_;
+ bitField0_ |= 0x00000004;
+ } else {
+ ensureChildrenIdIsMutable();
+ childrenId_.addAll(other.childrenId_);
}
+ onChanged();
}
if (kilometerSystemBuilder_ == null) {
if (!other.kilometerSystem_.isEmpty()) {
if (kilometerSystem_.isEmpty()) {
kilometerSystem_ = other.kilometerSystem_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureKilometerSystemIsMutable();
kilometerSystem_.addAll(other.kilometerSystem_);
@@ -931,7 +918,7 @@ public final class DeviceInfoProto {
kilometerSystemBuilder_.dispose();
kilometerSystemBuilder_ = null;
kilometerSystem_ = other.kilometerSystem_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
kilometerSystemBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getKilometerSystemFieldBuilder() : null;
@@ -943,13 +930,18 @@ public final class DeviceInfoProto {
if (!other.convertKilometer_.isEmpty()) {
if (convertKilometer_.isEmpty()) {
convertKilometer_ = other.convertKilometer_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureConvertKilometerIsMutable();
convertKilometer_.addAll(other.convertKilometer_);
}
onChanged();
}
+ if (!other.getPhysicalSectionId().isEmpty()) {
+ physicalSectionId_ = other.physicalSectionId_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -986,25 +978,13 @@ public final class DeviceInfoProto {
bitField0_ |= 0x00000002;
break;
} // case 18
- case 24: {
- type_ = input.readEnum();
- bitField0_ |= 0x00000004;
+ case 26: {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensureChildrenIdIsMutable();
+ childrenId_.add(s);
break;
- } // case 24
+ } // case 26
case 34: {
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section m =
- input.readMessage(
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.parser(),
- extensionRegistry);
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.add(m);
- } else {
- childrenBuilder_.addMessage(m);
- }
- break;
- } // case 34
- case 42: {
club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem m =
input.readMessage(
club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.parser(),
@@ -1016,14 +996,14 @@ public final class DeviceInfoProto {
kilometerSystemBuilder_.addMessage(m);
}
break;
- } // case 42
- case 56: {
+ } // case 34
+ case 40: {
long v = input.readInt64();
ensureConvertKilometerIsMutable();
convertKilometer_.addLong(v);
break;
- } // case 56
- case 58: {
+ } // case 40
+ case 42: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
ensureConvertKilometerIsMutable();
@@ -1032,7 +1012,12 @@ public final class DeviceInfoProto {
}
input.popLimit(limit);
break;
- } // case 58
+ } // case 42
+ case 50: {
+ physicalSectionId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
@@ -1214,152 +1199,131 @@ public final class DeviceInfoProto {
return this;
}
- private int type_ = 0;
- /**
- * - * 区段类型 - *- * - *
.graphicData.Section.SectionType type = 3;
- * @return The enum numeric value on the wire for type.
- */
- @java.lang.Override public int getTypeValue() {
- return type_;
+ private com.google.protobuf.LazyStringArrayList childrenId_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+ private void ensureChildrenIdIsMutable() {
+ if (!childrenId_.isModifiable()) {
+ childrenId_ = new com.google.protobuf.LazyStringArrayList(childrenId_);
+ }
+ bitField0_ |= 0x00000004;
}
/**
* - * 区段类型 + * 关联区段 ** - *
.graphicData.Section.SectionType type = 3;
- * @param value The enum numeric value on the wire for type to set.
+ * repeated string childrenId = 3;
+ * @return A list containing the childrenId.
+ */
+ public com.google.protobuf.ProtocolStringList
+ getChildrenIdList() {
+ childrenId_.makeImmutable();
+ return childrenId_;
+ }
+ /**
+ * + * 关联区段 + *+ * + *
repeated string childrenId = 3;
+ * @return The count of childrenId.
+ */
+ public int getChildrenIdCount() {
+ return childrenId_.size();
+ }
+ /**
+ * + * 关联区段 + *+ * + *
repeated string childrenId = 3;
+ * @param index The index of the element to return.
+ * @return The childrenId at the given index.
+ */
+ public java.lang.String getChildrenId(int index) {
+ return childrenId_.get(index);
+ }
+ /**
+ * + * 关联区段 + *+ * + *
repeated string childrenId = 3;
+ * @param index The index of the value to return.
+ * @return The bytes of the childrenId at the given index.
+ */
+ public com.google.protobuf.ByteString
+ getChildrenIdBytes(int index) {
+ return childrenId_.getByteString(index);
+ }
+ /**
+ * + * 关联区段 + *+ * + *
repeated string childrenId = 3;
+ * @param index The index to set the value at.
+ * @param value The childrenId to set.
* @return This builder for chaining.
*/
- public Builder setTypeValue(int value) {
- type_ = value;
+ public Builder setChildrenId(
+ int index, java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureChildrenIdIsMutable();
+ childrenId_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* - * 区段类型 + * 关联区段 ** - *
.graphicData.Section.SectionType type = 3;
- * @return The type.
- */
- @java.lang.Override
- public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType getType() {
- club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType result = club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.forNumber(type_);
- return result == null ? club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType.UNRECOGNIZED : result;
- }
- /**
- * - * 区段类型 - *- * - *
.graphicData.Section.SectionType type = 3;
- * @param value The type to set.
+ * repeated string childrenId = 3;
+ * @param value The childrenId to add.
* @return This builder for chaining.
*/
- public Builder setType(club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.Section.SectionType value) {
- if (value == null) {
- throw new NullPointerException();
- }
+ public Builder addChildrenId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ ensureChildrenIdIsMutable();
+ childrenId_.add(value);
bitField0_ |= 0x00000004;
- type_ = value.getNumber();
onChanged();
return this;
}
/**
* - * 区段类型 + * 关联区段 ** - *
.graphicData.Section.SectionType type = 3;
+ * repeated string childrenId = 3;
+ * @param values The childrenId to add.
* @return This builder for chaining.
*/
- public Builder clearType() {
- bitField0_ = (bitField0_ & ~0x00000004);
- type_ = 0;
+ public Builder addAllChildrenId(
+ java.lang.Iterable* 关联区段 ** - *
repeated .state.Section children = 4;
+ * repeated string childrenId = 3;
+ * @return This builder for chaining.
*/
- public java.util.List- * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public int getChildrenCount() {
- if (childrenBuilder_ == null) {
- return children_.size();
- } else {
- return childrenBuilder_.getCount();
- }
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section getChildren(int index) {
- if (childrenBuilder_ == null) {
- return children_.get(index);
- } else {
- return childrenBuilder_.getMessage(index);
- }
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder setChildren(
- int index, club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.set(index, value);
- onChanged();
- } else {
- childrenBuilder_.setMessage(index, value);
- }
+ public Builder clearChildrenId() {
+ childrenId_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);;
+ onChanged();
return this;
}
/**
@@ -1367,244 +1331,27 @@ public final class DeviceInfoProto {
* 关联区段
*
*
- * repeated .state.Section children = 4;
+ * repeated string childrenId = 3;
+ * @param value The bytes of the childrenId to add.
+ * @return This builder for chaining.
*/
- public Builder setChildren(
- int index, club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.set(index, builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.setMessage(index, builderForValue.build());
- }
+ public Builder addChildrenIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ ensureChildrenIdIsMutable();
+ childrenId_.add(value);
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder addChildren(club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.add(value);
- onChanged();
- } else {
- childrenBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder addChildren(
- int index, club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section value) {
- if (childrenBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureChildrenIsMutable();
- children_.add(index, value);
- onChanged();
- } else {
- childrenBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder addChildren(
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.add(builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder addChildren(
- int index, club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder builderForValue) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.add(index, builderForValue.build());
- onChanged();
- } else {
- childrenBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder addAllChildren(
- java.lang.Iterable extends club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section> values) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, children_);
- onChanged();
- } else {
- childrenBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder clearChildren() {
- if (childrenBuilder_ == null) {
- children_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
- onChanged();
- } else {
- childrenBuilder_.clear();
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public Builder removeChildren(int index) {
- if (childrenBuilder_ == null) {
- ensureChildrenIsMutable();
- children_.remove(index);
- onChanged();
- } else {
- childrenBuilder_.remove(index);
- }
- return this;
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder getChildrenBuilder(
- int index) {
- return getChildrenFieldBuilder().getBuilder(index);
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder getChildrenOrBuilder(
- int index) {
- if (childrenBuilder_ == null) {
- return children_.get(index); } else {
- return childrenBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public java.util.List extends club.joylink.xiannccda.dto.protos.DeviceInfoProto.SectionOrBuilder>
- getChildrenOrBuilderList() {
- if (childrenBuilder_ != null) {
- return childrenBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(children_);
- }
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder addChildrenBuilder() {
- return getChildrenFieldBuilder().addBuilder(
- club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.getDefaultInstance());
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.Builder addChildrenBuilder(
- int index) {
- return getChildrenFieldBuilder().addBuilder(
- index, club.joylink.xiannccda.dto.protos.DeviceInfoProto.Section.getDefaultInstance());
- }
- /**
- * - * 关联区段 - *- * - *
repeated .state.Section children = 4;
- */
- public java.util.Listrepeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public java.util.Listrepeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public int getKilometerSystemCount() {
if (kilometerSystemBuilder_ == null) {
@@ -1644,7 +1391,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem getKilometerSystem(int index) {
if (kilometerSystemBuilder_ == null) {
@@ -1658,7 +1405,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder setKilometerSystem(
int index, club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem value) {
@@ -1679,7 +1426,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder setKilometerSystem(
int index, club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder builderForValue) {
@@ -1697,7 +1444,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder addKilometerSystem(club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem value) {
if (kilometerSystemBuilder_ == null) {
@@ -1717,7 +1464,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder addKilometerSystem(
int index, club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem value) {
@@ -1738,7 +1485,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder addKilometerSystem(
club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder builderForValue) {
@@ -1756,7 +1503,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder addKilometerSystem(
int index, club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder builderForValue) {
@@ -1774,7 +1521,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder addAllKilometerSystem(
java.lang.Iterable extends club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem> values) {
@@ -1793,12 +1540,12 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder clearKilometerSystem() {
if (kilometerSystemBuilder_ == null) {
kilometerSystem_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
kilometerSystemBuilder_.clear();
@@ -1810,7 +1557,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public Builder removeKilometerSystem(int index) {
if (kilometerSystemBuilder_ == null) {
@@ -1827,7 +1574,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder getKilometerSystemBuilder(
int index) {
@@ -1838,7 +1585,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder getKilometerSystemOrBuilder(
int index) {
@@ -1852,7 +1599,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public java.util.List extends club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystemOrBuilder>
getKilometerSystemOrBuilderList() {
@@ -1867,7 +1614,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder addKilometerSystemBuilder() {
return getKilometerSystemFieldBuilder().addBuilder(
@@ -1878,7 +1625,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public club.joylink.xiannccda.dto.protos.LayoutGraphicsProto.KilometerSystem.Builder addKilometerSystemBuilder(
int index) {
@@ -1890,7 +1637,7 @@ public final class DeviceInfoProto {
* 公里标
*
*
- * repeated .graphicData.KilometerSystem kilometerSystem = 5;
+ * repeated .graphicData.KilometerSystem kilometerSystem = 4;
*/
public java.util.Listrepeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return A list containing the convertKilometer.
*/
public java.util.Listrepeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return The count of convertKilometer.
*/
public int getConvertKilometerCount() {
@@ -1947,7 +1694,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param index The index of the element to return.
* @return The convertKilometer at the given index.
*/
@@ -1959,7 +1706,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param index The index to set the value at.
* @param value The convertKilometer to set.
* @return This builder for chaining.
@@ -1977,7 +1724,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param value The convertKilometer to add.
* @return This builder for chaining.
*/
@@ -1993,7 +1740,7 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @param values The convertKilometer to add.
* @return This builder for chaining.
*/
@@ -2010,15 +1757,107 @@ public final class DeviceInfoProto {
* 转换后的公里标数字
*
*
- * repeated int64 convertKilometer = 7;
+ * repeated int64 convertKilometer = 5;
* @return This builder for chaining.
*/
public Builder clearConvertKilometer() {
convertKilometer_ = emptyLongList();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object physicalSectionId_ = "";
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The physicalSectionId.
+ */
+ public java.lang.String getPhysicalSectionId() {
+ java.lang.Object ref = physicalSectionId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ physicalSectionId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return The bytes for physicalSectionId.
+ */
+ public com.google.protobuf.ByteString
+ getPhysicalSectionIdBytes() {
+ java.lang.Object ref = physicalSectionId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ physicalSectionId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @param value The physicalSectionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPhysicalSectionId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ physicalSectionId_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @return This builder for chaining.
+ */
+ public Builder clearPhysicalSectionId() {
+ physicalSectionId_ = getDefaultInstance().getPhysicalSectionId();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
+ /**
+ * + * 物理区段Id + *+ * + *
string physicalSectionId = 6;
+ * @param value The bytes for physicalSectionId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPhysicalSectionIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ checkByteStringIsUtf8(value);
+ physicalSectionId_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -3509,16 +3348,16 @@ public final class DeviceInfoProto {
static {
java.lang.String[] descriptorData = {
"\n\021device_info.proto\022\005state\032\033stationLayou" +
- "tGraphics.proto\"\306\001\n\007Section\022\n\n\002id\030\001 \001(\t\022" +
- "\014\n\004code\030\002 \001(\t\022.\n\004type\030\003 \001(\0162 .graphicDat" +
- "a.Section.SectionType\022 \n\010children\030\004 \003(\0132" +
- "\016.state.Section\0225\n\017kilometerSystem\030\005 \003(\013" +
- "2\034.graphicData.KilometerSystem\022\030\n\020conver" +
- "tKilometer\030\007 \003(\003\"t\n\007Turnout\022\n\n\002id\030\001 \001(\t\022" +
- "\014\n\004code\030\002 \001(\t\0225\n\017kilometerSystem\030\003 \003(\0132\034" +
- ".graphicData.KilometerSystem\022\030\n\020convertK" +
- "ilometer\030\004 \003(\003B4\n!club.joylink.xiannccda" +
- ".dto.protosB\017DeviceInfoProtob\006proto3"
+ "tGraphics.proto\"\243\001\n\007Section\022\n\n\002id\030\001 \001(\t\022" +
+ "\014\n\004code\030\002 \001(\t\022\022\n\nchildrenId\030\003 \003(\t\0225\n\017kil" +
+ "ometerSystem\030\004 \003(\0132\034.graphicData.Kilomet" +
+ "erSystem\022\030\n\020convertKilometer\030\005 \003(\003\022\031\n\021ph" +
+ "ysicalSectionId\030\006 \001(\t\"t\n\007Turnout\022\n\n\002id\030\001" +
+ " \001(\t\022\014\n\004code\030\002 \001(\t\0225\n\017kilometerSystem\030\003 " +
+ "\003(\0132\034.graphicData.KilometerSystem\022\030\n\020con" +
+ "vertKilometer\030\004 \003(\003B4\n!club.joylink.xian" +
+ "nccda.dto.protosB\017DeviceInfoProtob\006proto" +
+ "3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -3530,7 +3369,7 @@ public final class DeviceInfoProto {
internal_static_state_Section_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_state_Section_descriptor,
- new java.lang.String[] { "Id", "Code", "Type", "Children", "KilometerSystem", "ConvertKilometer", });
+ new java.lang.String[] { "Id", "Code", "ChildrenId", "KilometerSystem", "ConvertKilometer", "PhysicalSectionId", });
internal_static_state_Turnout_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_state_Turnout_fieldAccessorTable = new
diff --git a/src/main/java/club/joylink/xiannccda/dto/protos/DeviceStatusProto.java b/src/main/java/club/joylink/xiannccda/dto/protos/DeviceStatusProto.java
index 2162e83..367de39 100644
--- a/src/main/java/club/joylink/xiannccda/dto/protos/DeviceStatusProto.java
+++ b/src/main/java/club/joylink/xiannccda/dto/protos/DeviceStatusProto.java
@@ -6464,14 +6464,87 @@ public final class DeviceStatusProto {
/**
* - * bool ipSingleSwitchStusExpectLock = 9; // 期望锁闭 - * bool ipSingleSwitchStusExpectUnlock = 10; // 期望锁闭解除 - * bool ipSingleSwitchStusExpectNormal = 11; // 期望道岔定位 - * bool ipSingleSwitchStusExpectReverse = 12; // 期望道岔反位 - * bool ipSingleSwitchStusExpectBlock = 13; // 期望道岔单锁 - * bool ipSingleSwitchStusExpectUnblock = 14; // 期望道岔解除单锁 - * bool ipSingleSwitchStusInRoute = 15; // 是否在进路中锁闭 - * bool ipSingleSwitchStusManualMode = 16; // 道岔为手动操作模式 + * 期望锁闭 + *+ * + *
bool ipSingleSwitchStusExpectLock = 9;
+ * @return The ipSingleSwitchStusExpectLock.
+ */
+ boolean getIpSingleSwitchStusExpectLock();
+
+ /**
+ * + * 期望锁闭解除 + *+ * + *
bool ipSingleSwitchStusExpectUnlock = 10;
+ * @return The ipSingleSwitchStusExpectUnlock.
+ */
+ boolean getIpSingleSwitchStusExpectUnlock();
+
+ /**
+ * + * 期望道岔定位 + *+ * + *
bool ipSingleSwitchStusExpectNormal = 11;
+ * @return The ipSingleSwitchStusExpectNormal.
+ */
+ boolean getIpSingleSwitchStusExpectNormal();
+
+ /**
+ * + * 期望道岔反位 + *+ * + *
bool ipSingleSwitchStusExpectReverse = 12;
+ * @return The ipSingleSwitchStusExpectReverse.
+ */
+ boolean getIpSingleSwitchStusExpectReverse();
+
+ /**
+ * + * 期望道岔单锁 + *+ * + *
bool ipSingleSwitchStusExpectBlock = 13;
+ * @return The ipSingleSwitchStusExpectBlock.
+ */
+ boolean getIpSingleSwitchStusExpectBlock();
+
+ /**
+ * + * 期望道岔解除单锁 + *+ * + *
bool ipSingleSwitchStusExpectUnblock = 14;
+ * @return The ipSingleSwitchStusExpectUnblock.
+ */
+ boolean getIpSingleSwitchStusExpectUnblock();
+
+ /**
+ * + * 是否在进路中锁闭 + *+ * + *
bool ipSingleSwitchStusInRoute = 15;
+ * @return The ipSingleSwitchStusInRoute.
+ */
+ boolean getIpSingleSwitchStusInRoute();
+
+ /**
+ * + * 道岔为手动操作模式 + *+ * + *
bool ipSingleSwitchStusManualMode = 16;
+ * @return The ipSingleSwitchStusManualMode.
+ */
+ boolean getIpSingleSwitchStusManualMode();
+
+ /**
+ * + * 道岔切除 ** *
bool ipSingleSwitchStusCut = 17;
@@ -6765,18 +6838,131 @@ public final class DeviceStatusProto {
return ipSingleSwitchStusJammed_;
}
+ public static final int IPSINGLESWITCHSTUSEXPECTLOCK_FIELD_NUMBER = 9;
+ private boolean ipSingleSwitchStusExpectLock_ = false;
+ /**
+ * + * 期望锁闭 + *+ * + *
bool ipSingleSwitchStusExpectLock = 9;
+ * @return The ipSingleSwitchStusExpectLock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectLock() {
+ return ipSingleSwitchStusExpectLock_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSEXPECTUNLOCK_FIELD_NUMBER = 10;
+ private boolean ipSingleSwitchStusExpectUnlock_ = false;
+ /**
+ * + * 期望锁闭解除 + *+ * + *
bool ipSingleSwitchStusExpectUnlock = 10;
+ * @return The ipSingleSwitchStusExpectUnlock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectUnlock() {
+ return ipSingleSwitchStusExpectUnlock_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSEXPECTNORMAL_FIELD_NUMBER = 11;
+ private boolean ipSingleSwitchStusExpectNormal_ = false;
+ /**
+ * + * 期望道岔定位 + *+ * + *
bool ipSingleSwitchStusExpectNormal = 11;
+ * @return The ipSingleSwitchStusExpectNormal.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectNormal() {
+ return ipSingleSwitchStusExpectNormal_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSEXPECTREVERSE_FIELD_NUMBER = 12;
+ private boolean ipSingleSwitchStusExpectReverse_ = false;
+ /**
+ * + * 期望道岔反位 + *+ * + *
bool ipSingleSwitchStusExpectReverse = 12;
+ * @return The ipSingleSwitchStusExpectReverse.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectReverse() {
+ return ipSingleSwitchStusExpectReverse_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSEXPECTBLOCK_FIELD_NUMBER = 13;
+ private boolean ipSingleSwitchStusExpectBlock_ = false;
+ /**
+ * + * 期望道岔单锁 + *+ * + *
bool ipSingleSwitchStusExpectBlock = 13;
+ * @return The ipSingleSwitchStusExpectBlock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectBlock() {
+ return ipSingleSwitchStusExpectBlock_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSEXPECTUNBLOCK_FIELD_NUMBER = 14;
+ private boolean ipSingleSwitchStusExpectUnblock_ = false;
+ /**
+ * + * 期望道岔解除单锁 + *+ * + *
bool ipSingleSwitchStusExpectUnblock = 14;
+ * @return The ipSingleSwitchStusExpectUnblock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectUnblock() {
+ return ipSingleSwitchStusExpectUnblock_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSINROUTE_FIELD_NUMBER = 15;
+ private boolean ipSingleSwitchStusInRoute_ = false;
+ /**
+ * + * 是否在进路中锁闭 + *+ * + *
bool ipSingleSwitchStusInRoute = 15;
+ * @return The ipSingleSwitchStusInRoute.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusInRoute() {
+ return ipSingleSwitchStusInRoute_;
+ }
+
+ public static final int IPSINGLESWITCHSTUSMANUALMODE_FIELD_NUMBER = 16;
+ private boolean ipSingleSwitchStusManualMode_ = false;
+ /**
+ * + * 道岔为手动操作模式 + *+ * + *
bool ipSingleSwitchStusManualMode = 16;
+ * @return The ipSingleSwitchStusManualMode.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusManualMode() {
+ return ipSingleSwitchStusManualMode_;
+ }
+
public static final int IPSINGLESWITCHSTUSCUT_FIELD_NUMBER = 17;
private boolean ipSingleSwitchStusCut_ = false;
/**
* - * bool ipSingleSwitchStusExpectLock = 9; // 期望锁闭 - * bool ipSingleSwitchStusExpectUnlock = 10; // 期望锁闭解除 - * bool ipSingleSwitchStusExpectNormal = 11; // 期望道岔定位 - * bool ipSingleSwitchStusExpectReverse = 12; // 期望道岔反位 - * bool ipSingleSwitchStusExpectBlock = 13; // 期望道岔单锁 - * bool ipSingleSwitchStusExpectUnblock = 14; // 期望道岔解除单锁 - * bool ipSingleSwitchStusInRoute = 15; // 是否在进路中锁闭 - * bool ipSingleSwitchStusManualMode = 16; // 道岔为手动操作模式 + * 道岔切除 ** *
bool ipSingleSwitchStusCut = 17;
@@ -7037,6 +7223,30 @@ public final class DeviceStatusProto {
if (ipSingleSwitchStusJammed_ != false) {
output.writeBool(8, ipSingleSwitchStusJammed_);
}
+ if (ipSingleSwitchStusExpectLock_ != false) {
+ output.writeBool(9, ipSingleSwitchStusExpectLock_);
+ }
+ if (ipSingleSwitchStusExpectUnlock_ != false) {
+ output.writeBool(10, ipSingleSwitchStusExpectUnlock_);
+ }
+ if (ipSingleSwitchStusExpectNormal_ != false) {
+ output.writeBool(11, ipSingleSwitchStusExpectNormal_);
+ }
+ if (ipSingleSwitchStusExpectReverse_ != false) {
+ output.writeBool(12, ipSingleSwitchStusExpectReverse_);
+ }
+ if (ipSingleSwitchStusExpectBlock_ != false) {
+ output.writeBool(13, ipSingleSwitchStusExpectBlock_);
+ }
+ if (ipSingleSwitchStusExpectUnblock_ != false) {
+ output.writeBool(14, ipSingleSwitchStusExpectUnblock_);
+ }
+ if (ipSingleSwitchStusInRoute_ != false) {
+ output.writeBool(15, ipSingleSwitchStusInRoute_);
+ }
+ if (ipSingleSwitchStusManualMode_ != false) {
+ output.writeBool(16, ipSingleSwitchStusManualMode_);
+ }
if (ipSingleSwitchStusCut_ != false) {
output.writeBool(17, ipSingleSwitchStusCut_);
}
@@ -7117,6 +7327,38 @@ public final class DeviceStatusProto {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(8, ipSingleSwitchStusJammed_);
}
+ if (ipSingleSwitchStusExpectLock_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(9, ipSingleSwitchStusExpectLock_);
+ }
+ if (ipSingleSwitchStusExpectUnlock_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(10, ipSingleSwitchStusExpectUnlock_);
+ }
+ if (ipSingleSwitchStusExpectNormal_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(11, ipSingleSwitchStusExpectNormal_);
+ }
+ if (ipSingleSwitchStusExpectReverse_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(12, ipSingleSwitchStusExpectReverse_);
+ }
+ if (ipSingleSwitchStusExpectBlock_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(13, ipSingleSwitchStusExpectBlock_);
+ }
+ if (ipSingleSwitchStusExpectUnblock_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(14, ipSingleSwitchStusExpectUnblock_);
+ }
+ if (ipSingleSwitchStusInRoute_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(15, ipSingleSwitchStusInRoute_);
+ }
+ if (ipSingleSwitchStusManualMode_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(16, ipSingleSwitchStusManualMode_);
+ }
if (ipSingleSwitchStusCut_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(17, ipSingleSwitchStusCut_);
@@ -7199,6 +7441,22 @@ public final class DeviceStatusProto {
!= other.getIpSingleSwitchStusBlocked1()) return false;
if (getIpSingleSwitchStusJammed()
!= other.getIpSingleSwitchStusJammed()) return false;
+ if (getIpSingleSwitchStusExpectLock()
+ != other.getIpSingleSwitchStusExpectLock()) return false;
+ if (getIpSingleSwitchStusExpectUnlock()
+ != other.getIpSingleSwitchStusExpectUnlock()) return false;
+ if (getIpSingleSwitchStusExpectNormal()
+ != other.getIpSingleSwitchStusExpectNormal()) return false;
+ if (getIpSingleSwitchStusExpectReverse()
+ != other.getIpSingleSwitchStusExpectReverse()) return false;
+ if (getIpSingleSwitchStusExpectBlock()
+ != other.getIpSingleSwitchStusExpectBlock()) return false;
+ if (getIpSingleSwitchStusExpectUnblock()
+ != other.getIpSingleSwitchStusExpectUnblock()) return false;
+ if (getIpSingleSwitchStusInRoute()
+ != other.getIpSingleSwitchStusInRoute()) return false;
+ if (getIpSingleSwitchStusManualMode()
+ != other.getIpSingleSwitchStusManualMode()) return false;
if (getIpSingleSwitchStusCut()
!= other.getIpSingleSwitchStusCut()) return false;
if (getIpSingleSwitchStusAtcInvalid()
@@ -7260,6 +7518,30 @@ public final class DeviceStatusProto {
hash = (37 * hash) + IPSINGLESWITCHSTUSJAMMED_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIpSingleSwitchStusJammed());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTLOCK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectLock());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTUNLOCK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectUnlock());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTNORMAL_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectNormal());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTREVERSE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectReverse());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTBLOCK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectBlock());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSEXPECTUNBLOCK_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusExpectUnblock());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSINROUTE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusInRoute());
+ hash = (37 * hash) + IPSINGLESWITCHSTUSMANUALMODE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIpSingleSwitchStusManualMode());
hash = (37 * hash) + IPSINGLESWITCHSTUSCUT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIpSingleSwitchStusCut());
@@ -7436,6 +7718,14 @@ public final class DeviceStatusProto {
ipSingleSwitchStusReverse_ = false;
ipSingleSwitchStusBlocked1_ = false;
ipSingleSwitchStusJammed_ = false;
+ ipSingleSwitchStusExpectLock_ = false;
+ ipSingleSwitchStusExpectUnlock_ = false;
+ ipSingleSwitchStusExpectNormal_ = false;
+ ipSingleSwitchStusExpectReverse_ = false;
+ ipSingleSwitchStusExpectBlock_ = false;
+ ipSingleSwitchStusExpectUnblock_ = false;
+ ipSingleSwitchStusInRoute_ = false;
+ ipSingleSwitchStusManualMode_ = false;
ipSingleSwitchStusCut_ = false;
ipSingleSwitchStusAtcInvalid_ = false;
ipSingleSwitchStusOverlap_ = false;
@@ -7507,42 +7797,66 @@ public final class DeviceStatusProto {
result.ipSingleSwitchStusJammed_ = ipSingleSwitchStusJammed_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
- result.ipSingleSwitchStusCut_ = ipSingleSwitchStusCut_;
+ result.ipSingleSwitchStusExpectLock_ = ipSingleSwitchStusExpectLock_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
- result.ipSingleSwitchStusAtcInvalid_ = ipSingleSwitchStusAtcInvalid_;
+ result.ipSingleSwitchStusExpectUnlock_ = ipSingleSwitchStusExpectUnlock_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
- result.ipSingleSwitchStusOverlap_ = ipSingleSwitchStusOverlap_;
+ result.ipSingleSwitchStusExpectNormal_ = ipSingleSwitchStusExpectNormal_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
- result.ipSingleSwitchStusTsrCbtcMain_ = ipSingleSwitchStusTsrCbtcMain_;
+ result.ipSingleSwitchStusExpectReverse_ = ipSingleSwitchStusExpectReverse_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
- result.ipSingleSwitchStusTsrCbtcNormal_ = ipSingleSwitchStusTsrCbtcNormal_;
+ result.ipSingleSwitchStusExpectBlock_ = ipSingleSwitchStusExpectBlock_;
}
if (((from_bitField0_ & 0x00002000) != 0)) {
- result.ipSingleSwitchStusTsrCbtcReverse_ = ipSingleSwitchStusTsrCbtcReverse_;
+ result.ipSingleSwitchStusExpectUnblock_ = ipSingleSwitchStusExpectUnblock_;
}
if (((from_bitField0_ & 0x00004000) != 0)) {
- result.ipSingleSwitchStusTsrBmMain_ = ipSingleSwitchStusTsrBmMain_;
+ result.ipSingleSwitchStusInRoute_ = ipSingleSwitchStusInRoute_;
}
if (((from_bitField0_ & 0x00008000) != 0)) {
- result.ipSingleSwitchStusTsrBmNormal_ = ipSingleSwitchStusTsrBmNormal_;
+ result.ipSingleSwitchStusManualMode_ = ipSingleSwitchStusManualMode_;
}
if (((from_bitField0_ & 0x00010000) != 0)) {
- result.ipSingleSwitchStusTsrBmReverse_ = ipSingleSwitchStusTsrBmReverse_;
+ result.ipSingleSwitchStusCut_ = ipSingleSwitchStusCut_;
}
if (((from_bitField0_ & 0x00020000) != 0)) {
- result.ipSingleSwitchStusBlocked2_ = ipSingleSwitchStusBlocked2_;
+ result.ipSingleSwitchStusAtcInvalid_ = ipSingleSwitchStusAtcInvalid_;
}
if (((from_bitField0_ & 0x00040000) != 0)) {
- result.ipSingleSwitchStusLostIndication_ = ipSingleSwitchStusLostIndication_;
+ result.ipSingleSwitchStusOverlap_ = ipSingleSwitchStusOverlap_;
}
if (((from_bitField0_ & 0x00080000) != 0)) {
- result.id_ = id_;
+ result.ipSingleSwitchStusTsrCbtcMain_ = ipSingleSwitchStusTsrCbtcMain_;
}
if (((from_bitField0_ & 0x00100000) != 0)) {
+ result.ipSingleSwitchStusTsrCbtcNormal_ = ipSingleSwitchStusTsrCbtcNormal_;
+ }
+ if (((from_bitField0_ & 0x00200000) != 0)) {
+ result.ipSingleSwitchStusTsrCbtcReverse_ = ipSingleSwitchStusTsrCbtcReverse_;
+ }
+ if (((from_bitField0_ & 0x00400000) != 0)) {
+ result.ipSingleSwitchStusTsrBmMain_ = ipSingleSwitchStusTsrBmMain_;
+ }
+ if (((from_bitField0_ & 0x00800000) != 0)) {
+ result.ipSingleSwitchStusTsrBmNormal_ = ipSingleSwitchStusTsrBmNormal_;
+ }
+ if (((from_bitField0_ & 0x01000000) != 0)) {
+ result.ipSingleSwitchStusTsrBmReverse_ = ipSingleSwitchStusTsrBmReverse_;
+ }
+ if (((from_bitField0_ & 0x02000000) != 0)) {
+ result.ipSingleSwitchStusBlocked2_ = ipSingleSwitchStusBlocked2_;
+ }
+ if (((from_bitField0_ & 0x04000000) != 0)) {
+ result.ipSingleSwitchStusLostIndication_ = ipSingleSwitchStusLostIndication_;
+ }
+ if (((from_bitField0_ & 0x08000000) != 0)) {
+ result.id_ = id_;
+ }
+ if (((from_bitField0_ & 0x10000000) != 0)) {
result.speedLimit_ = speedLimit_;
}
}
@@ -7583,6 +7897,30 @@ public final class DeviceStatusProto {
if (other.getIpSingleSwitchStusJammed() != false) {
setIpSingleSwitchStusJammed(other.getIpSingleSwitchStusJammed());
}
+ if (other.getIpSingleSwitchStusExpectLock() != false) {
+ setIpSingleSwitchStusExpectLock(other.getIpSingleSwitchStusExpectLock());
+ }
+ if (other.getIpSingleSwitchStusExpectUnlock() != false) {
+ setIpSingleSwitchStusExpectUnlock(other.getIpSingleSwitchStusExpectUnlock());
+ }
+ if (other.getIpSingleSwitchStusExpectNormal() != false) {
+ setIpSingleSwitchStusExpectNormal(other.getIpSingleSwitchStusExpectNormal());
+ }
+ if (other.getIpSingleSwitchStusExpectReverse() != false) {
+ setIpSingleSwitchStusExpectReverse(other.getIpSingleSwitchStusExpectReverse());
+ }
+ if (other.getIpSingleSwitchStusExpectBlock() != false) {
+ setIpSingleSwitchStusExpectBlock(other.getIpSingleSwitchStusExpectBlock());
+ }
+ if (other.getIpSingleSwitchStusExpectUnblock() != false) {
+ setIpSingleSwitchStusExpectUnblock(other.getIpSingleSwitchStusExpectUnblock());
+ }
+ if (other.getIpSingleSwitchStusInRoute() != false) {
+ setIpSingleSwitchStusInRoute(other.getIpSingleSwitchStusInRoute());
+ }
+ if (other.getIpSingleSwitchStusManualMode() != false) {
+ setIpSingleSwitchStusManualMode(other.getIpSingleSwitchStusManualMode());
+ }
if (other.getIpSingleSwitchStusCut() != false) {
setIpSingleSwitchStusCut(other.getIpSingleSwitchStusCut());
}
@@ -7618,7 +7956,7 @@ public final class DeviceStatusProto {
}
if (!other.getId().isEmpty()) {
id_ = other.id_;
- bitField0_ |= 0x00080000;
+ bitField0_ |= 0x08000000;
onChanged();
}
if (other.getSpeedLimit() != 0) {
@@ -7690,69 +8028,109 @@ public final class DeviceStatusProto {
bitField0_ |= 0x00000080;
break;
} // case 64
+ case 72: {
+ ipSingleSwitchStusExpectLock_ = input.readBool();
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 72
+ case 80: {
+ ipSingleSwitchStusExpectUnlock_ = input.readBool();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 80
+ case 88: {
+ ipSingleSwitchStusExpectNormal_ = input.readBool();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 88
+ case 96: {
+ ipSingleSwitchStusExpectReverse_ = input.readBool();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 96
+ case 104: {
+ ipSingleSwitchStusExpectBlock_ = input.readBool();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 104
+ case 112: {
+ ipSingleSwitchStusExpectUnblock_ = input.readBool();
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 112
+ case 120: {
+ ipSingleSwitchStusInRoute_ = input.readBool();
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 120
+ case 128: {
+ ipSingleSwitchStusManualMode_ = input.readBool();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 128
case 136: {
ipSingleSwitchStusCut_ = input.readBool();
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00010000;
break;
} // case 136
case 144: {
ipSingleSwitchStusAtcInvalid_ = input.readBool();
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00020000;
break;
} // case 144
case 152: {
ipSingleSwitchStusOverlap_ = input.readBool();
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00040000;
break;
} // case 152
case 160: {
ipSingleSwitchStusTsrCbtcMain_ = input.readBool();
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00080000;
break;
} // case 160
case 168: {
ipSingleSwitchStusTsrCbtcNormal_ = input.readBool();
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00100000;
break;
} // case 168
case 176: {
ipSingleSwitchStusTsrCbtcReverse_ = input.readBool();
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00200000;
break;
} // case 176
case 184: {
ipSingleSwitchStusTsrBmMain_ = input.readBool();
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00400000;
break;
} // case 184
case 192: {
ipSingleSwitchStusTsrBmNormal_ = input.readBool();
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00800000;
break;
} // case 192
case 200: {
ipSingleSwitchStusTsrBmReverse_ = input.readBool();
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x01000000;
break;
} // case 200
case 208: {
ipSingleSwitchStusBlocked2_ = input.readBool();
- bitField0_ |= 0x00020000;
+ bitField0_ |= 0x02000000;
break;
} // case 208
case 216: {
ipSingleSwitchStusLostIndication_ = input.readBool();
- bitField0_ |= 0x00040000;
+ bitField0_ |= 0x04000000;
break;
} // case 216
case 226: {
id_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00080000;
+ bitField0_ |= 0x08000000;
break;
} // case 226
case 232: {
speedLimit_ = input.readInt32();
- bitField0_ |= 0x00100000;
+ bitField0_ |= 0x10000000;
break;
} // case 232
default: {
@@ -8124,17 +8502,362 @@ public final class DeviceStatusProto {
return this;
}
+ private boolean ipSingleSwitchStusExpectLock_ ;
+ /**
+ * + * 期望锁闭 + *+ * + *
bool ipSingleSwitchStusExpectLock = 9;
+ * @return The ipSingleSwitchStusExpectLock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectLock() {
+ return ipSingleSwitchStusExpectLock_;
+ }
+ /**
+ * + * 期望锁闭 + *+ * + *
bool ipSingleSwitchStusExpectLock = 9;
+ * @param value The ipSingleSwitchStusExpectLock to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectLock(boolean value) {
+
+ ipSingleSwitchStusExpectLock_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望锁闭 + *+ * + *
bool ipSingleSwitchStusExpectLock = 9;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectLock() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ ipSingleSwitchStusExpectLock_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusExpectUnlock_ ;
+ /**
+ * + * 期望锁闭解除 + *+ * + *
bool ipSingleSwitchStusExpectUnlock = 10;
+ * @return The ipSingleSwitchStusExpectUnlock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectUnlock() {
+ return ipSingleSwitchStusExpectUnlock_;
+ }
+ /**
+ * + * 期望锁闭解除 + *+ * + *
bool ipSingleSwitchStusExpectUnlock = 10;
+ * @param value The ipSingleSwitchStusExpectUnlock to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectUnlock(boolean value) {
+
+ ipSingleSwitchStusExpectUnlock_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望锁闭解除 + *+ * + *
bool ipSingleSwitchStusExpectUnlock = 10;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectUnlock() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ ipSingleSwitchStusExpectUnlock_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusExpectNormal_ ;
+ /**
+ * + * 期望道岔定位 + *+ * + *
bool ipSingleSwitchStusExpectNormal = 11;
+ * @return The ipSingleSwitchStusExpectNormal.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectNormal() {
+ return ipSingleSwitchStusExpectNormal_;
+ }
+ /**
+ * + * 期望道岔定位 + *+ * + *
bool ipSingleSwitchStusExpectNormal = 11;
+ * @param value The ipSingleSwitchStusExpectNormal to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectNormal(boolean value) {
+
+ ipSingleSwitchStusExpectNormal_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望道岔定位 + *+ * + *
bool ipSingleSwitchStusExpectNormal = 11;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectNormal() {
+ bitField0_ = (bitField0_ & ~0x00000400);
+ ipSingleSwitchStusExpectNormal_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusExpectReverse_ ;
+ /**
+ * + * 期望道岔反位 + *+ * + *
bool ipSingleSwitchStusExpectReverse = 12;
+ * @return The ipSingleSwitchStusExpectReverse.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectReverse() {
+ return ipSingleSwitchStusExpectReverse_;
+ }
+ /**
+ * + * 期望道岔反位 + *+ * + *
bool ipSingleSwitchStusExpectReverse = 12;
+ * @param value The ipSingleSwitchStusExpectReverse to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectReverse(boolean value) {
+
+ ipSingleSwitchStusExpectReverse_ = value;
+ bitField0_ |= 0x00000800;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望道岔反位 + *+ * + *
bool ipSingleSwitchStusExpectReverse = 12;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectReverse() {
+ bitField0_ = (bitField0_ & ~0x00000800);
+ ipSingleSwitchStusExpectReverse_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusExpectBlock_ ;
+ /**
+ * + * 期望道岔单锁 + *+ * + *
bool ipSingleSwitchStusExpectBlock = 13;
+ * @return The ipSingleSwitchStusExpectBlock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectBlock() {
+ return ipSingleSwitchStusExpectBlock_;
+ }
+ /**
+ * + * 期望道岔单锁 + *+ * + *
bool ipSingleSwitchStusExpectBlock = 13;
+ * @param value The ipSingleSwitchStusExpectBlock to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectBlock(boolean value) {
+
+ ipSingleSwitchStusExpectBlock_ = value;
+ bitField0_ |= 0x00001000;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望道岔单锁 + *+ * + *
bool ipSingleSwitchStusExpectBlock = 13;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectBlock() {
+ bitField0_ = (bitField0_ & ~0x00001000);
+ ipSingleSwitchStusExpectBlock_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusExpectUnblock_ ;
+ /**
+ * + * 期望道岔解除单锁 + *+ * + *
bool ipSingleSwitchStusExpectUnblock = 14;
+ * @return The ipSingleSwitchStusExpectUnblock.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusExpectUnblock() {
+ return ipSingleSwitchStusExpectUnblock_;
+ }
+ /**
+ * + * 期望道岔解除单锁 + *+ * + *
bool ipSingleSwitchStusExpectUnblock = 14;
+ * @param value The ipSingleSwitchStusExpectUnblock to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusExpectUnblock(boolean value) {
+
+ ipSingleSwitchStusExpectUnblock_ = value;
+ bitField0_ |= 0x00002000;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 期望道岔解除单锁 + *+ * + *
bool ipSingleSwitchStusExpectUnblock = 14;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusExpectUnblock() {
+ bitField0_ = (bitField0_ & ~0x00002000);
+ ipSingleSwitchStusExpectUnblock_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusInRoute_ ;
+ /**
+ * + * 是否在进路中锁闭 + *+ * + *
bool ipSingleSwitchStusInRoute = 15;
+ * @return The ipSingleSwitchStusInRoute.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusInRoute() {
+ return ipSingleSwitchStusInRoute_;
+ }
+ /**
+ * + * 是否在进路中锁闭 + *+ * + *
bool ipSingleSwitchStusInRoute = 15;
+ * @param value The ipSingleSwitchStusInRoute to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusInRoute(boolean value) {
+
+ ipSingleSwitchStusInRoute_ = value;
+ bitField0_ |= 0x00004000;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 是否在进路中锁闭 + *+ * + *
bool ipSingleSwitchStusInRoute = 15;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusInRoute() {
+ bitField0_ = (bitField0_ & ~0x00004000);
+ ipSingleSwitchStusInRoute_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ipSingleSwitchStusManualMode_ ;
+ /**
+ * + * 道岔为手动操作模式 + *+ * + *
bool ipSingleSwitchStusManualMode = 16;
+ * @return The ipSingleSwitchStusManualMode.
+ */
+ @java.lang.Override
+ public boolean getIpSingleSwitchStusManualMode() {
+ return ipSingleSwitchStusManualMode_;
+ }
+ /**
+ * + * 道岔为手动操作模式 + *+ * + *
bool ipSingleSwitchStusManualMode = 16;
+ * @param value The ipSingleSwitchStusManualMode to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIpSingleSwitchStusManualMode(boolean value) {
+
+ ipSingleSwitchStusManualMode_ = value;
+ bitField0_ |= 0x00008000;
+ onChanged();
+ return this;
+ }
+ /**
+ * + * 道岔为手动操作模式 + *+ * + *
bool ipSingleSwitchStusManualMode = 16;
+ * @return This builder for chaining.
+ */
+ public Builder clearIpSingleSwitchStusManualMode() {
+ bitField0_ = (bitField0_ & ~0x00008000);
+ ipSingleSwitchStusManualMode_ = false;
+ onChanged();
+ return this;
+ }
+
private boolean ipSingleSwitchStusCut_ ;
/**
* - * bool ipSingleSwitchStusExpectLock = 9; // 期望锁闭 - * bool ipSingleSwitchStusExpectUnlock = 10; // 期望锁闭解除 - * bool ipSingleSwitchStusExpectNormal = 11; // 期望道岔定位 - * bool ipSingleSwitchStusExpectReverse = 12; // 期望道岔反位 - * bool ipSingleSwitchStusExpectBlock = 13; // 期望道岔单锁 - * bool ipSingleSwitchStusExpectUnblock = 14; // 期望道岔解除单锁 - * bool ipSingleSwitchStusInRoute = 15; // 是否在进路中锁闭 - * bool ipSingleSwitchStusManualMode = 16; // 道岔为手动操作模式 + * 道岔切除 ** *
bool ipSingleSwitchStusCut = 17;
@@ -8146,14 +8869,7 @@ public final class DeviceStatusProto {
}
/**
* - * bool ipSingleSwitchStusExpectLock = 9; // 期望锁闭 - * bool ipSingleSwitchStusExpectUnlock = 10; // 期望锁闭解除 - * bool ipSingleSwitchStusExpectNormal = 11; // 期望道岔定位 - * bool ipSingleSwitchStusExpectReverse = 12; // 期望道岔反位 - * bool ipSingleSwitchStusExpectBlock = 13; // 期望道岔单锁 - * bool ipSingleSwitchStusExpectUnblock = 14; // 期望道岔解除单锁 - * bool ipSingleSwitchStusInRoute = 15; // 是否在进路中锁闭 - * bool ipSingleSwitchStusManualMode = 16; // 道岔为手动操作模式 + * 道岔切除 ** *
bool ipSingleSwitchStusCut = 17;
@@ -8163,27 +8879,20 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusCut(boolean value) {
ipSingleSwitchStusCut_ = value;
- bitField0_ |= 0x00000100;
+ bitField0_ |= 0x00010000;
onChanged();
return this;
}
/**
* - * bool ipSingleSwitchStusExpectLock = 9; // 期望锁闭 - * bool ipSingleSwitchStusExpectUnlock = 10; // 期望锁闭解除 - * bool ipSingleSwitchStusExpectNormal = 11; // 期望道岔定位 - * bool ipSingleSwitchStusExpectReverse = 12; // 期望道岔反位 - * bool ipSingleSwitchStusExpectBlock = 13; // 期望道岔单锁 - * bool ipSingleSwitchStusExpectUnblock = 14; // 期望道岔解除单锁 - * bool ipSingleSwitchStusInRoute = 15; // 是否在进路中锁闭 - * bool ipSingleSwitchStusManualMode = 16; // 道岔为手动操作模式 + * 道岔切除 ** *
bool ipSingleSwitchStusCut = 17;
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusCut() {
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ = (bitField0_ & ~0x00010000);
ipSingleSwitchStusCut_ = false;
onChanged();
return this;
@@ -8214,7 +8923,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusAtcInvalid(boolean value) {
ipSingleSwitchStusAtcInvalid_ = value;
- bitField0_ |= 0x00000200;
+ bitField0_ |= 0x00020000;
onChanged();
return this;
}
@@ -8227,7 +8936,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusAtcInvalid() {
- bitField0_ = (bitField0_ & ~0x00000200);
+ bitField0_ = (bitField0_ & ~0x00020000);
ipSingleSwitchStusAtcInvalid_ = false;
onChanged();
return this;
@@ -8258,7 +8967,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusOverlap(boolean value) {
ipSingleSwitchStusOverlap_ = value;
- bitField0_ |= 0x00000400;
+ bitField0_ |= 0x00040000;
onChanged();
return this;
}
@@ -8271,7 +8980,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusOverlap() {
- bitField0_ = (bitField0_ & ~0x00000400);
+ bitField0_ = (bitField0_ & ~0x00040000);
ipSingleSwitchStusOverlap_ = false;
onChanged();
return this;
@@ -8302,7 +9011,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrCbtcMain(boolean value) {
ipSingleSwitchStusTsrCbtcMain_ = value;
- bitField0_ |= 0x00000800;
+ bitField0_ |= 0x00080000;
onChanged();
return this;
}
@@ -8315,7 +9024,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrCbtcMain() {
- bitField0_ = (bitField0_ & ~0x00000800);
+ bitField0_ = (bitField0_ & ~0x00080000);
ipSingleSwitchStusTsrCbtcMain_ = false;
onChanged();
return this;
@@ -8346,7 +9055,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrCbtcNormal(boolean value) {
ipSingleSwitchStusTsrCbtcNormal_ = value;
- bitField0_ |= 0x00001000;
+ bitField0_ |= 0x00100000;
onChanged();
return this;
}
@@ -8359,7 +9068,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrCbtcNormal() {
- bitField0_ = (bitField0_ & ~0x00001000);
+ bitField0_ = (bitField0_ & ~0x00100000);
ipSingleSwitchStusTsrCbtcNormal_ = false;
onChanged();
return this;
@@ -8390,7 +9099,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrCbtcReverse(boolean value) {
ipSingleSwitchStusTsrCbtcReverse_ = value;
- bitField0_ |= 0x00002000;
+ bitField0_ |= 0x00200000;
onChanged();
return this;
}
@@ -8403,7 +9112,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrCbtcReverse() {
- bitField0_ = (bitField0_ & ~0x00002000);
+ bitField0_ = (bitField0_ & ~0x00200000);
ipSingleSwitchStusTsrCbtcReverse_ = false;
onChanged();
return this;
@@ -8434,7 +9143,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrBmMain(boolean value) {
ipSingleSwitchStusTsrBmMain_ = value;
- bitField0_ |= 0x00004000;
+ bitField0_ |= 0x00400000;
onChanged();
return this;
}
@@ -8447,7 +9156,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrBmMain() {
- bitField0_ = (bitField0_ & ~0x00004000);
+ bitField0_ = (bitField0_ & ~0x00400000);
ipSingleSwitchStusTsrBmMain_ = false;
onChanged();
return this;
@@ -8478,7 +9187,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrBmNormal(boolean value) {
ipSingleSwitchStusTsrBmNormal_ = value;
- bitField0_ |= 0x00008000;
+ bitField0_ |= 0x00800000;
onChanged();
return this;
}
@@ -8491,7 +9200,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrBmNormal() {
- bitField0_ = (bitField0_ & ~0x00008000);
+ bitField0_ = (bitField0_ & ~0x00800000);
ipSingleSwitchStusTsrBmNormal_ = false;
onChanged();
return this;
@@ -8522,7 +9231,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusTsrBmReverse(boolean value) {
ipSingleSwitchStusTsrBmReverse_ = value;
- bitField0_ |= 0x00010000;
+ bitField0_ |= 0x01000000;
onChanged();
return this;
}
@@ -8535,7 +9244,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusTsrBmReverse() {
- bitField0_ = (bitField0_ & ~0x00010000);
+ bitField0_ = (bitField0_ & ~0x01000000);
ipSingleSwitchStusTsrBmReverse_ = false;
onChanged();
return this;
@@ -8566,7 +9275,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusBlocked2(boolean value) {
ipSingleSwitchStusBlocked2_ = value;
- bitField0_ |= 0x00020000;
+ bitField0_ |= 0x02000000;
onChanged();
return this;
}
@@ -8579,7 +9288,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusBlocked2() {
- bitField0_ = (bitField0_ & ~0x00020000);
+ bitField0_ = (bitField0_ & ~0x02000000);
ipSingleSwitchStusBlocked2_ = false;
onChanged();
return this;
@@ -8610,7 +9319,7 @@ public final class DeviceStatusProto {
public Builder setIpSingleSwitchStusLostIndication(boolean value) {
ipSingleSwitchStusLostIndication_ = value;
- bitField0_ |= 0x00040000;
+ bitField0_ |= 0x04000000;
onChanged();
return this;
}
@@ -8623,7 +9332,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearIpSingleSwitchStusLostIndication() {
- bitField0_ = (bitField0_ & ~0x00040000);
+ bitField0_ = (bitField0_ & ~0x04000000);
ipSingleSwitchStusLostIndication_ = false;
onChanged();
return this;
@@ -8684,7 +9393,7 @@ public final class DeviceStatusProto {
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
id_ = value;
- bitField0_ |= 0x00080000;
+ bitField0_ |= 0x08000000;
onChanged();
return this;
}
@@ -8698,7 +9407,7 @@ public final class DeviceStatusProto {
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
- bitField0_ = (bitField0_ & ~0x00080000);
+ bitField0_ = (bitField0_ & ~0x08000000);
onChanged();
return this;
}
@@ -8716,7 +9425,7 @@ public final class DeviceStatusProto {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
id_ = value;
- bitField0_ |= 0x00080000;
+ bitField0_ |= 0x08000000;
onChanged();
return this;
}
@@ -8746,7 +9455,7 @@ public final class DeviceStatusProto {
public Builder setSpeedLimit(int value) {
speedLimit_ = value;
- bitField0_ |= 0x00100000;
+ bitField0_ |= 0x10000000;
onChanged();
return this;
}
@@ -8759,7 +9468,7 @@ public final class DeviceStatusProto {
* @return This builder for chaining.
*/
public Builder clearSpeedLimit() {
- bitField0_ = (bitField0_ & ~0x00100000);
+ bitField0_ = (bitField0_ & ~0x10000000);
speedLimit_ = 0;
onChanged();
return this;
@@ -19128,7 +19837,7 @@ public final class DeviceStatusProto {
"\001(\010\022\023\n\013yellowGreen\030\025 \001(\010\022\017\n\007blocked\030\026 \001(" +
"\010\022\023\n\013lampFailure\030\027 \001(\010\022\n\n\002id\030\030 \001(\t\"I\n\005En" +
"try\022\017\n\007dirLeft\030\001 \001(\010\022\020\n\010dirRight\030\002 \001(\010\022\021" +
- "\n\tdirLocked\030\003 \001(\010\022\n\n\002id\030\004 \001(\t\"\355\005\n\006Switch" +
+ "\n\tdirLocked\030\003 \001(\010\022\n\n\002id\030\004 \001(\t\"\245\010\n\006Switch" +
"\022$\n\034ipSingleSwitchStusCiOccupied\030\001 \001(\010\022&" +
"\n\036ipSingleSwitchStusCbtcOccupied\030\002 \001(\010\022 " +
"\n\030ipSingleSwitchStusLocked\030\003 \001(\010\022$\n\034ipSi" +
@@ -19136,78 +19845,85 @@ public final class DeviceStatusProto {
"leSwitchStusNormal\030\005 \001(\010\022!\n\031ipSingleSwit" +
"chStusReverse\030\006 \001(\010\022\"\n\032ipSingleSwitchStu" +
"sBlocked1\030\007 \001(\010\022 \n\030ipSingleSwitchStusJam" +
- "med\030\010 \001(\010\022\035\n\025ipSingleSwitchStusCut\030\021 \001(\010" +
- "\022$\n\034ipSingleSwitchStusAtcInvalid\030\022 \001(\010\022!" +
- "\n\031ipSingleSwitchStusOverlap\030\023 \001(\010\022%\n\035ipS" +
- "ingleSwitchStusTsrCbtcMain\030\024 \001(\010\022\'\n\037ipSi" +
- "ngleSwitchStusTsrCbtcNormal\030\025 \001(\010\022(\n ipS" +
- "ingleSwitchStusTsrCbtcReverse\030\026 \001(\010\022#\n\033i" +
- "pSingleSwitchStusTsrBmMain\030\027 \001(\010\022%\n\035ipSi" +
- "ngleSwitchStusTsrBmNormal\030\030 \001(\010\022&\n\036ipSin" +
- "gleSwitchStusTsrBmReverse\030\031 \001(\010\022\"\n\032ipSin" +
- "gleSwitchStusBlocked2\030\032 \001(\010\022(\n ipSingleS" +
- "witchStusLostIndication\030\033 \001(\010\022\n\n\002id\030\034 \001(" +
- "\t\022\022\n\nspeedLimit\030\035 \001(\005\"\344\002\n\005Track\022\022\n\nciOcc" +
- "upied\030\001 \001(\010\022\024\n\014cbtcOccupied\030\002 \001(\010\022\016\n\006loc" +
- "ked\030\003 \001(\010\022\022\n\nfailLocked\030\004 \001(\010\022\022\n\nexpectL" +
- "ock\030\005 \001(\010\022\024\n\014expectUnlock\030\006 \001(\010\022\017\n\007inRou" +
- "te\030\007 \001(\010\022\013\n\003cut\030\010 \001(\010\022\022\n\natcInvalid\030\t \001(" +
- "\010\022\017\n\007overlap\030\n \001(\010\022\017\n\007blocked\030\013 \001(\010\022\n\n\002i" +
- "d\030\014 \001(\t\022\022\n\nspeedLimit\030\r \001(\005\022)\n\tlimitType" +
- "\030\016 \001(\0162\026.state.Track.LimitType\"D\n\tLimitT" +
- "ype\022\013\n\007Unknown\020\000\022\010\n\004Cbtc\020\001\022\r\n\tInterlock\020" +
- "\002\022\021\n\rCbtcInterlock\020\004\"\340\002\n\010Platform\022\021\n\teme" +
- "rgstop\030\001 \001(\010\022\022\n\ntrainberth\030\002 \001(\010\022\r\n\005clos" +
- "e\030\003 \001(\010\022\016\n\006upHold\030\004 \001(\010\022\020\n\010downHold\030\005 \001(" +
- "\010\022\021\n\tupOccHold\030\006 \001(\010\022\023\n\013downOccHold\030\007 \001(" +
- "\010\022\017\n\007psdOpen\030\010 \001(\010\022\016\n\006psdCut\030\t \001(\010\022\022\n\nup" +
- "Skipstop\030\n \001(\010\022\024\n\014downSkipstop\030\013 \001(\010\022\027\n\017" +
- "upTrainSkipstop\030\014 \001(\010\022\031\n\021downTrainSkipst" +
- "op\030\r \001(\010\022\n\n\002id\030\016 \001(\t\022\032\n\022nextSectionRunTi" +
- "me\030\017 \001(\005\022\033\n\023nextSectionRunLevel\030\020 \001(\005\022\020\n" +
- "\010stopTime\030\021 \001(\005\"S\n\005Scada\022\017\n\007scadaOn\030\001 \001(" +
- "\010\022\030\n\020scadaSinglePower\030\002 \001(\010\022\023\n\013scadaUnko" +
- "wn\030\003 \001(\010\022\n\n\002id\030\004 \001(\t\"\215\001\n\016WaterProofDoor\022" +
- "\022\n\ndoorClosed\030\001 \001(\010\022\027\n\017doorExpectClose\030\002" +
- " \001(\010\022\027\n\017doorAgreeClosed\030\003 \001(\010\022\023\n\013doorClo" +
- "sing\030\004 \001(\010\022\024\n\014doorOpenLock\030\005 \001(\010\022\n\n\002id\030\006" +
- " \001(\t\"4\n\010WorkArea\022\034\n\024ipStusWorkAreaEnable" +
- "\030\001 \001(\010\022\n\n\002id\030\002 \001(\t\"-\n\004Gama\022\031\n\021ipStusGama" +
- "Disable\030\001 \001(\010\022\n\n\002id\030\002 \001(\t\"\237\010\n\tTrainMode\022" +
- "\035\n\025ipModeTrainTypeManual\030\001 \001(\010\022\033\n\023ipMode" +
- "TrainTypeHead\030\002 \001(\010\022\036\n\026ipModeTrainTypeSp" +
- "ecial\030\003 \001(\010\022\037\n\027ipModeTrainTypeSchedule\030\004" +
- " \001(\010\022\034\n\024ipModeTrainTypeRoute\030\005 \001(\010\022\036\n\026ip" +
- "ModeTrainTypeShuttle\030\006 \001(\010\022\035\n\025ipModeTrai" +
- "nTypeLineup\030\007 \001(\010\022\034\n\024ipModeTrainSchdEarl" +
- "y\030\010 \001(\010\022\033\n\023ipModeTrainSchdLate\030\t \001(\010\022\033\n\023" +
- "ipModeTrainSkipstop\030\n \001(\010\022\033\n\023ipModeTrain" +
- "CbtcMode\030\013 \001(\010\022\031\n\021ipModeTrainAtpCut\030\014 \001(" +
- "\010\022\032\n\022ipModeTrainBerthed\030\r \001(\010\022\031\n\021ipModeT" +
- "rainStoped\030\016 \001(\010\022\031\n\021ipModeTrainHolded\030\017 " +
- "\001(\010\022\030\n\020ipModeTrainItama\030\020 \001(\010\022\030\n\020ipModeT" +
- "rainDirUp\030\021 \001(\010\022\032\n\022ipModeTrainDirDown\030\022 " +
- "\001(\010\022\034\n\024ipModeTrainDirHeadUp\030\023 \001(\010\022\036\n\026ipM" +
- "odeTrainDirHeadDown\030\024 \001(\010\022\033\n\023ipModeTrain" +
- "DoorOpen\030\025 \001(\010\022\032\n\022ipModeTrainRsAlarm\030\026 \001" +
- "(\010\022\034\n\024ipModeTrainDoorAlarm\030\027 \001(\010\022\032\n\022ipMo" +
- "deTrainEbAlarm\030\030 \001(\010\022!\n\031ipModeTrainInteg" +
- "rityAlarm\030\031 \001(\010\022\036\n\026ipModeTrainDriveModeA" +
- "m\030\032 \001(\010\022\036\n\026ipModeTrainDriveModeCm\030\033 \001(\010\022" +
- "\037\n\027ipModeTrainDriveModeRmf\030\034 \001(\010\022\037\n\027ipMo" +
- "deTrainDriveModeDto\030\035 \001(\010\022\037\n\027ipModeTrain" +
- "DriveModeAtb\030\036 \001(\010\022\037\n\027ipModeTrainDriveBl" +
- "ockAm\030\037 \001(\010\022\037\n\027ipModeTrainDriveBlockCm\030 " +
- " \001(\010\022\037\n\027ipModeTrainDriveModeRmr\030! \001(\010\022 \n" +
- "\030ipModeTrainDriveModeWash\030\" \001(\010\022\n\n\002id\030# " +
- "\001(\t\".\n\020OccNccFepNetwork\022\n\n\002id\030\001 \001(\t\022\016\n\006a" +
- "ctive\030\002 \001(\010*\243\001\n\nDeviceType\022\n\n\006UNKNOW\020\000\022\007" +
- "\n\003RTU\020\001\022\013\n\007STATION\020\002\022\n\n\006SIGNAL\020\003\022\n\n\006SWIT" +
- "CH\020\004\022\t\n\005TRACK\020\005\022\t\n\005ENTRY\020\006\022\014\n\010PLATFORM\020\007" +
- "\022\t\n\005SCADA\020\t\022\023\n\017WATERPROOF_DOOR\020\013\022\r\n\tWORK" +
- "_AREA\020\014\022\010\n\004GAMA\020\rB6\n!club.joylink.xiannc" +
- "cda.dto.protosB\021DeviceStatusProtob\006proto" +
- "3"
+ "med\030\010 \001(\010\022$\n\034ipSingleSwitchStusExpectLoc" +
+ "k\030\t \001(\010\022&\n\036ipSingleSwitchStusExpectUnloc" +
+ "k\030\n \001(\010\022&\n\036ipSingleSwitchStusExpectNorma" +
+ "l\030\013 \001(\010\022\'\n\037ipSingleSwitchStusExpectRever" +
+ "se\030\014 \001(\010\022%\n\035ipSingleSwitchStusExpectBloc" +
+ "k\030\r \001(\010\022\'\n\037ipSingleSwitchStusExpectUnblo" +
+ "ck\030\016 \001(\010\022!\n\031ipSingleSwitchStusInRoute\030\017 " +
+ "\001(\010\022$\n\034ipSingleSwitchStusManualMode\030\020 \001(" +
+ "\010\022\035\n\025ipSingleSwitchStusCut\030\021 \001(\010\022$\n\034ipSi" +
+ "ngleSwitchStusAtcInvalid\030\022 \001(\010\022!\n\031ipSing" +
+ "leSwitchStusOverlap\030\023 \001(\010\022%\n\035ipSingleSwi" +
+ "tchStusTsrCbtcMain\030\024 \001(\010\022\'\n\037ipSingleSwit" +
+ "chStusTsrCbtcNormal\030\025 \001(\010\022(\n ipSingleSwi" +
+ "tchStusTsrCbtcReverse\030\026 \001(\010\022#\n\033ipSingleS" +
+ "witchStusTsrBmMain\030\027 \001(\010\022%\n\035ipSingleSwit" +
+ "chStusTsrBmNormal\030\030 \001(\010\022&\n\036ipSingleSwitc" +
+ "hStusTsrBmReverse\030\031 \001(\010\022\"\n\032ipSingleSwitc" +
+ "hStusBlocked2\030\032 \001(\010\022(\n ipSingleSwitchStu" +
+ "sLostIndication\030\033 \001(\010\022\n\n\002id\030\034 \001(\t\022\022\n\nspe" +
+ "edLimit\030\035 \001(\005\"\344\002\n\005Track\022\022\n\nciOccupied\030\001 " +
+ "\001(\010\022\024\n\014cbtcOccupied\030\002 \001(\010\022\016\n\006locked\030\003 \001(" +
+ "\010\022\022\n\nfailLocked\030\004 \001(\010\022\022\n\nexpectLock\030\005 \001(" +
+ "\010\022\024\n\014expectUnlock\030\006 \001(\010\022\017\n\007inRoute\030\007 \001(\010" +
+ "\022\013\n\003cut\030\010 \001(\010\022\022\n\natcInvalid\030\t \001(\010\022\017\n\007ove" +
+ "rlap\030\n \001(\010\022\017\n\007blocked\030\013 \001(\010\022\n\n\002id\030\014 \001(\t\022" +
+ "\022\n\nspeedLimit\030\r \001(\005\022)\n\tlimitType\030\016 \001(\0162\026" +
+ ".state.Track.LimitType\"D\n\tLimitType\022\013\n\007U" +
+ "nknown\020\000\022\010\n\004Cbtc\020\001\022\r\n\tInterlock\020\002\022\021\n\rCbt" +
+ "cInterlock\020\004\"\340\002\n\010Platform\022\021\n\temergstop\030\001" +
+ " \001(\010\022\022\n\ntrainberth\030\002 \001(\010\022\r\n\005close\030\003 \001(\010\022" +
+ "\016\n\006upHold\030\004 \001(\010\022\020\n\010downHold\030\005 \001(\010\022\021\n\tupO" +
+ "ccHold\030\006 \001(\010\022\023\n\013downOccHold\030\007 \001(\010\022\017\n\007psd" +
+ "Open\030\010 \001(\010\022\016\n\006psdCut\030\t \001(\010\022\022\n\nupSkipstop" +
+ "\030\n \001(\010\022\024\n\014downSkipstop\030\013 \001(\010\022\027\n\017upTrainS" +
+ "kipstop\030\014 \001(\010\022\031\n\021downTrainSkipstop\030\r \001(\010" +
+ "\022\n\n\002id\030\016 \001(\t\022\032\n\022nextSectionRunTime\030\017 \001(\005" +
+ "\022\033\n\023nextSectionRunLevel\030\020 \001(\005\022\020\n\010stopTim" +
+ "e\030\021 \001(\005\"S\n\005Scada\022\017\n\007scadaOn\030\001 \001(\010\022\030\n\020sca" +
+ "daSinglePower\030\002 \001(\010\022\023\n\013scadaUnkown\030\003 \001(\010" +
+ "\022\n\n\002id\030\004 \001(\t\"\215\001\n\016WaterProofDoor\022\022\n\ndoorC" +
+ "losed\030\001 \001(\010\022\027\n\017doorExpectClose\030\002 \001(\010\022\027\n\017" +
+ "doorAgreeClosed\030\003 \001(\010\022\023\n\013doorClosing\030\004 \001" +
+ "(\010\022\024\n\014doorOpenLock\030\005 \001(\010\022\n\n\002id\030\006 \001(\t\"4\n\010" +
+ "WorkArea\022\034\n\024ipStusWorkAreaEnable\030\001 \001(\010\022\n" +
+ "\n\002id\030\002 \001(\t\"-\n\004Gama\022\031\n\021ipStusGamaDisable\030" +
+ "\001 \001(\010\022\n\n\002id\030\002 \001(\t\"\237\010\n\tTrainMode\022\035\n\025ipMod" +
+ "eTrainTypeManual\030\001 \001(\010\022\033\n\023ipModeTrainTyp" +
+ "eHead\030\002 \001(\010\022\036\n\026ipModeTrainTypeSpecial\030\003 " +
+ "\001(\010\022\037\n\027ipModeTrainTypeSchedule\030\004 \001(\010\022\034\n\024" +
+ "ipModeTrainTypeRoute\030\005 \001(\010\022\036\n\026ipModeTrai" +
+ "nTypeShuttle\030\006 \001(\010\022\035\n\025ipModeTrainTypeLin" +
+ "eup\030\007 \001(\010\022\034\n\024ipModeTrainSchdEarly\030\010 \001(\010\022" +
+ "\033\n\023ipModeTrainSchdLate\030\t \001(\010\022\033\n\023ipModeTr" +
+ "ainSkipstop\030\n \001(\010\022\033\n\023ipModeTrainCbtcMode" +
+ "\030\013 \001(\010\022\031\n\021ipModeTrainAtpCut\030\014 \001(\010\022\032\n\022ipM" +
+ "odeTrainBerthed\030\r \001(\010\022\031\n\021ipModeTrainStop" +
+ "ed\030\016 \001(\010\022\031\n\021ipModeTrainHolded\030\017 \001(\010\022\030\n\020i" +
+ "pModeTrainItama\030\020 \001(\010\022\030\n\020ipModeTrainDirU" +
+ "p\030\021 \001(\010\022\032\n\022ipModeTrainDirDown\030\022 \001(\010\022\034\n\024i" +
+ "pModeTrainDirHeadUp\030\023 \001(\010\022\036\n\026ipModeTrain" +
+ "DirHeadDown\030\024 \001(\010\022\033\n\023ipModeTrainDoorOpen" +
+ "\030\025 \001(\010\022\032\n\022ipModeTrainRsAlarm\030\026 \001(\010\022\034\n\024ip" +
+ "ModeTrainDoorAlarm\030\027 \001(\010\022\032\n\022ipModeTrainE" +
+ "bAlarm\030\030 \001(\010\022!\n\031ipModeTrainIntegrityAlar" +
+ "m\030\031 \001(\010\022\036\n\026ipModeTrainDriveModeAm\030\032 \001(\010\022" +
+ "\036\n\026ipModeTrainDriveModeCm\030\033 \001(\010\022\037\n\027ipMod" +
+ "eTrainDriveModeRmf\030\034 \001(\010\022\037\n\027ipModeTrainD" +
+ "riveModeDto\030\035 \001(\010\022\037\n\027ipModeTrainDriveMod" +
+ "eAtb\030\036 \001(\010\022\037\n\027ipModeTrainDriveBlockAm\030\037 " +
+ "\001(\010\022\037\n\027ipModeTrainDriveBlockCm\030 \001(\010\022\037\n\027" +
+ "ipModeTrainDriveModeRmr\030! \001(\010\022 \n\030ipModeT" +
+ "rainDriveModeWash\030\" \001(\010\022\n\n\002id\030# \001(\t\".\n\020O" +
+ "ccNccFepNetwork\022\n\n\002id\030\001 \001(\t\022\016\n\006active\030\002 " +
+ "\001(\010*\243\001\n\nDeviceType\022\n\n\006UNKNOW\020\000\022\007\n\003RTU\020\001\022" +
+ "\013\n\007STATION\020\002\022\n\n\006SIGNAL\020\003\022\n\n\006SWITCH\020\004\022\t\n\005" +
+ "TRACK\020\005\022\t\n\005ENTRY\020\006\022\014\n\010PLATFORM\020\007\022\t\n\005SCAD" +
+ "A\020\t\022\023\n\017WATERPROOF_DOOR\020\013\022\r\n\tWORK_AREA\020\014\022" +
+ "\010\n\004GAMA\020\rB6\n!club.joylink.xiannccda.dto." +
+ "protosB\021DeviceStatusProtob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -19242,7 +19958,7 @@ public final class DeviceStatusProto {
internal_static_state_Switch_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_state_Switch_descriptor,
- new java.lang.String[] { "IpSingleSwitchStusCiOccupied", "IpSingleSwitchStusCbtcOccupied", "IpSingleSwitchStusLocked", "IpSingleSwitchStusFailLocked", "IpSingleSwitchStusNormal", "IpSingleSwitchStusReverse", "IpSingleSwitchStusBlocked1", "IpSingleSwitchStusJammed", "IpSingleSwitchStusCut", "IpSingleSwitchStusAtcInvalid", "IpSingleSwitchStusOverlap", "IpSingleSwitchStusTsrCbtcMain", "IpSingleSwitchStusTsrCbtcNormal", "IpSingleSwitchStusTsrCbtcReverse", "IpSingleSwitchStusTsrBmMain", "IpSingleSwitchStusTsrBmNormal", "IpSingleSwitchStusTsrBmReverse", "IpSingleSwitchStusBlocked2", "IpSingleSwitchStusLostIndication", "Id", "SpeedLimit", });
+ new java.lang.String[] { "IpSingleSwitchStusCiOccupied", "IpSingleSwitchStusCbtcOccupied", "IpSingleSwitchStusLocked", "IpSingleSwitchStusFailLocked", "IpSingleSwitchStusNormal", "IpSingleSwitchStusReverse", "IpSingleSwitchStusBlocked1", "IpSingleSwitchStusJammed", "IpSingleSwitchStusExpectLock", "IpSingleSwitchStusExpectUnlock", "IpSingleSwitchStusExpectNormal", "IpSingleSwitchStusExpectReverse", "IpSingleSwitchStusExpectBlock", "IpSingleSwitchStusExpectUnblock", "IpSingleSwitchStusInRoute", "IpSingleSwitchStusManualMode", "IpSingleSwitchStusCut", "IpSingleSwitchStusAtcInvalid", "IpSingleSwitchStusOverlap", "IpSingleSwitchStusTsrCbtcMain", "IpSingleSwitchStusTsrCbtcNormal", "IpSingleSwitchStusTsrCbtcReverse", "IpSingleSwitchStusTsrBmMain", "IpSingleSwitchStusTsrBmNormal", "IpSingleSwitchStusTsrBmReverse", "IpSingleSwitchStusBlocked2", "IpSingleSwitchStusLostIndication", "Id", "SpeedLimit", });
internal_static_state_Track_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_state_Track_fieldAccessorTable = new
diff --git a/src/main/java/club/joylink/xiannccda/dto/protos/LayoutGraphicsProto.java b/src/main/java/club/joylink/xiannccda/dto/protos/LayoutGraphicsProto.java
index 77c4791..de9e470 100644
--- a/src/main/java/club/joylink/xiannccda/dto/protos/LayoutGraphicsProto.java
+++ b/src/main/java/club/joylink/xiannccda/dto/protos/LayoutGraphicsProto.java
@@ -31811,7 +31811,7 @@ public final class LayoutGraphicsProto {
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -31821,7 +31821,7 @@ public final class LayoutGraphicsProto {
getChildrenList();
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -31830,7 +31830,7 @@ public final class LayoutGraphicsProto {
int getChildrenCount();
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -31840,7 +31840,7 @@ public final class LayoutGraphicsProto {
java.lang.String getChildren(int index);
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -32308,7 +32308,7 @@ public final class LayoutGraphicsProto {
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -32320,7 +32320,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -32331,7 +32331,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -32343,7 +32343,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -33975,7 +33975,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -33988,7 +33988,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -33999,7 +33999,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34011,7 +34011,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34024,7 +34024,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34043,7 +34043,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34061,7 +34061,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34079,7 +34079,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
@@ -34094,7 +34094,7 @@ public final class LayoutGraphicsProto {
}
/**
* - * 下属逻辑区段id(非岔区) + * 下属逻辑区段id(非岔区)/下属道岔id(岔区) ** *
repeated string children = 8;
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 70cfb10..011d8a7 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -2,7 +2,7 @@ server:
port: 9081
spring:
profiles:
- active: local
+ active: dev
banner:
location: classpath:banner.txt
datasource: