feat():获取正在运行中的服务器的ip

commit:理解负载算法,尝试从flux中获取连接数,正在尝试,需要找对应方法和写法
master
Saisai Liu 2024-05-27 22:22:08 +08:00
parent 9ca487fc0c
commit a5e02f8e3d
36 changed files with 692 additions and 267 deletions

19
.idea/compiler.xml 100644
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" />
<module name="train-load" />
</profile>
</annotationProcessing>
</component>
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_OVERRIDE">
<module name="train-networking" options="-parameters" />
</option>
</component>
</project>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/train-load/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/train-load/src/main/resources" charset="UTF-8" />
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Central Repository" />
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
</component>
</project>

12
.idea/misc.xml 100644
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">
<list>
<option value="$PROJECT_DIR$/pom.xml" />
</list>
</option>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK" />
</project>

View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

View File

@ -4,203 +4,22 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="f46403b6-513c-4e7c-a74f-331186dfe228" name="更改" comment=""> <list default="true" id="f46403b6-513c-4e7c-a74f-331186dfe228" name="更改" comment="车联网初始化基础系统">
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/config/LoadCenter.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change afterPath="$PROJECT_DIR$/train-load/src/main/resources/bootstrap.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/logs/vehicle.log" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/logs/vehicle.log" beforeDir="false" afterPath="$PROJECT_DIR$/logs/vehicle.log" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-common/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-common/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst" beforeDir="false" />
<change afterPath="$PROJECT_DIR$/train-common/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" beforeDir="false" afterPath="$PROJECT_DIR$/train-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-common/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-load/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/train-load/pom.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/controller/Sample.java" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/events/SelectInstences.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/TrainLoadApplication.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/mq/rabbitmq/Custom.java" beforeDir="false" afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/mq/rabbitmq/Custom.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/controller/FluxMqController.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-load/target/classes/com/mobai/controller/Sample.class" beforeDir="false" afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/controller/Sample.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/controller/Sample.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/Result.java" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/Result.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/domain/req/FluxLoginReq.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/config/MyMetaObjectHandler.java" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/config/MyMetaObjectHandler.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/mq/fluxmq/FluxMqInit.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/Sample.java" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/events/CreateInstance.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/mq/rabbitmq/Custom.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/Result.class" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/Result.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/service/FluxService.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/config/MyMetaObjectHandler.class" beforeDir="false" afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/config/MyMetaObjectHandler.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/src/main/java/com/mobai/service/FluxServiceImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/TrainLoadApplication.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/controller/FluxMqController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/controller/Sample.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/domain/req/FluxLoginReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/mq/fluxmq/FluxMqInit.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/mq/rabbitmq/Custom.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/service/FluxService.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-load/target/classes/com/mobai/service/FluxServiceImpl.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/pom.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/TrainNetWorkingApplication.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/HttpStatus.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/PageList.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/Result.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/SystemConstant.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/pool/FixedThreadPool.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/common/pool/ScheduledThreadPool.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/config/ExceptionAdvice.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/config/MyMetaObjectHandler.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/config/MybatisPlusConfig.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/IndexController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/Sample.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/VehicleController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/VehicleInstanceController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/VehiclePositionController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/VehicleUnifiedController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/controller/VerifyController.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/PositionRouteInfo.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/Vehicle.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/model/MqttServerModel.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/model/PositionModel.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/model/TaskModel.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/req/CheckPositionReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/req/GearReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/req/MsgReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/req/VehicleCreateAddReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/req/VehicleInstanceListReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/resp/UnifiedTaskResp.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/domain/resp/VehicleInstanceResp.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/mapper/PositionRouteMapper.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/mapper/VehicleMapper.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/PositionRouteService.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/VehicleInstanceService.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/VehicleService.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/VehicleUnifiedService.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/impl/PositionRouteServiceImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/impl/VechileServiceImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/impl/VehicleInstanceServiceImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/service/impl/VehicleUnifiedServiceImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/CalculateCheckDigit.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/ConversionUtil.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/Convert.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/MD5Util.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/ReflectUtils.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/utils/VehicleUtils.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/1" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/VehicleInstance.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/api/ClientAdmin.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/api/req/VehicleConnectionReq.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/core/LocalContainer.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/core/VehicleConfiguration.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/model/VehicleData.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/model/properties/MqttProperties.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/java/com/mobai/vehicle/thread/VehicleThread.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/application.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/data.sql" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/schema.sql" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/app.949a0224.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-22cea610.3c7f5ad9.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-510f32e7.1510e3c5.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-630a64ed.9a9361c6.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-cefe5306.0a41cd80.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-elementUI.c1c3b808.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/css/chunk-libs.3dfb7769.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/favicon.ico" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/fonts/element-icons.535877f5.woff" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/fonts/element-icons.732389de.ttf" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/img/404.a57b6f31.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/img/404_cloud.0f4bc32b.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/app.967d9126.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-019c66da.ded8571e.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-22cea610.a50359dd.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-510f32e7.18a692c7.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-630a64ed.8295bd3f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-cefe5306.756dde8f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-elementUI.2491fb2f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/src/main/resources/static/js/chunk-libs.2ec7c235.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/application.yml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/TrainNetWorkingApplication.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/HttpStatus.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/PageList$PageListBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/PageList.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/Result.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/SystemConstant.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/pool/FixedThreadPool.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/common/pool/ScheduledThreadPool.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/config/ExceptionAdvice.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/config/MyMetaObjectHandler.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/config/MybatisPlusConfig.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/IndexController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/VehicleController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/VehicleInstanceController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/VehiclePositionController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/VehicleUnifiedController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/controller/VerifyController.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/PositionRouteInfo$PositionRouteInfoBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/PositionRouteInfo.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/Vehicle$VehicleBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/Vehicle.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/MqttServerModel$MqttServerModelBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/MqttServerModel.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/PositionModel$PositionModelBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/PositionModel.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/TaskModel$TaskModelBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/model/TaskModel.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/CheckPositionReq$CheckPositionReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/CheckPositionReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/GearReq$GearReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/GearReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/MsgReq$MsgReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/MsgReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/VehicleCreateAddReq$VehicleCreateAddReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/VehicleCreateAddReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/VehicleInstanceListReq$VehicleInstanceListReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/req/VehicleInstanceListReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/resp/UnifiedTaskResp$UnifiedTaskRespBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/resp/UnifiedTaskResp.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/resp/VehicleInstanceResp$VehicleInstanceRespBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/domain/resp/VehicleInstanceResp.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/mapper/PositionRouteMapper.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/mapper/VehicleMapper.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/PositionRouteService.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/VehicleInstanceService.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/VehicleService.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/VehicleUnifiedService.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/impl/PositionRouteServiceImpl.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/impl/VechileServiceImpl.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/impl/VehicleInstanceServiceImpl.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/service/impl/VehicleUnifiedServiceImpl.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/CalculateCheckDigit.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/ConversionUtil.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/Convert.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/MD5Util.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/ReflectUtils.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/utils/VehicleUtils.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/VehicleInstance$VehicleInstanceBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/VehicleInstance.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/api/ClientAdmin.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/api/req/VehicleConnectionReq$VehicleConnectionReqBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/api/req/VehicleConnectionReq.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/core/LocalContainer.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/core/VehicleConfiguration.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/model/VehicleData$VehicleDataBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/model/VehicleData.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/model/properties/MqttProperties$MqttPropertiesBuilder.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/model/properties/MqttProperties.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/com/mobai/vehicle/thread/VehicleThread.class" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/data.sql" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/schema.sql" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/app.949a0224.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-22cea610.3c7f5ad9.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-510f32e7.1510e3c5.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-630a64ed.9a9361c6.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-cefe5306.0a41cd80.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-elementUI.c1c3b808.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/css/chunk-libs.3dfb7769.css" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/favicon.ico" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/fonts/element-icons.535877f5.woff" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/fonts/element-icons.732389de.ttf" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/img/404.a57b6f31.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/img/404_cloud.0f4bc32b.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/index.html" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/app.967d9126.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-019c66da.ded8571e.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-22cea610.a50359dd.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-510f32e7.18a692c7.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-630a64ed.8295bd3f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-cefe5306.756dde8f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-elementUI.2491fb2f.js" afterDir="false" />
<change afterPath="$PROJECT_DIR$/train-networking/target/classes/static/js/chunk-libs.2ec7c235.js" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -219,6 +38,10 @@
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
<option name="ROOT_SYNC" value="SYNC" /> <option name="ROOT_SYNC" value="SYNC" />
</component> </component>
<component name="JsBowerSettings">
<bower-package value="" />
<bower.json value="" />
</component>
<component name="MavenImportPreferences"> <component name="MavenImportPreferences">
<option name="generalSettings"> <option name="generalSettings">
<MavenGeneralSettings> <MavenGeneralSettings>
@ -246,39 +69,39 @@
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent">{ <component name="PropertiesComponent"><![CDATA[{
&quot;keyToString&quot;: { "keyToString": {
&quot;RequestMappingsPanelOrder0&quot;: &quot;0&quot;, "RequestMappingsPanelOrder0": "0",
&quot;RequestMappingsPanelOrder1&quot;: &quot;1&quot;, "RequestMappingsPanelOrder1": "1",
&quot;RequestMappingsPanelWidth0&quot;: &quot;75&quot;, "RequestMappingsPanelWidth0": "75",
&quot;RequestMappingsPanelWidth1&quot;: &quot;75&quot;, "RequestMappingsPanelWidth1": "75",
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;, "RunOnceActivity.OpenProjectViewOnStart": "true",
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;, "RunOnceActivity.ShowReadmeOnStart": "true",
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;, "WebServerToolWindowFactoryState": "false",
&quot;jdk.selected.JAVA_MODULE&quot;: &quot;17&quot;, "jdk.selected.JAVA_MODULE": "17",
&quot;last_opened_file_path&quot;: &quot;D:/muyu/train_project/train-common/src/main/java/com/mobai&quot;, "last_opened_file_path": "D:/muyu/train_project/train-networking/src/main/java/com/mobai/events",
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;, "node.js.detected.package.eslint": "true",
&quot;node.js.detected.package.standard&quot;: &quot;true&quot;, "node.js.detected.package.standard": "true",
&quot;node.js.detected.package.stylelint&quot;: &quot;true&quot;, "node.js.detected.package.stylelint": "true",
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;, "node.js.detected.package.tslint": "true",
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;, "node.js.selected.package.eslint": "(autodetect)",
&quot;node.js.selected.package.standard&quot;: &quot;&quot;, "node.js.selected.package.standard": "",
&quot;node.js.selected.package.stylelint&quot;: &quot;&quot;, "node.js.selected.package.stylelint": "",
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;, "node.js.selected.package.tslint": "(autodetect)",
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;, "nodejs_package_manager_path": "npm",
&quot;project.structure.last.edited&quot;: &quot;模块&quot;, "project.structure.last.edited": "Project",
&quot;project.structure.proportion&quot;: &quot;0.15&quot;, "project.structure.proportion": "0.15",
&quot;project.structure.side.proportion&quot;: &quot;0.2&quot;, "project.structure.side.proportion": "0.2",
&quot;settings.editor.selected.configurable&quot;: &quot;vcs.Git&quot;, "settings.editor.selected.configurable": "File.Encoding",
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot; "vue.rearranger.settings.migration": "true"
}, },
&quot;keyToStringList&quot;: { "keyToStringList": {
&quot;ChangesTree.GroupingKeys&quot;: [ "ChangesTree.GroupingKeys": [
&quot;directory&quot;, "directory",
&quot;module&quot; "module"
] ]
} }
}</component> }]]></component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CreateClassDialog.RecentsKey"> <key name="CreateClassDialog.RecentsKey">
<recent name="com.mobai.domain.req" /> <recent name="com.mobai.domain.req" />
@ -286,10 +109,11 @@
<recent name="com.mobai.service" /> <recent name="com.mobai.service" />
</key> </key>
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="D:\muyu\train_project\train-networking\src\main\java\com\mobai\events" />
<recent name="D:\muyu\train_project\train-load\src\main\resources" />
<recent name="D:\muyu\train_project\train-common\src\main\java\com\mobai" /> <recent name="D:\muyu\train_project\train-common\src\main\java\com\mobai" />
<recent name="D:\muyu\train_project\train-load\src\main\java\com\mobai" /> <recent name="D:\muyu\train_project\train-load\src\main\java\com\mobai" />
<recent name="D:\muyu\train_project\Train_NetWorking\src\main\resources" /> <recent name="D:\muyu\train_project\Train_NetWorking\src\main\resources" />
<recent name="D:\muyu\train_project\Train_NetWorking\src\main\java\com" />
</key> </key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="D:\muyu\train_project" /> <recent name="D:\muyu\train_project" />
@ -306,7 +130,7 @@
</set> </set>
</option> </option>
</component> </component>
<component name="RunManager" selected="Spring Boot.TrainLoadApplication"> <component name="RunManager" selected="应用程序.SelectInstences">
<configuration default="true" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot"> <configuration default="true" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="SPRING_BOOT_MAIN_CLASS" /> <option name="SPRING_BOOT_MAIN_CLASS" />
<option name="UPDATE_ACTION_UPDATE_POLICY" value="UpdateClassesAndResources" /> <option name="UPDATE_ACTION_UPDATE_POLICY" value="UpdateClassesAndResources" />
@ -315,12 +139,38 @@
<option name="Make" enabled="true" /> <option name="Make" enabled="true" />
</method> </method>
</configuration> </configuration>
<configuration name="TrainLoadApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> <configuration name="CreateInstance" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.mobai.TrainLoadApplication" /> <option name="MAIN_CLASS_NAME" value="com.mobai.controller.CreateInstance" />
<module name="train-load" /> <module name="train-networking" />
<extension name="coverage"> <extension name="coverage">
<pattern> <pattern>
<option name="PATTERN" value="com.mobai.common.*" /> <option name="PATTERN" value="com.mobai.controller.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="Sample" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.mobai.controller.Sample" />
<module name="train-networking" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.mobai.controller.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="SelectInstences" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.mobai.controller.SelectInstences" />
<module name="train-networking" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.mobai.controller.*" />
<option name="ENABLED" value="true" /> <option name="ENABLED" value="true" />
</pattern> </pattern>
</extension> </extension>
@ -381,9 +231,11 @@
</configuration> </configuration>
<recent_temporary> <recent_temporary>
<list> <list>
<item itemvalue="应用程序.SelectInstences" />
<item itemvalue="应用程序.Sample" />
<item itemvalue="应用程序.CreateInstance" />
<item itemvalue="Spring Boot.TrainNetWorkingApplication" /> <item itemvalue="Spring Boot.TrainNetWorkingApplication" />
<item itemvalue="Spring Boot.TrainLoadApplication" /> <item itemvalue="Spring Boot.TrainLoadApplication" />
<item itemvalue="应用程序.TrainLoadApplication" />
</list> </list>
</recent_temporary> </recent_temporary>
</component> </component>
@ -402,7 +254,17 @@
<workItem from="1716774378386" duration="12152000" /> <workItem from="1716774378386" duration="12152000" />
<workItem from="1716800548020" duration="141000" /> <workItem from="1716800548020" duration="141000" />
<workItem from="1716800719338" duration="552000" /> <workItem from="1716800719338" duration="552000" />
<workItem from="1716801279625" duration="10753000" />
</task> </task>
<task id="LOCAL-00001" summary="车联网初始化基础系统">
<option name="closed" value="true" />
<created>1716801363036</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1716801363036</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@ -431,6 +293,10 @@
</map> </map>
</option> </option>
</component> </component>
<component name="VcsManagerConfiguration">
<MESSAGE value="车联网初始化基础系统" />
<option name="LAST_COMMIT_MESSAGE" value="车联网初始化基础系统" />
</component>
<component name="XSLT-Support.FileAssociations.UIState"> <component name="XSLT-Support.FileAssociations.UIState">
<expand /> <expand />
<select /> <select />

