fix: 干燥区送料任务优先级默认为10,取消货位信息功能测试优化
This commit is contained in:
@@ -193,8 +193,8 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
|
||||
break;
|
||||
case 3:
|
||||
//载具解绑
|
||||
if(!requireSucess && task != 0){
|
||||
System.out.println("触发载具解绑" + task + mode + device_code);
|
||||
if(!requireSucess){
|
||||
log.debug("触发载具解绑:device_code= {}",device_code);
|
||||
this.vehicleUnbind();
|
||||
}
|
||||
case 5:
|
||||
@@ -317,9 +317,9 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
|
||||
if (result.getStatus() == HttpStatus.OK.value()) {
|
||||
JSONObject jsonObject = JSONObject.parseObject(result.body());
|
||||
if (ObjectUtil.isNotEmpty(jsonObject) && "200".equals(jsonObject.getString("status"))) {
|
||||
// Map<String, Object> map = new LinkedHashMap<>();
|
||||
// map.put("to_command",5);
|
||||
this.writing(this.mode);
|
||||
Map<String, Object> map = new LinkedHashMap<>();
|
||||
map.put("to_command",30);
|
||||
this.writing(map);
|
||||
this.setRequireSucess(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user