故障测试调整
This commit is contained in:
parent
b2894c960b
commit
c127d0e5f0
@ -1,5 +1,6 @@
|
|||||||
package club.joylink.xiannccda.ats.cache;
|
package club.joylink.xiannccda.ats.cache;
|
||||||
|
|
||||||
|
import club.joylink.xiannccda.constants.SystemContext;
|
||||||
import club.joylink.xiannccda.dto.PublishedGIDTO.LineType;
|
import club.joylink.xiannccda.dto.PublishedGIDTO.LineType;
|
||||||
import club.joylink.xiannccda.dto.PublishedGIQueryDTO;
|
import club.joylink.xiannccda.dto.PublishedGIQueryDTO;
|
||||||
import club.joylink.xiannccda.entity.PublishedGi;
|
import club.joylink.xiannccda.entity.PublishedGi;
|
||||||
@ -26,6 +27,11 @@ public class LineGraphicDataManage implements ApplicationRunner {
|
|||||||
PublishedGIQueryDTO query = new PublishedGIQueryDTO();
|
PublishedGIQueryDTO query = new PublishedGIQueryDTO();
|
||||||
query.setType(LineType.Line.name());
|
query.setType(LineType.Line.name());
|
||||||
List<PublishedGi> list = iPublishedGiRepository.listWithProto(query);
|
List<PublishedGi> list = iPublishedGiRepository.listWithProto(query);
|
||||||
list.forEach(LineGraphicDataRepository::putLineGraph);
|
list.forEach(d -> {
|
||||||
|
LineGraphicDataRepository.putLineGraph(d);
|
||||||
|
if (!SystemContext.getMasterEnv()) {
|
||||||
|
LineGraphicDataRepository.initDeviceStationCenter();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
package club.joylink.xiannccda.ats.cache;
|
package club.joylink.xiannccda.ats.cache;
|
||||||
|
|
||||||
|
import club.joylink.xiannccda.ats.message.MessageId;
|
||||||
|
import club.joylink.xiannccda.ats.message.collect.DeviceDataRepository;
|
||||||
|
import club.joylink.xiannccda.ats.message.collect.DeviceDataRepository.DataTypeEnum;
|
||||||
|
import club.joylink.xiannccda.ats.message.collect.DeviceStatusDataOperate;
|
||||||
|
import club.joylink.xiannccda.ats.message.collect.datasource.DeviceStatusData;
|
||||||
|
import club.joylink.xiannccda.ats.message.line3.rep.DeviceStatusChangeResponse;
|
||||||
import club.joylink.xiannccda.dto.protos.DeviceInfoProto;
|
import club.joylink.xiannccda.dto.protos.DeviceInfoProto;
|
||||||
import club.joylink.xiannccda.dto.protos.DeviceInfoProto.DeviceKilometer;
|
import club.joylink.xiannccda.dto.protos.DeviceInfoProto.DeviceKilometer;
|
||||||
import club.joylink.xiannccda.dto.protos.DeviceInfoProto.Turnout;
|
import club.joylink.xiannccda.dto.protos.DeviceInfoProto.Turnout;
|
||||||
@ -16,8 +22,10 @@ import club.joylink.xiannccda.entity.PublishedGi;
|
|||||||
import club.joylink.xiannccda.exception.BusinessExceptionAssertEnum;
|
import club.joylink.xiannccda.exception.BusinessExceptionAssertEnum;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
||||||
import com.google.common.collect.HashBasedTable;
|
import com.google.common.collect.HashBasedTable;
|
||||||
|
import com.google.common.collect.Lists;
|
||||||
import com.google.common.collect.Table;
|
import com.google.common.collect.Table;
|
||||||
import com.google.protobuf.Descriptors.FieldDescriptor;
|
import com.google.protobuf.Descriptors.FieldDescriptor;
|
||||||
|
import com.google.protobuf.GeneratedMessageV3;
|
||||||
import com.google.protobuf.GeneratedMessageV3.Builder;
|
import com.google.protobuf.GeneratedMessageV3.Builder;
|
||||||
import com.google.protobuf.InvalidProtocolBufferException;
|
import com.google.protobuf.InvalidProtocolBufferException;
|
||||||
import com.google.protobuf.MessageOrBuilder;
|
import com.google.protobuf.MessageOrBuilder;
|
||||||
@ -136,9 +144,66 @@ public class LineGraphicDataRepository {
|
|||||||
} catch (InvalidProtocolBufferException e) {
|
} catch (InvalidProtocolBufferException e) {
|
||||||
log.error("反序列化信息失败", e);
|
log.error("反序列化信息失败", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initDeviceStationCenter() {
|
public static void initDeviceStationCenter() {
|
||||||
|
log.info("开始初始化地图中设备集中站的归属。。。");
|
||||||
|
|
||||||
|
for (Integer lineId : line_code_table.rowKeySet()) {
|
||||||
|
DeviceStatusData dsd = DeviceDataRepository.findDataSouce(lineId.toString(), DataTypeEnum.DEVICE);
|
||||||
|
for (MessageOrBuilder mb : line_code_table.values()) {
|
||||||
|
String deviceCode = DeviceStatusDataOperate.findFieldVal(mb, "code", String.class);
|
||||||
|
Integer deviceId = DeviceStatusDataOperate.findFieldVal(mb, "centralizedStationId", Integer.class);
|
||||||
|
if (Objects.isNull(deviceId) || deviceId == 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
Integer rtuId = getStationCenterById(lineId, deviceId.toString());
|
||||||
|
if (Objects.isNull(rtuId)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
List<GeneratedMessageV3.Builder> builders = Lists.newArrayList();
|
||||||
|
if (mb instanceof LayoutGraphicsProto.Turnout) {
|
||||||
|
builders.addAll(createMsg(lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType.DEVICE_TYPE_SWITCH, deviceCode, rtuId.shortValue()));
|
||||||
|
builders.addAll(createMsg(lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType.DEVICE_TYPE_TRACK, deviceCode, rtuId.shortValue()));
|
||||||
|
|
||||||
|
}/* else if (mb instanceof LogicSection logicSection) {
|
||||||
|
builders.addAll(this.createMsg(lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType.DEVICE_TYPE_TRACK, deviceCode, rtuId.shortValue()));
|
||||||
|
}*/ else if (mb instanceof LayoutGraphicsProto.Section section) {
|
||||||
|
if (section.getSectionType() == SectionType.Physical) {
|
||||||
|
for (Integer childId : section.getChildrenList()) {
|
||||||
|
MessageOrBuilder childMB = getDeviceByCode(lineId, childId.toString());
|
||||||
|
String deviceCode_ = DeviceStatusDataOperate.findFieldVal(childMB, "code", String.class);
|
||||||
|
builders.addAll(createMsg(lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType.DEVICE_TYPE_TRACK, deviceCode_, rtuId.shortValue()));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (mb instanceof LayoutGraphicsProto.Signal) {
|
||||||
|
builders.addAll(createMsg(lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType.DEVICE_TYPE_SIGNAL, deviceCode, rtuId.shortValue()));
|
||||||
|
}
|
||||||
|
dsd.addDevice(builders);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private static List<GeneratedMessageV3.Builder> createMsg(Integer lineId, club.joylink.xiannccda.ats.message.line3.device.DeviceType dt, String devName, short rtuId) {
|
||||||
|
DeviceStatusChangeResponse statusChange = new DeviceStatusChangeResponse();
|
||||||
|
statusChange.setLineId(lineId.shortValue());
|
||||||
|
statusChange.setMsgId(MessageId.DEVICE_STATUS_CHANGE);
|
||||||
|
statusChange.setDevName(devName);
|
||||||
|
statusChange.setType(dt);
|
||||||
|
statusChange.setDeviceStatus(0);
|
||||||
|
statusChange.setRtuId(rtuId);
|
||||||
|
return statusChange.generateProto();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Integer getStationCenterById(Integer lineId, String deviceId) {
|
||||||
|
MessageOrBuilder mb = getDeviceByCodeNotException(lineId, deviceId);
|
||||||
|
String rtuCode = DeviceStatusDataOperate.findFieldVal(mb, "code", String.class);
|
||||||
|
if (StringUtils.isEmpty(rtuCode)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
return Integer.parseInt(rtuCode);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22406,6 +22406,16 @@ public final class LayoutGraphicsProto {
|
|||||||
* @return The manageStations at the given index.
|
* @return The manageStations at the given index.
|
||||||
*/
|
*/
|
||||||
int getManageStations(int index);
|
int getManageStations(int index);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
*是否车辆段
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>bool depots = 9;</code>
|
||||||
|
* @return The depots.
|
||||||
|
*/
|
||||||
|
boolean getDepots();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Protobuf type {@code graphicData.Station}
|
* Protobuf type {@code graphicData.Station}
|
||||||
@ -22658,6 +22668,21 @@ public final class LayoutGraphicsProto {
|
|||||||
}
|
}
|
||||||
private int manageStationsMemoizedSerializedSize = -1;
|
private int manageStationsMemoizedSerializedSize = -1;
|
||||||
|
|
||||||
|
public static final int DEPOTS_FIELD_NUMBER = 9;
|
||||||
|
private boolean depots_ = false;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
*是否车辆段
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>bool depots = 9;</code>
|
||||||
|
* @return The depots.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean getDepots() {
|
||||||
|
return depots_;
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@ -22698,6 +22723,9 @@ public final class LayoutGraphicsProto {
|
|||||||
for (int i = 0; i < manageStations_.size(); i++) {
|
for (int i = 0; i < manageStations_.size(); i++) {
|
||||||
output.writeUInt32NoTag(manageStations_.getInt(i));
|
output.writeUInt32NoTag(manageStations_.getInt(i));
|
||||||
}
|
}
|
||||||
|
if (depots_ != false) {
|
||||||
|
output.writeBool(9, depots_);
|
||||||
|
}
|
||||||
getUnknownFields().writeTo(output);
|
getUnknownFields().writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -22743,6 +22771,10 @@ public final class LayoutGraphicsProto {
|
|||||||
}
|
}
|
||||||
manageStationsMemoizedSerializedSize = dataSize;
|
manageStationsMemoizedSerializedSize = dataSize;
|
||||||
}
|
}
|
||||||
|
if (depots_ != false) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeBoolSize(9, depots_);
|
||||||
|
}
|
||||||
size += getUnknownFields().getSerializedSize();
|
size += getUnknownFields().getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@ -22778,6 +22810,8 @@ public final class LayoutGraphicsProto {
|
|||||||
.equals(other.getName())) return false;
|
.equals(other.getName())) return false;
|
||||||
if (!getManageStationsList()
|
if (!getManageStationsList()
|
||||||
.equals(other.getManageStationsList())) return false;
|
.equals(other.getManageStationsList())) return false;
|
||||||
|
if (getDepots()
|
||||||
|
!= other.getDepots()) return false;
|
||||||
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -22811,6 +22845,9 @@ public final class LayoutGraphicsProto {
|
|||||||
hash = (37 * hash) + MANAGESTATIONS_FIELD_NUMBER;
|
hash = (37 * hash) + MANAGESTATIONS_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getManageStationsList().hashCode();
|
hash = (53 * hash) + getManageStationsList().hashCode();
|
||||||
}
|
}
|
||||||
|
hash = (37 * hash) + DEPOTS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||||
|
getDepots());
|
||||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||||
memoizedHashCode = hash;
|
memoizedHashCode = hash;
|
||||||
return hash;
|
return hash;
|
||||||
@ -22957,6 +22994,7 @@ public final class LayoutGraphicsProto {
|
|||||||
}
|
}
|
||||||
name_ = "";
|
name_ = "";
|
||||||
manageStations_ = emptyIntList();
|
manageStations_ = emptyIntList();
|
||||||
|
depots_ = false;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23021,6 +23059,9 @@ public final class LayoutGraphicsProto {
|
|||||||
if (((from_bitField0_ & 0x00000020) != 0)) {
|
if (((from_bitField0_ & 0x00000020) != 0)) {
|
||||||
result.name_ = name_;
|
result.name_ = name_;
|
||||||
}
|
}
|
||||||
|
if (((from_bitField0_ & 0x00000080) != 0)) {
|
||||||
|
result.depots_ = depots_;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
@ -23067,6 +23108,9 @@ public final class LayoutGraphicsProto {
|
|||||||
}
|
}
|
||||||
onChanged();
|
onChanged();
|
||||||
}
|
}
|
||||||
|
if (other.getDepots() != false) {
|
||||||
|
setDepots(other.getDepots());
|
||||||
|
}
|
||||||
this.mergeUnknownFields(other.getUnknownFields());
|
this.mergeUnknownFields(other.getUnknownFields());
|
||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
@ -23143,6 +23187,11 @@ public final class LayoutGraphicsProto {
|
|||||||
input.popLimit(limit);
|
input.popLimit(limit);
|
||||||
break;
|
break;
|
||||||
} // case 66
|
} // case 66
|
||||||
|
case 72: {
|
||||||
|
depots_ = input.readBool();
|
||||||
|
bitField0_ |= 0x00000080;
|
||||||
|
break;
|
||||||
|
} // case 72
|
||||||
default: {
|
default: {
|
||||||
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
|
||||||
done = true; // was an endgroup tag
|
done = true; // was an endgroup tag
|
||||||
@ -23774,6 +23823,50 @@ public final class LayoutGraphicsProto {
|
|||||||
onChanged();
|
onChanged();
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private boolean depots_ ;
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
*是否车辆段
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>bool depots = 9;</code>
|
||||||
|
* @return The depots.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean getDepots() {
|
||||||
|
return depots_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
*是否车辆段
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>bool depots = 9;</code>
|
||||||
|
* @param value The depots to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setDepots(boolean value) {
|
||||||
|
|
||||||
|
depots_ = value;
|
||||||
|
bitField0_ |= 0x00000080;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <pre>
|
||||||
|
*是否车辆段
|
||||||
|
* </pre>
|
||||||
|
*
|
||||||
|
* <code>bool depots = 9;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearDepots() {
|
||||||
|
bitField0_ = (bitField0_ & ~0x00000080);
|
||||||
|
depots_ = false;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@ -47224,84 +47317,85 @@ public final class LayoutGraphicsProto {
|
|||||||
"\n\tdirection\030\004 \001(\t\022\025\n\roldrefStation\030\006 \001(\t" +
|
"\n\tdirection\030\004 \001(\t\022\025\n\roldrefStation\030\006 \001(\t" +
|
||||||
"\022\n\n\002up\030\007 \001(\010\022\027\n\017oldrefSectionId\030\010 \001(\t\022\022\n" +
|
"\022\n\n\002up\030\007 \001(\010\022\027\n\017oldrefSectionId\030\010 \001(\t\022\022\n" +
|
||||||
"\nrefStation\030\t \001(\r\022\024\n\014refSectionId\030\n \001(\r\022" +
|
"\nrefStation\030\t \001(\r\022\024\n\014refSectionId\030\n \001(\r\022" +
|
||||||
"\034\n\024centralizedStationId\030\013 \001(\r\"\320\001\n\007Statio" +
|
"\034\n\024centralizedStationId\030\013 \001(\r\"\340\001\n\007Statio" +
|
||||||
"n\022\'\n\006common\030\001 \001(\0132\027.graphicData.CommonIn" +
|
"n\022\'\n\006common\030\001 \001(\0132\027.graphicData.CommonIn" +
|
||||||
"fo\022\014\n\004code\030\002 \001(\t\022\022\n\nhasControl\030\003 \001(\010\022\035\n\025" +
|
"fo\022\014\n\004code\030\002 \001(\t\022\022\n\nhasControl\030\003 \001(\010\022\035\n\025" +
|
||||||
"concentrationStations\030\004 \001(\010\0225\n\017kilometer" +
|
"concentrationStations\030\004 \001(\010\0225\n\017kilometer" +
|
||||||
"System\030\006 \001(\0132\034.graphicData.KilometerSyst" +
|
"System\030\006 \001(\0132\034.graphicData.KilometerSyst" +
|
||||||
"em\022\014\n\004name\030\007 \001(\t\022\026\n\016manageStations\030\010 \003(\r" +
|
"em\022\014\n\004name\030\007 \001(\t\022\026\n\016manageStations\030\010 \003(\r" +
|
||||||
"\"\313\001\n\013StationLine\022\'\n\006common\030\001 \001(\0132\027.graph" +
|
"\022\016\n\006depots\030\t \001(\010\"\313\001\n\013StationLine\022\'\n\006comm" +
|
||||||
"icData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\023\n\013hasTr" +
|
"on\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n\004cod" +
|
||||||
"ansfer\030\003 \001(\010\022\020\n\010hideName\030\004 \001(\010\0228\n\tcodeCo" +
|
"e\030\002 \001(\t\022\023\n\013hasTransfer\030\003 \001(\010\022\020\n\010hideName" +
|
||||||
"lor\030\005 \001(\0162%.graphicData.StationLine.stat" +
|
"\030\004 \001(\010\0228\n\tcodeColor\030\005 \001(\0162%.graphicData." +
|
||||||
"ionColor\"$\n\014stationColor\022\n\n\006orange\020\000\022\010\n\004" +
|
"StationLine.stationColor\"$\n\014stationColor" +
|
||||||
"gray\020\001\"q\n\013TrainWindow\022\'\n\006common\030\001 \001(\0132\027." +
|
"\022\n\n\006orange\020\000\022\010\n\004gray\020\001\"q\n\013TrainWindow\022\'\n" +
|
||||||
"graphicData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\026\n\016" +
|
"\006common\030\001 \001(\0132\027.graphicData.CommonInfo\022\014" +
|
||||||
"oldrefDeviceId\030\003 \003(\t\022\023\n\013refDeviceId\030\004 \003(" +
|
"\n\004code\030\002 \001(\t\022\026\n\016oldrefDeviceId\030\003 \003(\t\022\023\n\013" +
|
||||||
"\r\"\256\001\n\014AxleCounting\022\'\n\006common\030\001 \001(\0132\027.gra" +
|
"refDeviceId\030\004 \003(\r\"\256\001\n\014AxleCounting\022\'\n\006co" +
|
||||||
"phicData.CommonInfo\022\014\n\004code\030\002 \001(\t\0225\n\017kil" +
|
"mmon\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n\004c" +
|
||||||
"ometerSystem\030\003 \001(\0132\034.graphicData.Kilomet" +
|
"ode\030\002 \001(\t\0225\n\017kilometerSystem\030\003 \001(\0132\034.gra" +
|
||||||
"erSystem\0220\n\017axleCountingRef\030\004 \003(\0132\027.grap" +
|
"phicData.KilometerSystem\0220\n\017axleCounting" +
|
||||||
"hicData.RelatedRef\">\n\005Train\022\'\n\006common\030\001 " +
|
"Ref\030\004 \003(\0132\027.graphicData.RelatedRef\">\n\005Tr" +
|
||||||
"\001(\0132\027.graphicData.CommonInfo\022\014\n\004code\030\002 \001" +
|
"ain\022\'\n\006common\030\001 \001(\0132\027.graphicData.Common" +
|
||||||
"(\t\"B\n\tTrainLine\022\'\n\006common\030\001 \001(\0132\027.graphi" +
|
"Info\022\014\n\004code\030\002 \001(\t\"B\n\tTrainLine\022\'\n\006commo" +
|
||||||
"cData.CommonInfo\022\014\n\004code\030\002 \001(\t\"@\n\007IscsFa" +
|
|
||||||
"n\022\'\n\006common\030\001 \001(\0132\027.graphicData.CommonIn" +
|
|
||||||
"fo\022\014\n\004code\030\002 \001(\t\"\371\002\n\007Turnout\022\'\n\006common\030\001" +
|
|
||||||
" \001(\0132\027.graphicData.CommonInfo\022\014\n\004code\030\002 " +
|
|
||||||
"\001(\t\022\"\n\006pointA\030\006 \003(\0132\022.graphicData.Point\022" +
|
|
||||||
"\"\n\006pointB\030\007 \003(\0132\022.graphicData.Point\022\"\n\006p" +
|
|
||||||
"ointC\030\010 \003(\0132\022.graphicData.Point\022&\n\005paRef" +
|
|
||||||
"\030\t \001(\0132\027.graphicData.RelatedRef\022&\n\005pbRef" +
|
|
||||||
"\030\n \001(\0132\027.graphicData.RelatedRef\022&\n\005pcRef" +
|
|
||||||
"\030\013 \001(\0132\027.graphicData.RelatedRef\0225\n\017kilom" +
|
|
||||||
"eterSystem\030\r \003(\0132\034.graphicData.Kilometer" +
|
|
||||||
"System\022\034\n\024centralizedStationId\030\016 \001(\r\">\n\017" +
|
|
||||||
"KilometerSystem\022\021\n\tkilometer\030\001 \001(\003\022\030\n\020co" +
|
|
||||||
"ordinateSystem\030\002 \001(\t\"\320\001\n\006Signal\022\'\n\006commo" +
|
|
||||||
"n\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n\004code" +
|
"n\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n\004code" +
|
||||||
"\030\002 \001(\t\022\016\n\006mirror\030\003 \001(\010\0225\n\017kilometerSyste" +
|
"\030\002 \001(\t\"@\n\007IscsFan\022\'\n\006common\030\001 \001(\0132\027.grap" +
|
||||||
"m\030\006 \001(\0132\034.graphicData.KilometerSystem\022*\n" +
|
"hicData.CommonInfo\022\014\n\004code\030\002 \001(\t\"\371\002\n\007Tur" +
|
||||||
"\trefDevice\030\007 \001(\0132\027.graphicData.RelatedRe" +
|
"nout\022\'\n\006common\030\001 \001(\0132\027.graphicData.Commo" +
|
||||||
"f\022\034\n\024centralizedStationId\030\010 \001(\r\"\246\002\n\007RunL" +
|
"nInfo\022\014\n\004code\030\002 \001(\t\022\"\n\006pointA\030\006 \003(\0132\022.gr" +
|
||||||
"ine\022\'\n\006common\030\001 \001(\0132\027.graphicData.Common" +
|
"aphicData.Point\022\"\n\006pointB\030\007 \003(\0132\022.graphi" +
|
||||||
"Info\022\014\n\004code\030\002 \001(\t\022\"\n\006points\030\003 \003(\0132\022.gra" +
|
"cData.Point\022\"\n\006pointC\030\010 \003(\0132\022.graphicDat" +
|
||||||
"phicData.Point\022\021\n\tnameColor\030\004 \001(\t\022\023\n\013nam" +
|
"a.Point\022&\n\005paRef\030\t \001(\0132\027.graphicData.Rel" +
|
||||||
"eBgColor\030\005 \001(\t\022\022\n\ncontainSta\030\010 \003(\t\022\030\n\020ol" +
|
"atedRef\022&\n\005pbRef\030\n \001(\0132\027.graphicData.Rel" +
|
||||||
"dlinkPathLines\030\t \003(\t\022\016\n\006lineId\030\n \001(\t\022\027\n\017" +
|
"atedRef\022&\n\005pcRef\030\013 \001(\0132\027.graphicData.Rel" +
|
||||||
"dashPointIndexs\030\013 \003(\005\022\027\n\017grayPointIndexs" +
|
"atedRef\0225\n\017kilometerSystem\030\r \003(\0132\034.graph" +
|
||||||
"\030\014 \003(\005\022\021\n\tlineColor\030\r \001(\t\022\025\n\rlinkPathLin" +
|
"icData.KilometerSystem\022\034\n\024centralizedSta" +
|
||||||
"es\030\016 \003(\r\"\243\003\n\007Section\022\'\n\006common\030\001 \001(\0132\027.g" +
|
"tionId\030\016 \001(\r\">\n\017KilometerSystem\022\021\n\tkilom" +
|
||||||
"raphicData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\"\n\006p" +
|
"eter\030\001 \001(\003\022\030\n\020coordinateSystem\030\002 \001(\t\"\320\001\n" +
|
||||||
"oints\030\003 \003(\0132\022.graphicData.Point\022&\n\005paRef" +
|
"\006Signal\022\'\n\006common\030\001 \001(\0132\027.graphicData.Co" +
|
||||||
"\030\004 \001(\0132\027.graphicData.RelatedRef\022&\n\005pbRef" +
|
"mmonInfo\022\014\n\004code\030\002 \001(\t\022\016\n\006mirror\030\003 \001(\010\0225" +
|
||||||
"\030\005 \001(\0132\027.graphicData.RelatedRef\0225\n\013secti" +
|
"\n\017kilometerSystem\030\006 \001(\0132\034.graphicData.Ki" +
|
||||||
"onType\030\006 \001(\0162 .graphicData.Section.Secti" +
|
"lometerSystem\022*\n\trefDevice\030\007 \001(\0132\027.graph" +
|
||||||
"onType\022\025\n\raxleCountings\030\007 \003(\t\022\023\n\013oldchil" +
|
"icData.RelatedRef\022\034\n\024centralizedStationI" +
|
||||||
"dren\030\010 \003(\t\022\027\n\017destinationCode\030\t \001(\t\022\017\n\007t" +
|
"d\030\010 \001(\r\"\246\002\n\007RunLine\022\'\n\006common\030\001 \001(\0132\027.gr" +
|
||||||
"urning\030\n \001(\010\022\020\n\010children\030\013 \003(\r\022\034\n\024centra" +
|
"aphicData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\"\n\006po" +
|
||||||
"lizedStationId\030\014 \001(\r\"0\n\013SectionType\022\014\n\010P" +
|
"ints\030\003 \003(\0132\022.graphicData.Point\022\021\n\tnameCo" +
|
||||||
"hysical\020\000\022\023\n\017TurnoutPhysical\020\002\"i\n\014LogicS" +
|
"lor\030\004 \001(\t\022\023\n\013nameBgColor\030\005 \001(\t\022\022\n\ncontai" +
|
||||||
"ection\022\'\n\006common\030\001 \001(\0132\027.graphicData.Com" +
|
"nSta\030\010 \003(\t\022\030\n\020oldlinkPathLines\030\t \003(\t\022\016\n\006" +
|
||||||
"monInfo\022\014\n\004code\030\002 \001(\t\022\"\n\006points\030\003 \003(\0132\022." +
|
"lineId\030\n \001(\t\022\027\n\017dashPointIndexs\030\013 \003(\005\022\027\n" +
|
||||||
"graphicData.Point\"V\n\016KilometerPoint\022!\n\005p" +
|
"\017grayPointIndexs\030\014 \003(\005\022\021\n\tlineColor\030\r \001(" +
|
||||||
"oint\030\001 \001(\0132\022.graphicData.Point\022\021\n\tkilome" +
|
"\t\022\025\n\rlinkPathLines\030\016 \003(\r\"\243\003\n\007Section\022\'\n\006" +
|
||||||
"ter\030\002 \001(\003\022\016\n\006stName\030\003 \001(\t\"\277\001\n\010PathLine\022\'" +
|
"common\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n" +
|
||||||
"\n\006common\030\001 \001(\0132\027.graphicData.CommonInfo\022" +
|
"\004code\030\002 \001(\t\022\"\n\006points\030\003 \003(\0132\022.graphicDat" +
|
||||||
"\014\n\004code\030\002 \001(\t\022\"\n\006points\030\003 \003(\0132\022.graphicD" +
|
"a.Point\022&\n\005paRef\030\004 \001(\0132\027.graphicData.Rel" +
|
||||||
"ata.Point\022\014\n\004isUp\030\004 \001(\010\0224\n\017kilometerPoin" +
|
"atedRef\022&\n\005pbRef\030\005 \001(\0132\027.graphicData.Rel" +
|
||||||
"ts\030\005 \003(\0132\033.graphicData.KilometerPoint\022\024\n" +
|
"atedRef\0225\n\013sectionType\030\006 \001(\0162 .graphicDa" +
|
||||||
"\014isKmIncrease\030\006 \001(\010\"\205\002\n\nRelatedRef\0226\n\nde" +
|
"ta.Section.SectionType\022\025\n\raxleCountings\030" +
|
||||||
"viceType\030\001 \001(\0162\".graphicData.RelatedRef." +
|
"\007 \003(\t\022\023\n\013oldchildren\030\010 \003(\t\022\027\n\017destinatio" +
|
||||||
"DeviceType\022\r\n\005oldid\030\002 \001(\t\0226\n\ndevicePort\030" +
|
"nCode\030\t \001(\t\022\017\n\007turning\030\n \001(\010\022\020\n\010children" +
|
||||||
"\003 \001(\0162\".graphicData.RelatedRef.DevicePor" +
|
"\030\013 \003(\r\022\034\n\024centralizedStationId\030\014 \001(\r\"0\n\013" +
|
||||||
"t\022\n\n\002id\030\004 \001(\r\"I\n\nDeviceType\022\013\n\007Section\020\000" +
|
"SectionType\022\014\n\010Physical\020\000\022\023\n\017TurnoutPhys" +
|
||||||
"\022\013\n\007Turnout\020\001\022\017\n\013TrainWindow\020\002\022\020\n\014AxleCo" +
|
"ical\020\002\"i\n\014LogicSection\022\'\n\006common\030\001 \001(\0132\027" +
|
||||||
"unting\020\003\"!\n\nDevicePort\022\005\n\001A\020\000\022\005\n\001B\020\001\022\005\n\001" +
|
".graphicData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\"\n" +
|
||||||
"C\020\002\"Y\n\tSeparator\022\'\n\006common\030\001 \001(\0132\027.graph" +
|
"\006points\030\003 \003(\0132\022.graphicData.Point\"V\n\016Kil" +
|
||||||
"icData.CommonInfo\022\014\n\004code\030\002 \001(\t\022\025\n\rsepar" +
|
"ometerPoint\022!\n\005point\030\001 \001(\0132\022.graphicData" +
|
||||||
"atorType\030\003 \001(\tB8\n!club.joylink.xiannccda" +
|
".Point\022\021\n\tkilometer\030\002 \001(\003\022\016\n\006stName\030\003 \001(" +
|
||||||
".dto.protosB\023LayoutGraphicsProtob\006proto3"
|
"\t\"\277\001\n\010PathLine\022\'\n\006common\030\001 \001(\0132\027.graphic" +
|
||||||
|
"Data.CommonInfo\022\014\n\004code\030\002 \001(\t\022\"\n\006points\030" +
|
||||||
|
"\003 \003(\0132\022.graphicData.Point\022\014\n\004isUp\030\004 \001(\010\022" +
|
||||||
|
"4\n\017kilometerPoints\030\005 \003(\0132\033.graphicData.K" +
|
||||||
|
"ilometerPoint\022\024\n\014isKmIncrease\030\006 \001(\010\"\205\002\n\n" +
|
||||||
|
"RelatedRef\0226\n\ndeviceType\030\001 \001(\0162\".graphic" +
|
||||||
|
"Data.RelatedRef.DeviceType\022\r\n\005oldid\030\002 \001(" +
|
||||||
|
"\t\0226\n\ndevicePort\030\003 \001(\0162\".graphicData.Rela" +
|
||||||
|
"tedRef.DevicePort\022\n\n\002id\030\004 \001(\r\"I\n\nDeviceT" +
|
||||||
|
"ype\022\013\n\007Section\020\000\022\013\n\007Turnout\020\001\022\017\n\013TrainWi" +
|
||||||
|
"ndow\020\002\022\020\n\014AxleCounting\020\003\"!\n\nDevicePort\022\005" +
|
||||||
|
"\n\001A\020\000\022\005\n\001B\020\001\022\005\n\001C\020\002\"Y\n\tSeparator\022\'\n\006comm" +
|
||||||
|
"on\030\001 \001(\0132\027.graphicData.CommonInfo\022\014\n\004cod" +
|
||||||
|
"e\030\002 \001(\t\022\025\n\rseparatorType\030\003 \001(\tB8\n!club.j" +
|
||||||
|
"oylink.xiannccda.dto.protosB\023LayoutGraph" +
|
||||||
|
"icsProtob\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@ -47384,7 +47478,7 @@ public final class LayoutGraphicsProto {
|
|||||||
internal_static_graphicData_Station_fieldAccessorTable = new
|
internal_static_graphicData_Station_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_graphicData_Station_descriptor,
|
internal_static_graphicData_Station_descriptor,
|
||||||
new java.lang.String[] { "Common", "Code", "HasControl", "ConcentrationStations", "KilometerSystem", "Name", "ManageStations", });
|
new java.lang.String[] { "Common", "Code", "HasControl", "ConcentrationStations", "KilometerSystem", "Name", "ManageStations", "Depots", });
|
||||||
internal_static_graphicData_StationLine_descriptor =
|
internal_static_graphicData_StationLine_descriptor =
|
||||||
getDescriptor().getMessageTypes().get(13);
|
getDescriptor().getMessageTypes().get(13);
|
||||||
internal_static_graphicData_StationLine_fieldAccessorTable = new
|
internal_static_graphicData_StationLine_fieldAccessorTable = new
|
||||||
|
Loading…
Reference in New Issue
Block a user