|
@ -158,6 +158,11 @@ public class FoldDiscSiteDeviceDriver extends AbstractOpcDeviceDriver implements |
|
|
param.put("device_code", this.device_code); |
|
|
param.put("device_code", this.device_code); |
|
|
param.put("is_have", this.number == 0 ? 0 : 1); |
|
|
param.put("is_have", this.number == 0 ? 0 : 1); |
|
|
this.shipDeviceUpdate(param); |
|
|
this.shipDeviceUpdate(param); |
|
|
|
|
|
} else if (move==1) { |
|
|
|
|
|
JSONObject param = new JSONObject(); |
|
|
|
|
|
param.put("device_code", this.device_code); |
|
|
|
|
|
param.put("is_have",move); |
|
|
|
|
|
this.shipDeviceUpdate(param); |
|
|
} else { |
|
|
} else { |
|
|
this.requireSucess = true; |
|
|
this.requireSucess = true; |
|
|
} |
|
|
} |
|
|