opt:优化结构

This commit is contained in:
zhangzq
2026-04-23 20:04:18 +08:00
parent 56dc422053
commit 3d01a08969
44 changed files with 8 additions and 7 deletions

View File

@@ -47,7 +47,7 @@ import java.util.concurrent.locks.ReentrantLock;
import java.util.stream.Collectors;
/**
* 输送线工位-带扫码称重
* 出入库输送线工位-带扫码称重
*/
@Slf4j
@Data
@@ -381,7 +381,7 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
}
}
//申请入库指令异常位指令
//申请入库指令异常位指令指令下发
if (this.mode == 2 && this.move > 0 && !this.requireSuccess) {
instruction_require();
}
@@ -548,7 +548,7 @@ public class ConveyorWithScannerWeightDeviceDriver extends AbstractOpcDeviceDriv
param.put("weight", this.weight);
}
param.put("type", type);
HttpResponse httpResponse = acsToWmsService.applyTwo(param);
HttpResponse httpResponse = acsToWmsService.c(param);
if (ObjectUtil.isNotEmpty(httpResponse)) {
JSONObject resp = JSONObject.parseObject(httpResponse.body());
if (resp != null && resp.getIntValue("status") == 200) {

View File

@@ -319,7 +319,7 @@ public class UnBoxLableConveyorDeviceDriver extends AbstractOpcDeviceDriver
this.requireTime = currentTimeMillis;
JSONObject param = new JSONObject();
param.put("device_code", this.currentDeviceCode);
param.put("material_barcode", vehicleCode);
param.put("vehicle_code", vehicleCode);
param.put("task", this.task);
String response = acsToWmsService.getIsUncap(param);
JSONObject jo = JSON.parseObject(response);

View File

@@ -16,11 +16,11 @@ public enum StorageTypeEnum {
ERROR("4", "异常处理位"),
BOX_IN("5", "木箱入库"),
BOX_IN("7", "木箱装箱开盒盖"),
BOX_RETURN("6", "退货入库"),
BOX_RETURN_HJ("7", "退货异常申请行架任务"),
// 这个枚举字段需要跟上位统一
BOX_RETURN_HJ("9", "退货异常申请行架对接位至NG位"),
PACK_ERROR("8", "装箱异常申请任务");
/**