Browse Source

first commit

master
lxc 2 years ago
parent
commit
d668b5a91a
  1. BIN
      .DS_Store
  2. BIN
      lmp_v0.3.9/.DS_Store
  3. 21
      lmp_v0.3.9/.classpath
  4. 8
      lmp_v0.3.9/.idea/.gitignore
  5. 6
      lmp_v0.3.9/.idea/ant.xml
  6. 22
      lmp_v0.3.9/.idea/artifacts/LMP_jar.xml
  7. 12
      lmp_v0.3.9/.idea/compiler.xml
  8. 10
      lmp_v0.3.9/.idea/libraries/lib.xml
  9. 9
      lmp_v0.3.9/.idea/misc.xml
  10. 8
      lmp_v0.3.9/.idea/modules.xml
  11. 28
      lmp_v0.3.9/.project
  12. 4
      lmp_v0.3.9/.settings/org.eclipse.core.resources.prefs
  13. 13
      lmp_v0.3.9/.settings/org.eclipse.jdt.core.prefs
  14. 173
      lmp_v0.3.9/LMP.iml
  15. 3
      lmp_v0.3.9/bin/META-INF/MANIFEST.MF
  16. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/BaseBean.class
  17. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotBaseBean.class
  18. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotMqttSensorInfo.class
  19. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotNodeInfo.class
  20. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotNodeInfoBO.class
  21. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotSensorInfo.class
  22. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/IotSensorInfoBO.class
  23. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/LockResult.class
  24. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/ModbusConfig.class
  25. BIN
      lmp_v0.3.9/bin/com/lpro/iot/bean/ReturnObj.class
  26. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Cache.class
  27. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Code$DEVICE_STATUS.class
  28. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Code$IOT_NODE_STATUS.class
  29. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Code$ResponseCode.class
  30. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Code.class
  31. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Config.class
  32. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Constants$CODE_TYPE.class
  33. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Constants$URL.class
  34. BIN
      lmp_v0.3.9/bin/com/lpro/iot/common/Constants.class
  35. BIN
      lmp_v0.3.9/bin/com/lpro/iot/dto/Brower2LpmDto.class
  36. BIN
      lmp_v0.3.9/bin/com/lpro/iot/mqtt/MessageCallback.class
  37. BIN
      lmp_v0.3.9/bin/com/lpro/iot/mqtt/MessageHandler.class
  38. BIN
      lmp_v0.3.9/bin/com/lpro/iot/mqtt/MqttService.class
  39. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/Iprotocal.class
  40. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/Protocal.class
  41. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/ProtocalFactory.class
  42. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalHj212.class
  43. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalMing.class
  44. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$1.class
  45. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$2.class
  46. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$3.class
  47. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$4.class
  48. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus.class
  49. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$1.class
  50. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$2.class
  51. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$3.class
  52. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp.class
  53. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYinTlink.class
  54. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw$1.class
  55. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw$TimerTaskThread.class
  56. BIN
      lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw.class
  57. BIN
      lmp_v0.3.9/bin/com/lpro/iot/server/MinaServer.class
  58. BIN
      lmp_v0.3.9/bin/com/lpro/iot/server/ServerIoHandler.class
  59. BIN
      lmp_v0.3.9/bin/com/lpro/iot/server/UdpSeverHandler.class
  60. BIN
      lmp_v0.3.9/bin/com/lpro/iot/service/MsgHandlerService.class
  61. BIN
      lmp_v0.3.9/bin/com/lpro/iot/service/impl/task/NodeHeartTask.class
  62. BIN
      lmp_v0.3.9/bin/com/lpro/iot/service/impl/task/SysHealthExam.class
  63. BIN
      lmp_v0.3.9/bin/com/lpro/iot/serviceImpl/MsgHandlerServiceImpl.class
  64. BIN
      lmp_v0.3.9/bin/com/lpro/iot/serviceImpl/TaskServiceImpl.class
  65. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/ArithHelper.class
  66. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Calculator.class
  67. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/CoordinateTransformUtil.class
  68. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/DateUtils.class
  69. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/HttpServiceSender.class
  70. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/MD5Util.class
  71. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/ObjectUtil.class
  72. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/PropertiesUtil.class
  73. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/SortList$1.class
  74. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/SortList.class
  75. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$ByteArrayConveter.class
  76. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$NodeDevice.class
  77. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$Obj.class
  78. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$binhexoct.class
  79. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$crc.class
  80. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$date.class
  81. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$file.class
  82. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$json.class
  83. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$map.class
  84. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$mina.class
  85. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$protocal.class
  86. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util$reflect.class
  87. BIN
      lmp_v0.3.9/bin/com/lpro/iot/utils/Util.class
  88. 41
      lmp_v0.3.9/bin/log4j.properties
  89. BIN
      lmp_v0.3.9/bin/test.class
  90. 123
      lmp_v0.3.9/build.xml
  91. BIN
      lmp_v0.3.9/build/LSM.jar
  92. 16
      lmp_v0.3.9/config.properties
  93. BIN
      lmp_v0.3.9/lib/.DS_Store
  94. BIN
      lmp_v0.3.9/lib/commons-codec-1.4.jar
  95. BIN
      lmp_v0.3.9/lib/commons-httpclient-3.0.jar
  96. BIN
      lmp_v0.3.9/lib/commons-lang-2.6.jar
  97. BIN
      lmp_v0.3.9/lib/commons-logging-1.1.1.jar
  98. BIN
      lmp_v0.3.9/lib/fastjson-1.2.56.jar
  99. BIN
      lmp_v0.3.9/lib/jackson-annotations-2.3.0.jar
  100. BIN
      lmp_v0.3.9/lib/jackson-core-2.3.0.jar