View File

@ -655,3 +655,83 @@ Caused by: java.lang.IllegalArgumentException: Property 'sqlSessionFactory' or '
2024-05-27 17:02:13.631 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:74 - 关闭线程池 2024-05-27 17:02:13.631 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:74 - 关闭线程池
2024-05-27 17:02:13.635 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated... 2024-05-27 17:02:13.635 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated...
2024-05-27 17:02:13.637 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed. 2024-05-27 17:02:13.637 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed.
2024-05-27 19:06:14.732 [main] INFO com.mobai.TrainNetWorkingApplication:55 - Starting TrainNetWorkingApplication using Java 17.0.10 on MoBai with PID 11428 (D:\muyu\train_project\train-networking\target\classes started by 墨白 in D:\muyu\train_project)
2024-05-27 19:06:14.737 [main] DEBUG com.mobai.TrainNetWorkingApplication:56 - Running with Spring Boot v2.7.15, Spring v5.3.29
2024-05-27 19:06:14.738 [main] INFO com.mobai.TrainNetWorkingApplication:631 - No active profile set, falling back to 1 default profile: "default"
2024-05-27 19:06:16.066 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$23bba126] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.107 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.109 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.113 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.138 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.201 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.207 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:06:16.266 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.mobai.vehicle.api.ClientAdmin' client interface
2024-05-27 19:06:16.638 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 81 (http)
2024-05-27 19:06:16.651 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-05-27 19:06:16.652 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.79]
2024-05-27 19:06:16.824 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-05-27 19:06:16.825 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:292 - Root WebApplicationContext: initialization completed in 1979 ms
2024-05-27 19:06:16.881 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting...
2024-05-27 19:06:26.877 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed.
2024-05-27 19:06:26.891 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:98 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db'
2024-05-27 19:06:28.469 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 81 (http) with context path ''
2024-05-27 19:06:28.481 [main] INFO com.mobai.TrainNetWorkingApplication:61 - Started TrainNetWorkingApplication in 14.652 seconds (JVM running for 16.147)
2024-05-27 19:06:28.485 [main] INFO com.mobai.vehicle.core.VehicleConfiguration:40 - 鍒濆寮<EE9D90>濮嬶紝鎵归噺浠庢暟鎹簱褰撲腑鍔犺浇鏁版嵁鍒板唴瀛樺綋涓<E7B68B>,姣忔[10]鏉<>
2024-05-27 19:06:28.634 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle
2024-05-27 19:06:28.657 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters:
2024-05-27 19:06:28.681 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1
2024-05-27 19:06:28.684 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ?
2024-05-27 19:06:28.685 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long)
2024-05-27 19:06:28.688 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - <== Total: 3
2024-05-27 19:06:28.737 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 鏋勫缓杞﹁締瀵硅薄: [VIN12345678912345]
2024-05-27 19:06:28.738 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 鏋勫缓杞﹁締瀵硅薄: [VIN123456789DIJE4]
2024-05-27 19:06:28.738 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 鏋勫缓杞﹁締瀵硅薄: [VIN12345678911111]
2024-05-27 19:06:28.738 [main] DEBUG com.mobai.vehicle.core.VehicleConfiguration:45 - 绗琜1]椤碉紝[3]鏉<>
2024-05-27 19:06:28.738 [main] INFO com.mobai.vehicle.core.VehicleConfiguration:50 - 鏁版嵁鍔犺浇瀹屾垚锛岃<E9949B>楁椂锛歿} MS
2024-05-27 19:09:37.366 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:67 - 鏁版嵁搴撳悓姝<E68293>
2024-05-27 19:09:37.379 [SpringApplicationShutdownHook] INFO com.mobai.service.impl.VechileServiceImpl:90 - 鍚屾鏁版嵁搴撳紑濮<E7B491>
2024-05-27 19:09:37.381 [SpringApplicationShutdownHook] INFO com.mobai.service.impl.VechileServiceImpl:112 - 鍚屾鏁版嵁搴撶粨鏉<E7B2A8> - 鑰楁椂锛歔1MS]锛屽悓姝ラ噺锛歔0杈哴锛屾垚鍔燂細[0杈哴锛屽け璐ワ細[0杈哴
2024-05-27 19:09:37.382 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:70 - 涓嬬嚎鎵<E59A8E>鏈夎溅杈<E6BA85>
2024-05-27 19:09:37.382 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:74 - 鍏抽棴绾跨▼姹<E296BC>
2024-05-27 19:09:37.383 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated...
2024-05-27 19:09:37.387 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed.
2024-05-27 19:09:58.829 [main] INFO com.mobai.TrainNetWorkingApplication:55 - Starting TrainNetWorkingApplication using Java 17.0.10 on MoBai with PID 22944 (D:\muyu\train_project\train-networking\target\classes started by 墨白 in D:\muyu\train_project)
2024-05-27 19:09:58.834 [main] DEBUG com.mobai.TrainNetWorkingApplication:56 - Running with Spring Boot v2.7.15, Spring v5.3.29
2024-05-27 19:09:58.836 [main] INFO com.mobai.TrainNetWorkingApplication:631 - No active profile set, falling back to 1 default profile: "default"
2024-05-27 19:10:00.329 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'com.dtflys.forest.springboot.ForestAutoConfiguration' of type [com.dtflys.forest.springboot.ForestAutoConfiguration$$EnhancerBySpringCGLIB$$3842a61f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.372 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestProperties' of type [com.dtflys.forest.config.SpringForestProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.375 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestObjectFactory' of type [com.dtflys.forest.reflection.SpringForestObjectFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.379 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestInterceptorFactory' of type [com.dtflys.forest.interceptor.SpringInterceptorFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.407 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forest-com.dtflys.forest.springboot.properties.ForestConfigurationProperties' of type [com.dtflys.forest.springboot.properties.ForestConfigurationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.478 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConfiguration' of type [com.dtflys.forest.config.ForestConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.485 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:376 - Bean 'forestConverterBeanListener' of type [com.dtflys.forest.spring.ConverterBeanListener] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2024-05-27 19:10:00.555 [main] INFO com.dtflys.forest.scanner.ClassPathClientScanner:159 - [Forest] Created Forest Client Bean with name 'clientAdmin' and Proxy of 'com.mobai.vehicle.api.ClientAdmin' client interface
2024-05-27 19:10:00.960 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat initialized with port(s): 81 (http)
2024-05-27 19:10:00.973 [main] INFO org.apache.catalina.core.StandardService:173 - Starting service [Tomcat]
2024-05-27 19:10:00.973 [main] INFO org.apache.catalina.core.StandardEngine:173 - Starting Servlet engine: [Apache Tomcat/9.0.79]
2024-05-27 19:10:01.167 [main] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/]:173 - Initializing Spring embedded WebApplicationContext
2024-05-27 19:10:01.168 [main] INFO o.s.b.w.s.c.ServletWebServerApplicationContext:292 - Root WebApplicationContext: initialization completed in 2207 ms
2024-05-27 19:10:01.231 [main] INFO com.zaxxer.hikari.HikariDataSource:110 - HikariPool-1 - Starting...
2024-05-27 19:10:11.059 [main] INFO com.zaxxer.hikari.HikariDataSource:123 - HikariPool-1 - Start completed.
2024-05-27 19:10:11.070 [main] INFO o.s.b.autoconfigure.h2.H2ConsoleAutoConfiguration:98 - H2 console available at '/h2-console'. Database available at 'jdbc:h2:file:~/vehicle/db'
2024-05-27 19:10:12.591 [main] INFO o.s.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat started on port(s): 81 (http) with context path ''
2024-05-27 19:10:12.604 [main] INFO com.mobai.TrainNetWorkingApplication:61 - Started TrainNetWorkingApplication in 14.755 seconds (JVM running for 16.731)
2024-05-27 19:10:12.609 [main] INFO com.mobai.vehicle.core.VehicleConfiguration:40 - 初始开始,批量从数据库当中加载数据到内存当中,每次[10]条
2024-05-27 19:10:12.722 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Preparing: SELECT COUNT(*) AS total FROM vehicle
2024-05-27 19:10:12.740 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - ==> Parameters:
2024-05-27 19:10:12.764 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage_mpCount:137 - <== Total: 1
2024-05-27 19:10:12.770 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - ==> Preparing: SELECT vin,remaining_battery,battery_level,total_mileage,create_time FROM vehicle LIMIT ?
2024-05-27 19:10:12.771 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - ==> Parameters: 10(Long)
2024-05-27 19:10:12.773 [main] DEBUG com.mobai.mapper.VehicleMapper.selectPage:137 - <== Total: 3
2024-05-27 19:10:12.826 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678912345]
2024-05-27 19:10:12.827 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN123456789DIJE4]
2024-05-27 19:10:12.827 [main] DEBUG com.mobai.service.impl.VehicleInstanceServiceImpl:60 - 构建车辆对象: [VIN12345678911111]
2024-05-27 19:10:12.827 [main] DEBUG com.mobai.vehicle.core.VehicleConfiguration:45 - 第[1]页,[3]条
2024-05-27 19:10:12.827 [main] INFO com.mobai.vehicle.core.VehicleConfiguration:50 - 数据加载完成耗时221 MS
2024-05-27 19:10:26.133 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:67 - 数据库同步
2024-05-27 19:10:26.138 [SpringApplicationShutdownHook] INFO com.mobai.service.impl.VechileServiceImpl:90 - 同步数据库开始
2024-05-27 19:10:26.142 [SpringApplicationShutdownHook] INFO com.mobai.service.impl.VechileServiceImpl:112 - 同步数据库结束 - 耗时:[1MS],同步量:[0辆],成功:[0辆],失败:[0辆]
2024-05-27 19:10:26.143 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:70 - 下线所有车辆
2024-05-27 19:10:26.144 [SpringApplicationShutdownHook] INFO com.mobai.vehicle.core.VehicleConfiguration:74 - 关闭线程池
2024-05-27 19:10:26.147 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:350 - HikariPool-1 - Shutdown initiated...
2024-05-27 19:10:26.151 [SpringApplicationShutdownHook] INFO com.zaxxer.hikari.HikariDataSource:352 - HikariPool-1 - Shutdown completed.

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Mon May 27 19:03:56 CST 2024
groupId=com.mobai
artifactId=train-common
version=1.0-SNAPSHOT

View File

@ -1,13 +0,0 @@
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\FluxLoginReq.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\model\TaskModel.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\MsgReq.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\resp\VehicleInstanceResp.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\VehicleInstanceListReq.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\model\PositionModel.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\model\MqttServerModel.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\CheckPositionReq.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\Vehicle.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\PositionRouteInfo.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\GearReq.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\resp\UnifiedTaskResp.java
D:\muyu\train_project\train-common\src\main\java\com\mobai\domain\req\VehicleCreateAddReq.java

View File

@ -36,7 +36,31 @@
<version>3.2.4</version> <version>3.2.4</version>
</dependency> </dependency>
<!-- rabbitMQ -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-amqp</artifactId>
<version>2.7.13</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<version>3.2.4</version>
</dependency>
<!-- 消息转换器 -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.9.10</version>
</dependency>
<dependency>
<groupId>org.springframework.amqp</groupId>
<artifactId>spring-rabbit</artifactId>
<version>2.4.13</version>
</dependency>
</dependencies> </dependencies>

View File

@ -0,0 +1,36 @@
package com.mobai.config;
import okhttp3.*;
import org.h2.mvstore.FreeSpaceBitSet;
import java.io.IOException;
/**
*
* @ClassName LoadCenter
* @Description
* @Author SaiSai.Liu
* @Date 2024/5/27 21:33
*/
public class LoadCenter {
public String getFluxInfo(){
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("http://fluxmq.muyu.icu/public/cluster")
.method("GET", body)
.addHeader("User-Agent", "Apifox/1.0.0 (https://apifox.com)")
.addHeader("Accesstoken", "")
.build();
try {
Response response = client.newCall(request).execute();
return response.message();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}

View File

@ -1,6 +1,16 @@
package com.mobai.mq.rabbitmq; package com.mobai.mq.rabbitmq;
import org.springframework.beans.factory.annotation.Autowired; import com.rabbitmq.client.Channel;
import org.springframework.amqp.core.ExchangeTypes;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.rabbit.annotation.Exchange;
import org.springframework.amqp.rabbit.annotation.Queue;
import org.springframework.amqp.rabbit.annotation.QueueBinding;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.boot.autoconfigure.amqp.RabbitProperties;
import org.springframework.stereotype.Component;
import java.io.IOException;
/** /**
* @ClassName Custom * @ClassName Custom
@ -8,8 +18,20 @@ import org.springframework.beans.factory.annotation.Autowired;
* @Author SaiSai.Liu * @Author SaiSai.Liu
* @Date 2024/5/26 15:25 * @Date 2024/5/26 15:25
*/ */
@Component
public class Custom { public class Custom {
// @Autowired
// private RabbitTemplate rabbitTemplate; @RabbitListener(bindings = @QueueBinding(value = @Queue(value = "send_sms_queue", autoDelete = "false"),
exchange = @Exchange(value = "null",type = ExchangeTypes.DIRECT)))
public void mqCustom(Object data, Message message, Channel channel){
System.out.println(data.toString());
try {
channel.basicAck(message.getMessageProperties().getDeliveryTag(),false);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
} }

View File

@ -0,0 +1,13 @@
server:
port: 8022
spring:
#给项目来个名字
application:
name: rabbitmq-consumer
#配置rabbitMq 服务器
rabbitmq:
host: 43.142.100.73
port: 5672
username: guest
password: guest

View File

@ -0,0 +1,5 @@
#Generated by Maven
#Mon May 27 19:04:00 CST 2024
groupId=com.mobai
artifactId=train-load
version=1.0-SNAPSHOT

View File

@ -0,0 +1,8 @@
com\mobai\domain\req\FluxLoginReq.class
com\mobai\service\FluxServiceImpl.class
com\mobai\controller\Sample.class
com\mobai\controller\FluxMqController.class
com\mobai\service\FluxService.class
com\mobai\mq\fluxmq\FluxMqInit.class
com\mobai\mq\rabbitmq\Custom.class
com\mobai\TrainLoadApplication.class

View File

@ -0,0 +1,8 @@
D:\muyu\train_project\train-load\src\main\java\com\mobai\service\FluxServiceImpl.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\mq\rabbitmq\Custom.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\controller\Sample.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\mq\fluxmq\FluxMqInit.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\service\FluxService.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\domain\req\FluxLoginReq.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\TrainLoadApplication.java
D:\muyu\train_project\train-load\src\main\java\com\mobai\controller\FluxMqController.java

Binary file not shown.

View File

@ -1,6 +1,8 @@
package com.mobai.common; package com.mobai.common;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable; import java.io.Serializable;
@ -10,6 +12,8 @@ import java.io.Serializable;
* @author ruoyi * @author ruoyi
*/ */
@Data @Data
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> implements Serializable { public class Result<T> implements Serializable {
/** /**
* *
@ -85,12 +89,25 @@ public class Result<T> implements Serializable {
private static <T> Result<T> restResult (T data, int code, String msg) { private static <T> Result<T> restResult (T data, int code, String msg) {
Result<T> apiResult = new Result<>(); Result<T> apiResult = new Result<>();
apiResult.setCode(code); apiResult.setCode(code);
apiResult.setData(data); apiResult.setData(data);
apiResult.setMsg(msg); apiResult.setMsg(msg);
return apiResult; return apiResult;
} }
public void setCode(int code) {
this.code = code;
}
public void setMsg(String msg) {
this.msg = msg;
}
public void setData(T data) {
this.data = data;
}
public static <T> Boolean isError (Result<T> ret) { public static <T> Boolean isError (Result<T> ret) {
return !isSuccess(ret); return !isSuccess(ret);
} }
@ -98,4 +115,16 @@ public class Result<T> implements Serializable {
public static <T> Boolean isSuccess (Result<T> ret) { public static <T> Boolean isSuccess (Result<T> ret) {
return Result.SUCCESS == ret.getCode(); return Result.SUCCESS == ret.getCode();
} }
public int getCode() {
return code;
}
public String getMsg() {
return msg;
}
public T getData() {
return data;
}
} }

View File

@ -1,6 +1,7 @@
package com.mobai.config; package com.mobai.config;
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler; import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
import lombok.extern.log4j.Log4j2;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.reflection.MetaObject; import org.apache.ibatis.reflection.MetaObject;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
@ -12,6 +13,7 @@ import java.util.Date;
* *
*/ */
@Slf4j @Slf4j
@Log4j2
@Component @Component
public class MyMetaObjectHandler implements MetaObjectHandler { public class MyMetaObjectHandler implements MetaObjectHandler {
@Override @Override

View File

@ -1,9 +1,9 @@
// This file is auto-generated, don't edit it. Thanks. // This file is auto-generated, don't edit it. Thanks.
package com.mobai.controller; package com.mobai.events;
import com.aliyun.tea.TeaException; import com.aliyun.tea.TeaException;
public class Sample { public class CreateInstance {
/** /**
* 使AK&SKClient * 使AK&SKClient
@ -25,7 +25,7 @@ public class Sample {
public static void main(String[] args_) throws Exception { public static void main(String[] args_) throws Exception {
java.util.List<String> args = java.util.Arrays.asList(args_); java.util.List<String> args = java.util.Arrays.asList(args_);
com.aliyun.ecs20140526.Client client = Sample.createClient(); com.aliyun.ecs20140526.Client client = CreateInstance.createClient();
com.aliyun.ecs20140526.models.RunInstancesRequest runInstancesRequest = new com.aliyun.ecs20140526.models.RunInstancesRequest() com.aliyun.ecs20140526.models.RunInstancesRequest runInstancesRequest = new com.aliyun.ecs20140526.models.RunInstancesRequest()
.setRegionId("cn-zhangjiakou") .setRegionId("cn-zhangjiakou")
.setLaunchTemplateName("basic_model") .setLaunchTemplateName("basic_model")

View File

@ -1,12 +1,21 @@
// This file is auto-generated, don't edit it. Thanks. // This file is auto-generated, don't edit it. Thanks.
package com.mobai.controller; package com.mobai.events;
import com.aliyun.tea.*;
public class Sample { import com.aliyun.ecs20140526.models.DescribeInstancesResponse;
import com.aliyun.ecs20140526.models.DescribeInstancesResponseBody;
import com.aliyun.tea.TeaException;
import lombok.extern.log4j.Log4j2;
import java.util.ArrayList;
import java.util.List;
@Log4j2
public class SelectInstences {
/** /**
* 使AK&SKClient * 使AK&SKClient
*
* @return Client * @return Client
* @throws Exception * @throws Exception
*/ */
@ -15,25 +24,39 @@ public class Sample {
// 建议使用更安全的 STS 方式更多鉴权访问方式请参见https://help.aliyun.com/document_detail/378657.html。 // 建议使用更安全的 STS 方式更多鉴权访问方式请参见https://help.aliyun.com/document_detail/378657.html。
com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config() com.aliyun.teaopenapi.models.Config config = new com.aliyun.teaopenapi.models.Config()
// 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_ID。 // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_ID。
.setAccessKeyId("LTAI5tKaz3hHJ8pkgF7iem8b") .setAccessKeyId("LTAI5t7vsLXtqTJKve7JipnX")
// 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_SECRET。 // 必填,请确保代码运行环境设置了环境变量 ALIBABA_CLOUD_ACCESS_KEY_SECRET。
.setAccessKeySecret("CApa5sl414bKC8GwD8uBtINuT26Ocj"); .setAccessKeySecret("AIyMaSTKQtsB1V5sVqlNAGbQzxgXnS");
// Endpoint 请参考 https://api.aliyun.com/product/Ecs // Endpoint 请参考 https://api.aliyun.com/product/Ecs
config.endpoint = "ecs.cn-zhangjiakou.aliyuncs.com"; config.endpoint = "ecs.cn-zhangjiakou.aliyuncs.com";
return new com.aliyun.ecs20140526.Client(config); return new com.aliyun.ecs20140526.Client(config);
} }
public static void main(String[] args_) throws Exception { public static void main(String[] args_) throws Exception {
java.util.List<String> args = java.util.Arrays.asList(args_); List<String> ips = new ArrayList<>();
com.aliyun.ecs20140526.Client client = Sample.createClient(); List<String> args = java.util.Arrays.asList(args_);
com.aliyun.ecs20140526.models.RunInstancesRequest runInstancesRequest = new com.aliyun.ecs20140526.models.RunInstancesRequest() com.aliyun.ecs20140526.Client client = SelectInstences.createClient();
.setRegionId("cn-zhangjiakou") com.aliyun.ecs20140526.models.DescribeInstancesRequest describeInstancesRequest = new com.aliyun.ecs20140526.models.DescribeInstancesRequest()
.setLaunchTemplateName("basic_model") // .setImageId("m-8vb8qnidv34yj3nbirhc")
.setLaunchTemplateId("lt-8vb71bkyjwcqmcd98ah4"); .setRegionId("cn-zhangjiakou");
com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions();
try { try {
// 复制代码运行请自行打印 API 的返回值 // 复制代码运行请自行打印 API 的返回值
client.runInstancesWithOptions(runInstancesRequest, runtime); DescribeInstancesResponse describeInstancesResponse = client.describeInstancesWithOptions(describeInstancesRequest, runtime);
DescribeInstancesResponseBody.DescribeInstancesResponseBodyInstances instances = describeInstancesResponse.getBody().getInstances();
List<DescribeInstancesResponseBody.DescribeInstancesResponseBodyInstancesInstance> instance =
instances.getInstance();
for (DescribeInstancesResponseBody.DescribeInstancesResponseBodyInstancesInstance inst : instance) {
List<String> ipAddress = inst
.getPublicIpAddress()
.getIpAddress();
if (ipAddress.isEmpty()){
continue;
}else {
ipAddress.forEach(ip -> ips.add(ip));
}
}
log.info("当前实例ip为{}", ips);
} catch (TeaException error) { } catch (TeaException error) {
// 此处仅做打印展示,请谨慎对待异常处理,在工程项目中切勿直接忽略异常。 // 此处仅做打印展示,请谨慎对待异常处理,在工程项目中切勿直接忽略异常。
// 错误 message // 错误 message
@ -47,9 +70,13 @@ public class Sample {
// 错误 message // 错误 message
System.out.println(error.getMessage()); System.out.println(error.getMessage());
// 诊断地址 // 诊断地址
// System.out.println(error.getData().get("Recommend")); if (error.getData() == null) {
System.out.println("error.getData()为空");
} else {
System.out.println(error.getData().get("Recommend"));
}
com.aliyun.teautil.Common.assertAsString(error.message); com.aliyun.teautil.Common.assertAsString(error.message);
} }
System.out.println("实例创建成功");
} }
} }

View File

@ -0,0 +1,3 @@
artifactId=train-networking
groupId=com.mobai
version=1.0.0

View File

@ -0,0 +1,71 @@
com\mobai\TrainNetWorkingApplication.class
com\mobai\vehicle\model\VehicleData.class
com\mobai\service\PositionRouteService.class
com\mobai\vehicle\VehicleInstance$VehicleInstanceBuilder.class
com\mobai\service\VehicleInstanceService.class
com\mobai\controller\VehicleInstanceController.class
com\mobai\domain\req\VehicleInstanceListReq$VehicleInstanceListReqBuilder.class
com\mobai\domain\resp\UnifiedTaskResp.class
com\mobai\mapper\VehicleMapper.class
com\mobai\common\SystemConstant.class
com\mobai\domain\req\MsgReq$MsgReqBuilder.class
com\mobai\domain\model\TaskModel$TaskModelBuilder.class
com\mobai\domain\req\MsgReq.class
com\mobai\domain\model\MqttServerModel.class
com\mobai\domain\req\CheckPositionReq.class
com\mobai\service\VehicleService.class
com\mobai\service\impl\PositionRouteServiceImpl.class
com\mobai\vehicle\model\properties\MqttProperties.class
com\mobai\domain\resp\VehicleInstanceResp.class
com\mobai\service\impl\VehicleInstanceServiceImpl.class
com\mobai\controller\IndexController.class
com\mobai\common\PageList.class
com\mobai\domain\req\VehicleCreateAddReq.class
com\mobai\controller\VehicleController.class
com\mobai\controller\VehiclePositionController.class
com\mobai\utils\MD5Util.class
com\mobai\utils\Convert.class
com\mobai\common\PageList$PageListBuilder.class
com\mobai\domain\resp\UnifiedTaskResp$UnifiedTaskRespBuilder.class
com\mobai\domain\resp\VehicleInstanceResp$VehicleInstanceRespBuilder.class
com\mobai\config\MyMetaObjectHandler.class
com\mobai\vehicle\core\LocalContainer.class
com\mobai\domain\model\PositionModel$PositionModelBuilder.class
com\mobai\service\VehicleUnifiedService.class
com\mobai\controller\CreateInstance.class
com\mobai\domain\model\TaskModel.class
com\mobai\vehicle\thread\VehicleThread.class
com\mobai\utils\ReflectUtils.class
com\mobai\common\pool\FixedThreadPool.class
com\mobai\domain\Vehicle$VehicleBuilder.class
com\mobai\config\ExceptionAdvice.class
com\mobai\domain\model\MqttServerModel$MqttServerModelBuilder.class
com\mobai\service\impl\VehicleUnifiedServiceImpl.class
com\mobai\common\pool\ScheduledThreadPool.class
com\mobai\vehicle\VehicleInstance.class
com\mobai\common\HttpStatus.class
com\mobai\domain\req\CheckPositionReq$CheckPositionReqBuilder.class
com\mobai\domain\req\VehicleInstanceListReq.class
com\mobai\vehicle\api\req\VehicleConnectionReq.class
com\mobai\domain\req\GearReq.class
com\mobai\config\MybatisPlusConfig.class
com\mobai\service\impl\VechileServiceImpl.class
com\mobai\vehicle\model\VehicleData$VehicleDataBuilder.class
com\mobai\domain\Vehicle.class
com\mobai\controller\VehicleUnifiedController.class
com\mobai\mapper\PositionRouteMapper.class
com\mobai\utils\VehicleUtils.class
com\mobai\controller\SelectInstences.class
com\mobai\domain\PositionRouteInfo.class
com\mobai\domain\req\VehicleCreateAddReq$VehicleCreateAddReqBuilder.class
com\mobai\common\Result.class
com\mobai\vehicle\core\VehicleConfiguration.class
com\mobai\utils\ConversionUtil.class
com\mobai\vehicle\api\req\VehicleConnectionReq$VehicleConnectionReqBuilder.class
com\mobai\vehicle\model\properties\MqttProperties$MqttPropertiesBuilder.class
com\mobai\domain\model\PositionModel.class
com\mobai\domain\req\GearReq$GearReqBuilder.class
com\mobai\vehicle\api\ClientAdmin.class
com\mobai\controller\VerifyController.class
com\mobai\utils\CalculateCheckDigit.class
com\mobai\domain\PositionRouteInfo$PositionRouteInfoBuilder.class

View File

@ -0,0 +1,54 @@
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\CreateInstance.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\Convert.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\mapper\PositionRouteMapper.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\pool\FixedThreadPool.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\PositionRouteInfo.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\IndexController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\mapper\VehicleMapper.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\resp\UnifiedTaskResp.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\VehicleInstance.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\VerifyController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\req\GearReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\model\VehicleData.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\SystemConstant.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\config\MyMetaObjectHandler.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\VehicleUtils.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\impl\VechileServiceImpl.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\VehicleInstanceController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\thread\VehicleThread.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\Result.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\impl\VehicleUnifiedServiceImpl.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\config\ExceptionAdvice.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\req\MsgReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\ReflectUtils.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\VehicleController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\PositionRouteService.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\core\LocalContainer.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\VehicleService.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\model\MqttServerModel.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\VehicleUnifiedController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\req\VehicleInstanceListReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\model\properties\MqttProperties.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\api\ClientAdmin.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\pool\ScheduledThreadPool.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\req\VehicleCreateAddReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\VehicleUnifiedService.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\model\TaskModel.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\VehicleInstanceService.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\api\req\VehicleConnectionReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\SelectInstences.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\resp\VehicleInstanceResp.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\TrainNetWorkingApplication.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\controller\VehiclePositionController.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\impl\VehicleInstanceServiceImpl.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\ConversionUtil.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\MD5Util.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\req\CheckPositionReq.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\utils\CalculateCheckDigit.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\model\PositionModel.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\config\MybatisPlusConfig.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\PageList.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\service\impl\PositionRouteServiceImpl.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\common\HttpStatus.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\domain\Vehicle.java
D:\muyu\train_project\train-networking\src\main\java\com\mobai\vehicle\core\VehicleConfiguration.java