fix 去除双向认证 add agv设备监控

This commit is contained in:
张江玮
2023-08-14 08:41:35 +08:00
parent ed84907a44
commit 9e6ebe8613
2 changed files with 17 additions and 6 deletions

View File

@@ -1026,7 +1026,18 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
@Override
public JSONObject getDeviceStatusName() throws Exception {
return null;
JSONObject jo = new JSONObject();
jo.put("device_name", this.getDevice().getDevice_name());
jo.put("x", this.x);
jo.put("y", this.y);
jo.put("angle", this.angle);
jo.put("electric_qty", this.electric_qty);
jo.put("status", this.status);
jo.put("error", this.error);
jo.put("error_message", this.error_message);
jo.put("device_status", this.device_status);
jo.put("message", this.message);
return jo;
}
@Override

View File

@@ -11,11 +11,11 @@ server:
key-store-password: 123456
key-store-type: PKCS12
key-alias: server
trust-store: classpath:server.p12
trust-store-password: 123456
trust-store-type: JKS
trust-store-provider: SUN
client-auth: need
# trust-store: classpath:server.p12
# trust-store-password: 123456
# trust-store-type: JKS
# trust-store-provider: SUN
# client-auth: need
#配置数据源
spring:
datasource: