feat:1.新增LMS 生箔缓存位管理。2.新增LMS 空辊缓存位管理。3.ACSToLMS称重完成上报接口。4.手持呼叫-上满下空。5.生箔任务反馈处理。
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author dsh
|
||||
* 2026/7/28
|
||||
*/
|
||||
@Getter
|
||||
public enum EmptyRollerPointTypeEnum {
|
||||
|
||||
RAW_FOIL_EMPTY_ROLLER_POINT("1","生箔空辊点"),
|
||||
CUT_EMPTY_ROLLER_POINT("2","分切空辊点"),
|
||||
RAW_FOIL_EMPTY_ROLLER_WAIT_POINT("3","生箔空辊等待点"),
|
||||
CUT_EMPTY_ROLLER_POINT_WAIT_POINT("4","分切空辊等待点");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
EmptyRollerPointTypeEnum(String code,String name){
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
@@ -17,4 +17,27 @@ public interface ErrorCodeConstants {
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_POINT_CODE_NOT_EXISTS = new ErrorCode(4, "点位设备不存在");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_MATERIAL_NOT_EXISTS = new ErrorCode(5, "物料不存在");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_ALREADY_ENDED = new ErrorCode(6, "不能对完成状态的工单强制结束");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_STATUS_NOT_START = new ErrorCode(7, "工单状态不为开始");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_POINT_CODE_NOT_USED = new ErrorCode(8, "生箔设备未启用");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_POINT_OCCUPIED = new ErrorCode(12, "点位:{}被占用");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_FAIL = new ErrorCode(15, "获取生箔工单存在未完成的任务异常");
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_NOT_SELECT = new ErrorCode(16, "生箔工单存在未完成的任务,请先完成任务");
|
||||
|
||||
// ========== 空辊缓存位 ==========
|
||||
ErrorCode RAW_FOIL_EMPTY_ROLLER_CASHE_POSITION_NOT_EXISTS = new ErrorCode(9, "空辊缓存位不存在");
|
||||
ErrorCode EMPTY_ROLLER_CASHE_POSITION_WAIT_POINT_NOT_EXISTS = new ErrorCode(10, "空辊缓存位找不到等待点");
|
||||
ErrorCode EMPTY_ROLLER_CASHE_POSITION_NOT_ALLOCATE = new ErrorCode(18, "未查询到有空辊缓存位");
|
||||
|
||||
// ========== 生箔母卷缓存位 ==========
|
||||
ErrorCode RAW_FOIL_CASHE_POSITION_NOT_EXISTS = new ErrorCode(11, "生箔母卷缓存位不存在");
|
||||
ErrorCode RAW_FOIL_CASHE_POSITION_NOT_SELECT = new ErrorCode(13, "未查询到有生箔母卷缓存位");
|
||||
ErrorCode RAW_FOIL_TRANSPORT_TASK_CREATE_FAIL = new ErrorCode(14, "创建搬运任务失败");
|
||||
|
||||
// =========== 生箔任务 ==========
|
||||
ErrorCode RAW_FOIL_TASK_ERROR = new ErrorCode(17, "任务不存在或查询失败");
|
||||
|
||||
// ========== 生箔称重完成入库 ==========
|
||||
ErrorCode RAW_FOIL_WORK_ORDER_STATUS_NOT_EXECUTION = new ErrorCode(19, "生箔工序工单状态不为执行中");
|
||||
ErrorCode RAW_FOIL_WEIGHING_POSITION_NOT_EXISTS = new ErrorCode(20, "称重位不存在");
|
||||
ErrorCode RAW_FOIL_CONTAINER_NOT_ON_WEIGHING_POSITION = new ErrorCode(21, "母卷不在称重位");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author dsh
|
||||
* 2026/7/30
|
||||
*/
|
||||
@Getter
|
||||
public enum LockStatusEnum {
|
||||
|
||||
IDLE("0","空闲"),
|
||||
OCCUPIED("1","占用");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
LockStatusEnum(String code,String name){
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author dsh
|
||||
* 2026/7/28
|
||||
*/
|
||||
@Getter
|
||||
public enum RawFoilCashePositionTypeEnum {
|
||||
|
||||
CONVENTIONAL("1","常规"),
|
||||
WEIGHING_BUFFER_POSITION("2","称重缓存位"),
|
||||
WEIGHING_POSITION("3","称重位");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
RawFoilCashePositionTypeEnum(String code,String name){
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
/**
|
||||
* 生箔工序任务回调处理器编码常量
|
||||
* @author dsh
|
||||
* 2026/7/28
|
||||
*/
|
||||
public interface RawFoilHandleCodeConstants {
|
||||
|
||||
String RAW_FOIL_TASK = "rawFoilTask";
|
||||
|
||||
/** 生箔入库任务(称重完成 → 常规缓存位)回调处理器编码 */
|
||||
String RAW_FOIL_INSTORAGE_TASK = "rawFoilInstorageTask";
|
||||
}
|
||||
@@ -11,9 +11,7 @@ import lombok.Getter;
|
||||
public enum RawFoilWorkOrderStatusEnum {
|
||||
|
||||
START("01","开始"),
|
||||
EMPTY_OUT("02","空轴搬出"),
|
||||
CONFIRM_VOLUME("03","确认下卷"),
|
||||
VOLUME_COMPLETE("04","下卷完成"),
|
||||
EXECUTION("02","执行中"),
|
||||
END("09","结束");
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
package cn.code.nl.module.lms.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* @author dsh
|
||||
* 2026/8/4
|
||||
*/
|
||||
@Getter
|
||||
public enum StockStatusEnum {
|
||||
|
||||
YES("1","有货"),
|
||||
NO("2","无货");
|
||||
|
||||
|
||||
private String code;
|
||||
|
||||
private String name;
|
||||
|
||||
StockStatusEnum(String code,String name){
|
||||
this.code = code;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user