BIN
.DS_Store

Binary file not shown.

BIN
lmp_v0.3.9/.DS_Store

Binary file not shown.

21
lmp_v0.3.9/.classpath

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="lib/commons-codec-1.4.jar"/>
<classpathentry kind="lib" path="lib/commons-httpclient-3.0.jar" sourcepath="C:/Users/chenrj/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0-sources.jar"/>
<classpathentry kind="lib" path="lib/commons-lang-2.6.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.16.jar"/>
<classpathentry kind="lib" path="lib/mina-core-2.0.4.jar"/>
<classpathentry kind="lib" path="lib/slf4j-api-1.5.11.jar"/>
<classpathentry kind="lib" path="lib/slf4j-log4j12-1.5.11.jar"/>
<classpathentry kind="lib" path="lib/jackson-core-asl-1.9.13.jar"/>
<classpathentry kind="lib" path="lib/jackson-mapper-asl-1.9.13.jar"/>
<classpathentry kind="lib" path="lib/lombok.jar"/>
<classpathentry kind="lib" path="lib/mqtt-client-1.12.jar"/>
<classpathentry kind="lib" path="lib/org.eclipse.paho.client.mqttv3-1.2.0.jar"/>
<classpathentry kind="lib" path="lib/fastjson-1.2.56.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

8
lmp_v0.3.9/.idea/.gitignore

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/../../../../../../../../../../../../:\Users\xia\Documents\WeChat Files\wxid_4932589325712\FileStorage\File\2022-09\lmp_v0.3.9\lmp_v0.3.9\.idea/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

6
lmp_v0.3.9/.idea/ant.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AntConfiguration">
<buildFile url="file://$PROJECT_DIR$/build.xml" />
</component>
</project>

22
lmp_v0.3.9/.idea/artifacts/LMP_jar.xml

@ -0,0 +1,22 @@
<component name="ArtifactManager">
<artifact type="jar" name="LMP:jar">
<output-path>$PROJECT_DIR$/out/artifacts/LMP_jar</output-path>
<root id="archive" name="LMP.jar">
<element id="module-output" name="LMP" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/slf4j-api-1.5.11.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/commons-httpclient-3.0.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/log4j-1.2.16.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/lombok.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/mina-core-2.0.4.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/mqtt-client-1.12.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/commons-codec-1.4.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/org.eclipse.paho.client.mqttv3-1.2.0.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/commons-lang-2.6.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/fastjson-1.2.56.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/commons-logging-1.1.1.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/slf4j-log4j12-1.5.11.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/jackson-core-asl-1.9.13.jar" path-in-jar="/" />
<element id="extracted-dir" path="$PROJECT_DIR$/lib/jackson-mapper-asl-1.9.13.jar" path-in-jar="/" />
</root>
</artifact>
</component>

