|
@ -1026,7 +1026,18 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public JSONObject getDeviceStatusName() throws Exception { |
|
|
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 |
|
|
@Override |
|
|