Browse Source

add: 添加依赖

master
yanps 3 weeks ago
parent
commit
ec876854c3
  1. 22
      hd/nladmin-system/pom.xml
  2. 2
      hd/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/AgvServiceImpl.java

22
hd/nladmin-system/pom.xml

@ -19,15 +19,37 @@
</properties> </properties>
<dependencies> <dependencies>
<!-- ip地址解析--> <!-- ip地址解析-->
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.4</version>
<classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>net.sourceforge.jexcelapi</groupId>
<artifactId>jxl</artifactId>
<version>2.6.12</version>
</dependency>
<dependency> <dependency>
<groupId>net.dreamlu</groupId> <groupId>net.dreamlu</groupId>
<artifactId>mica-ip2region</artifactId> <artifactId>mica-ip2region</artifactId>
<version>2.5.6</version> <version>2.5.6</version>
</dependency> </dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.70</version>
</dependency>
<dependency> <dependency>
<groupId>org.openscada.utgard</groupId> <groupId>org.openscada.utgard</groupId>
<artifactId>org.openscada.opc.lib</artifactId> <artifactId>org.openscada.opc.lib</artifactId>
<version>1.5.0</version> <version>1.5.0</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.squareup.okhttp3</groupId> <groupId>com.squareup.okhttp3</groupId>

2
hd/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/AgvServiceImpl.java

@ -570,7 +570,7 @@ public class AgvServiceImpl implements AgvService {
.execute(); .execute();
log.info("查询agv状态:{}", result.body()); log.info("查询agv状态:{}", result.body());
System.out.println("查询agv状态数据:" + result.body()); System.out.println("查询agv状态数据:" + result.body());
if (200 == 200) { if (result.getStatus() == 200) {
com.alibaba.fastjson.JSONObject body = com.alibaba.fastjson.JSONObject.parseObject(result.body()); com.alibaba.fastjson.JSONObject body = com.alibaba.fastjson.JSONObject.parseObject(result.body());
com.alibaba.fastjson.JSONArray ja = body.getJSONArray("report"); com.alibaba.fastjson.JSONArray ja = body.getJSONArray("report");
com.alibaba.fastjson.JSONObject alarms = body.getJSONObject("alarms"); com.alibaba.fastjson.JSONObject alarms = body.getJSONObject("alarms");

Loading…
Cancel
Save