12
lmp_v0.3.9/.idea/compiler.xml

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="BUILD_PROCESS_ADDITIONAL_VM_OPTIONS" value="-Djps.track.ap.dependencies=false" />
<annotationProcessing>
<profile default="true" name="Default" enabled="true" />
</annotationProcessing>
<bytecodeTargetLevel>
<module name="LMP" target="8" />
</bytecodeTargetLevel>
</component>
</project>

10
lmp_v0.3.9/.idea/libraries/lib.xml

@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="file://$PROJECT_DIR$/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/lib" recursive="false" />
</library>
</component>

9
lmp_v0.3.9/.idea/misc.xml

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="ProjectType">
<option name="id" value="jpab" />
</component>
</project>

8
lmp_v0.3.9/.idea/modules.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/LMP.iml" filepath="$PROJECT_DIR$/LMP.iml" />
</modules>
</component>
</project>

28
lmp_v0.3.9/.project

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>LMP</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1664096443839</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

4
lmp_v0.3.9/.settings/org.eclipse.core.resources.prefs

@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/log4j.properties=UTF-8
encoding/<project>=UTF-8
encoding/config.properties=UTF-8

13
lmp_v0.3.9/.settings/org.eclipse.jdt.core.prefs

@ -0,0 +1,13 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.targetlspform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

173
lmp_v0.3.9/LMP.iml

@ -0,0 +1,173 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="EclipseModuleManager">
<libelement value="jar://$MODULE_DIR$/lib/commons-codec-1.4.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/commons-httpclient-3.0.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/commons-lang-2.6.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/commons-logging-1.1.1.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/log4j-1.2.16.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/mina-core-2.0.4.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/slf4j-api-1.5.11.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/slf4j-log4j12-1.5.11.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/jackson-core-asl-1.9.13.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/jackson-mapper-asl-1.9.13.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/lombok.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/mqtt-client-1.12.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/org.eclipse.paho.client.mqttv3-1.2.0.jar!/" />
<libelement value="jar://$MODULE_DIR$/lib/fastjson-1.2.56.jar!/" />
<src_description expected_position="0">
<src_folder value="file://$MODULE_DIR$/src" expected_position="0" />
<src_folder value="file://$MODULE_DIR$/test" expected_position="1" />
</src_description>
</component>
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/bin" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="commons-codec-1.4.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/commons-codec-1.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="commons-httpclient-3.0.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/commons-httpclient-3.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://C:/Users/chenrj/.m2/repository/commons-httpclient/commons-httpclient/3.0/commons-httpclient-3.0-sources.jar" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="commons-lang-2.6.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/commons-lang-2.6.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="commons-logging-1.1.1.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/commons-logging-1.1.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="log4j-1.2.16.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/log4j-1.2.16.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="mina-core-2.0.4.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/mina-core-2.0.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="slf4j-api-1.5.11.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/slf4j-api-1.5.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="slf4j-log4j12-1.5.11.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/slf4j-log4j12-1.5.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="jackson-core-asl-1.9.13.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/jackson-core-asl-1.9.13.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="jackson-mapper-asl-1.9.13.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/jackson-mapper-asl-1.9.13.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="lombok.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/lombok.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="mqtt-client-1.12.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/mqtt-client-1.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="org.eclipse.paho.client.mqttv3-1.2.0.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/org.eclipse.paho.client.mqttv3-1.2.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="fastjson-1.2.56.jar">
<CLASSES>
<root url="jar://$MODULE_DIR$/lib/fastjson-1.2.56.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$MODULE_DIR$/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$MODULE_DIR$/lib" recursive="false" />
</library>
</orderEntry>
<orderEntry type="library" exported="" scope="PROVIDED" name="Tomcat 9.0.7" level="application_server_libraries" />
</component>
</module>

