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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,8 @@ public class GZSendMaterialTask extends AbstractAcsTask {
|
||||
vd.getString("material_id"),
|
||||
vd.getString("vehicle_type"),
|
||||
vd.getString("vehicle_code"),
|
||||
TrueOrFalse.trueOrFalse(workOrder.getString("is_urgent")) ? 4 : 1,
|
||||
// TrueOrFalse.trueOrFalse(workOrder.getString("is_urgent")) ? 4 : 1,
|
||||
10,
|
||||
GZSendMaterialTask.class.getName(),
|
||||
form.getString("create_mode"),
|
||||
form.getString("request_param"),
|
||||
|
||||
@@ -2,7 +2,7 @@ spring:
|
||||
freemarker:
|
||||
check-template-location: false
|
||||
profiles:
|
||||
active: dev
|
||||
active: prod
|
||||
jackson:
|
||||
time-zone: GMT+8
|
||||
data:
|
||||
|
||||
Reference in New Issue
Block a user