3
lmp_v0.3.9/bin/META-INF/MANIFEST.MF

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: com.lpro.iot.server.MinaServer

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/BaseBean.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotBaseBean.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotMqttSensorInfo.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotNodeInfo.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotNodeInfoBO.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotSensorInfo.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/IotSensorInfoBO.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/LockResult.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/ModbusConfig.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/bean/ReturnObj.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Cache.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Code$DEVICE_STATUS.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Code$IOT_NODE_STATUS.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Code$ResponseCode.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Code.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Config.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Constants$CODE_TYPE.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Constants$URL.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/common/Constants.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/dto/Brower2LpmDto.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/mqtt/MessageCallback.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/mqtt/MessageHandler.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/mqtt/MqttService.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/Iprotocal.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/Protocal.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/ProtocalFactory.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalHj212.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalMing.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$1.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$2.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$3.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus$4.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbus.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$1.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$2.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp$3.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalModbusTcp.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYinTlink.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw$1.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw$TimerTaskThread.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/protocal/impl/ProtocalYw.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/server/MinaServer.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/server/ServerIoHandler.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/server/UdpSeverHandler.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/service/MsgHandlerService.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/service/impl/task/NodeHeartTask.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/service/impl/task/SysHealthExam.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/serviceImpl/MsgHandlerServiceImpl.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/serviceImpl/TaskServiceImpl.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/ArithHelper.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Calculator.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/CoordinateTransformUtil.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/DateUtils.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/HttpServiceSender.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/MD5Util.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/ObjectUtil.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/PropertiesUtil.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/SortList$1.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/SortList.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$ByteArrayConveter.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$NodeDevice.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$Obj.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$binhexoct.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$crc.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$date.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$file.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$json.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$map.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$mina.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$protocal.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util$reflect.class

Binary file not shown.

BIN
lmp_v0.3.9/bin/com/lpro/iot/utils/Util.class

Binary file not shown.

41
lmp_v0.3.9/bin/log4j.properties

@ -0,0 +1,41 @@
#############################################################################
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#############################################################################
log4j.rootLogger=INFO,CONSOLE,R
log4j.additivity.org.apache=true
#全局的日志级别(打印sql必须要该属性)
log4j.appender.Threshold=INFO
#ConsoleAppender
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.Target=System.out
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%d %-5p [%t] -%l - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.Threshold=DEBUG
log4j.appender.R.File=/log/lpm/${lpmKey}/${lpmKey}.log
log4j.appender.R.MaxFileSize=2048KB
log4j.appender.R.Append=true
log4j.appender.R.MaxBackupIndex=20
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d %p [%c] - <%m>%n

BIN
lmp_v0.3.9/bin/test.class

Binary file not shown.

123
lmp_v0.3.9/build.xml

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--project 用于定义一个ant工程,其中的三项name、default、basedir缺一不可。
作用分别为:定义工程名、制定默认执行的任务、以及工程基础的路径型(它是计算其它路径的基础,一般情况下使用.即在java工程根目录即可)-->
<project name="LSM" default="compile" basedir=".">
<!--描述,个人觉得就是一提示作用,没什么实际用途-->
<description>LSM</description>
<!--定义源文件路径,其中的value换成location也行,使用value的时候,${src}得到的就是src这个值,如果使用location,得到的是src这个目录的绝对路径-->
<property name="src" value="src" />
<property name="classes" value="bin/classes" />
<!-- 生成在此目录中 -->
<property name="dist.dir" value="./build" />
<!--构造打包时Class-Path需要的路径 -->
<!--pathconvert用于对目录进行组合 property即这个组合的名字,pathsep作用是各个文件之间的分隔符,
如果不写,在windows平台默认是分号。但时在MANIFEST.MF这个文件中,各个jar包之间要用空格区分,
因此。这里就写成空格了
-->
<pathconvert property="lib" pathsep=" ">
<!--mapper,对路径组合方式进行控制-->
<mapper>
<!--chainedmapper 作用是联合多个mapper-->
<chainedmapper>
<!--过滤文件,将路径去掉,只保留文件名-->
<flattenmapper />
<!--过滤+转换器,将所有的文件名前面都加上一个lib,我们知道lib目录下面有jar包,
lib/*的作用其实是将jar包名与路径进行组合形成如:lib/google.jar这样的相对路径
-->
<globmapper from="*" to="*" />
</chainedmapper>
</mapper>
<!--按照mapper定义的格式组合lib目录下面的所有jar文件,形成诸如lib/jar1.jar lib/jar2.jar的字符串-->
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</pathconvert>
<!--组合各个路径,构成MANIFEST.MF文件中Class-Path所需的字符串-->
<property name="libs" value="${lib}" />
<!--打印一下刚才构造好的字符串,看看是否符合要求-->
<echo>libs ${libs}</echo>
<!-- 构造打包时Class-Path需要的路径 结束-->
<!--创建任务init,负责初始化一些条件-->
<target name="init">
<!-- 创建存放编译后的class的目录
mkdir可以创建多级目录
-->
<mkdir dir="${classes}" />
</target>
<!--创建编译任务,名字是compile,depends指定了comiple任务依赖init任务-->
<target name="compile" depends="init" description="comile target">
<!--javac,编译,对应java中的javac命令。
其中srcdir定义源文件路径 destdir定义编译后文件路径,
includeantruntime作用是指定编译任务是否包含ant的classpath,可有可无,不影响编译,
但不写可能会出现警告,为了眼不见心不烦,加上吧-->
<javac srcdir="${src}" destdir="${classes}" includeantruntime="true">
<!-- classpath 定义编译需要的claspath -->
<classpath>
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
<copy todir="${classes}">
<fileset dir="${src}">
<include name="**/*.properties"/>
<include name="**/*.xml"/>
</fileset>
</copy>
</target>
<!-- 创建时间戳 -->
<tstamp />
<!--定义jarfilename,准备进行打包操作。其中ant.project.name是ant默认的一个变量,值为最上面定义的project的name
${DSTAMP}为日期,格式为20111123;${TSTAMP}为时间,格式为2256,表示22点56分。
-->
<property name="jarfilename" value="./build/${ant.project.name}.jar" />
<!--打包开始,名字为jar,依赖任务为compile-->
<target name="jar" depends="compile" description="make jar file">
<!--jar操作,jarfile指定jar包存放路径,basedir为编译后的class的目录-->
<jar jarfile="${jarfilename}" basedir="${classes}">
<!--为jar包指定manifest,当然,如果jar包不需要打成runnable的形式,manifest可以不要-->
<manifest>
<!--指定main-class-->
<attribute name="Main-Class" value="com.lexing.lsm.server.MinaServer" />
<!--指定Class-Path-->
<attribute name="Class-Path" value="." />
</manifest>
<fileset dir="bin" />
<zipfileset excludes="META-INF/*.SF" src="./lib/commons-codec-1.4.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/commons-httpclient-3.0.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/commons-lang-2.6.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/commons-logging-1.1.1.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/jackson-core-asl-1.9.13.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/jackson-mapper-asl-1.9.13.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/log4j-1.2.16.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/mina-core-2.0.4.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/slf4j-api-1.5.11.jar" />
<zipfileset excludes="META-INF/*.SF" src="./lib/slf4j-log4j12-1.5.11.jar" />
</jar>
</target>
<!--运行一下jar包,试试看效果-->
<target name="run" depends="jar">
<!--其实这里就是运行jar命令,注意fork一定加上,不然不起作用-->
<java jar="${jarfilename}" fork="true">
</java>
</target>
<!-- 清理 -->
<target name="clean">
<!-- 可以以递归的方式删除目录 -->
<delete dir="${classes}" />
<delete dir="." includes="${ant.project.name}*.jar" />
</target>
</project>

BIN
lmp_v0.3.9/build/LSM.jar

Binary file not shown.

16
lmp_v0.3.9/config.properties

@ -0,0 +1,16 @@
# USER_KEY
iot.userKey=426aad8a150a4d85a8fa7221085edca3
#TCP SERVER PORT
iot.port=50001
iot.url=http://127.0.0.1:8080/lpro
iot.lpm.key=qw3erfds3c4qq0856bf9b63f99529f
#MQTT
iot.mqtt.host=tcp://127.0.0.1:1883
iot.mqtt.userName=iot2yun
iot.mqtt.password=iot2yun
#UDP-----------
iot.udp.switch=false
iot.udp.port=8000

BIN
lmp_v0.3.9/lib/.DS_Store

Binary file not shown.

BIN
lmp_v0.3.9/lib/commons-codec-1.4.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/commons-httpclient-3.0.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/commons-lang-2.6.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/commons-logging-1.1.1.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/fastjson-1.2.56.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/jackson-annotations-2.3.0.jar

Binary file not shown.

BIN
lmp_v0.3.9/lib/jackson-core-2.3.0.jar

Binary file not shown.

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save