package com.mes.common.config;
|
|
import java.util.Arrays;
|
import java.util.List;
|
|
/**
|
* @Author : zhoush
|
* @Date: 2024/4/24 10:33
|
* @Description:
|
*/
|
public class Const {
|
//默认密码
|
public static final String DEFULT_PASSWORD = "123456";
|
//默认角色
|
public static final Long DEFULT_ROLE = 1L;
|
|
/**
|
* 磨边清洗前
|
*/
|
/**
|
* A09出片目标位置 d02卧转立 2001
|
* A10出片目标位置 d05卧转立 2002
|
*/
|
public static final Integer OUT_TARGET_POSITION_ZERO = 0;
|
public static final Integer A09_OUT_TARGET_POSITION = 2001;
|
public static final Integer A10_OUT_TARGET_POSITION = 2002;
|
|
|
/**
|
* A09出片目标位置 d02卧转立 钢化出片 3001
|
* A10出片目标位置 d05卧转立 人工出片 3002
|
*/
|
// public static final Integer TEMPERING_OUT_TARGET_POSITION = 3001;
|
// public static final Integer ARTIFICIAL_OUT_TARGET_POSITION = 3002;
|
// public static final List<Integer> OUT_TARGET_POSITION_ALL = Arrays.asList(3001, 3002);
|
|
/**
|
* 义乌磨边线
|
* A09出片目标位置 d02卧转立 钢化出片 930
|
* A10出片目标位置 d05卧转立 人工出片 931
|
*/
|
public static final Integer TEMPERING_OUT_TARGET_POSITION = 930;
|
public static final Integer ARTIFICIAL_OUT_TARGET_POSITION = 931;
|
public static final List<Integer> OUT_TARGET_POSITION_ALL = Arrays.asList(930, 931);
|
|
/**
|
* 卧式理片笼详情表玻璃状态
|
* 识别后成功状态0
|
* 识别后成功进笼的状态100
|
* 出片任务101
|
* 人工下片102
|
* 出片中103
|
* 调度中104
|
* 破损8
|
* 拿走9
|
*/
|
public static final Integer GLASS_STATE_NEW = 0;
|
public static final Integer GLASS_STATE_IN = 100;
|
public static final Integer GLASS_STATE_OUT = 101;
|
public static final Integer GLASS_STATE_ARTIFICIAL = 102;
|
public static final Integer GLASS_STATE_OUT_ING = 103;
|
public static final Integer GLASS_STATE_SCHEDULE_ING = 104;
|
public static final Integer GLASS_STATE_DAMAGE = 8;
|
public static final Integer GLASS_STATE_TAKE = 9;
|
public static final List<Integer> GLASS_STATE_DAMAGE_TAKE = Arrays.asList(8, 9);
|
public static final List<Integer> GLASS_STATE_IN_ALL = Arrays.asList(100, 102, 103, 104);
|
public static final List<Integer> GLASS_STATE_IN_ALL_ZERO = Arrays.asList(0, 100, 102, 103, 104);
|
|
/**
|
* 卧离任务类型
|
* 空任务 0
|
* 进片任务 1
|
* 出片任务 2
|
* 直通任务 3
|
* 进行中 4
|
* 结束 5
|
* 其他 6
|
*/
|
public static final Integer GLASS_CACHE_TYPE_EMPTY = 0;
|
public static final Integer GLASS_CACHE_TYPE_IN = 1;
|
public static final Integer GLASS_CACHE_TYPE_OUT = 2;
|
public static final Integer GLASS_CACHE_TYPE_THROUGH = 3;
|
public static final Integer GLASS_CACHE_TYPE_RUNNING = 4;
|
public static final Integer GLASS_CACHE_TYPE_FINISH = 5;
|
public static final Integer GLASS_CACHE_TYPE_OTHER = 6;
|
public static final List<Integer> GLASS_CACHE_TYPE_OUT_ALL = Arrays.asList(2, 3);
|
public static final List<Integer> GLASS_CACHE_TYPE_IN_ALL = Arrays.asList(1, 3);
|
|
/**
|
* 磨边任务玻璃状态
|
* 进片任务1
|
* 出片任务2
|
*/
|
public static final Integer EDG_GLASS_BEFORE = 0;
|
public static final Integer EDG_GLASS_START = 1;
|
public static final Integer EDG_GLASS_SUCCESS = 2;
|
|
/**
|
* 大理片笼状态
|
* 1单机自动状态
|
* 2联机自动状态
|
* 3手动状态
|
*/
|
public static final Integer BIG_STORAGE_STAND_ALONE = 1;
|
public static final Integer BIG_STORAGE_ONLINE = 2;
|
public static final Integer BIG_STORAGE_MT = 3;
|
|
/**
|
* 大理片笼任务类型
|
* 1、钢化前进片
|
* 2、钢化前出片
|
* 3、钢化后进片
|
* 4、钢化后出片
|
*/
|
public static final Integer BIG_STORAGE_BEFORE_IN = 1;
|
public static final Integer BIG_STORAGE_BEFORE_OUT = 2;
|
public static final Integer BIG_STORAGE_BEFORE_DISPATCH = 3;
|
public static final Integer BIG_STORAGE_AFTER_IN = 4;
|
public static final Integer BIG_STORAGE_AFTER_OUT = 5;
|
public static final Integer BIG_STORAGE_AFTER_DISPATCH = 6;
|
|
/**
|
* 大理片笼请求
|
* 0 大理片笼无请求
|
* 1 大理片笼进片请求
|
*/
|
public static final String BIG_STORAGE_REQUEST = "0";
|
public static final String BIG_STORAGE_REQUEST_IN = "1";
|
|
/**
|
* 卧转立进片请求
|
* 1 任务生成
|
* 2 卧转立进片完成
|
* 3 大车进片完成
|
* 4 大理片笼进片完成
|
* 8 大理片笼进片破损
|
* 9 大理片笼进片拿走
|
*/
|
public static final Integer BIG_STORAGE_IN_NEW = 1;
|
public static final Integer BIG_STORAGE_IN_UP = 2;
|
public static final Integer BIG_STORAGE_IN_CAR = 3;
|
public static final Integer BIG_STORAGE_IN_SLOT = 4;
|
// public static final Integer BIG_STORAGE_IN_DAMAGE = 8;
|
// public static final Integer BIG_STORAGE_IN_ERROR = 9;
|
public static final List<Integer> BIG_STORAGE_IN_UP_ALL = Arrays.asList(1, 2);
|
/**
|
* 卧转立出片请求
|
* 1 任务生成
|
* 2 玻璃进大车完成
|
* 3 大车出片完成
|
* 8 大理片笼进片破损
|
* 9 大理片笼进片拿走
|
*/
|
public static final Integer BIG_STORAGE_OUT_NEW = 1;
|
public static final Integer BIG_STORAGE_OUT_CAR = 2;
|
public static final Integer BIG_STORAGE_OUT_SUCCESS = 3;
|
// public static final Integer BIG_STORAGE_OUT_DAMAGE = 8;
|
// public static final Integer BIG_STORAGE_OUT_ERROR = 9;
|
public static final List<Integer> BIG_STORAGE_OUT_ALL = Arrays.asList(2, 3);
|
|
/**
|
* 卧转立出片请求
|
* 1 上车等待
|
* 2 上车启动
|
*/
|
public static final Integer BIG_STORAGE_IN_WAIT = 1;
|
public static final Integer BIG_STORAGE_IN_RUN = 2;
|
|
/**
|
* 钢化小片表
|
* -1 生成任务
|
* 0 出片完成
|
* 1 摆片完成
|
* 2 进炉完成
|
* 3 钢化完成
|
* 4 出片完成
|
* 8 破损
|
* 9 拿走
|
*/
|
|
public static final Integer TEMPERING_NEW = -1;
|
public static final Integer TEMPERING_OUT = 0;
|
public static final Integer TEMPERING_DROP = 1;
|
public static final Integer TEMPERING_START = 2;
|
public static final Integer TEMPERING_SUCCESS = 3;
|
public static final Integer TEMPERING_END = 4;
|
public static final Integer TEMPERING_PAUSE = 5;
|
public static final Integer TEMPERING_DAMAGE = 8;
|
public static final Integer TEMPERING_TAKE = 9;
|
|
/**
|
* 下片
|
*/
|
/**
|
* 执行线路格子信息
|
*/
|
public static final List<Integer> G06_WORK_STATION = Arrays.asList(1, 2, 3);
|
public static final List<Integer> G11_WORK_STATION = Arrays.asList(4, 5, 6);
|
public static final int G13_WORK_STATION = 7;
|
public static final List<Integer> WORK_STATION_ALL = Arrays.asList(1, 2, 3, 4, 5, 6, 7);
|
|
/**
|
* 启用 1
|
* 禁用 0
|
*/
|
public static final Integer SLOT_ON = 1;
|
public static final Integer SLOT_OFF = 0;
|
|
/**
|
* 下片任务玻璃状态
|
* 生成任务0
|
* 出片任务2
|
*/
|
public static final Integer UNLOAD_GLASS_CREATE = 0;
|
public static final Integer UNLOAD_GLASS_OUT = 1;
|
public static final Integer UNLOAD_GLASS_DOWN = 2;
|
|
|
/**
|
* 原片仓储任务类型
|
* 进片任务1
|
* 出片任务2
|
* 调度任务3
|
* 进片请求4
|
* 出片请求5
|
*/
|
public static final Integer RAW_GLASS_TASK_TYPE_IN = 1;
|
public static final Integer RAW_GLASS_TASK_TYPE_OUT = 2;
|
public static final Integer RAW_GLASS_TASK_TYPE_DISPATCH = 3;
|
public static final Integer RAW_GLASS_TASK_TYPE_IN_REQUEST = 4;
|
public static final Integer RAW_GLASS_TASK_TYPE_OUT_REQUEST = 5;
|
|
/**
|
* 原片仓储任务状态
|
* 新建 0
|
* 运行中 1
|
* 已完成2
|
*/
|
public static final Integer ENGINEERING_NEW = 0;
|
public static final Integer ENGINEERING_RUNNING = 1;
|
public static final Integer ENGINEERING_SUCCESS = 2;
|
|
/**
|
* 原片仓储任务类型
|
* 在笼内100
|
* 出笼101
|
* 准备出笼102
|
* 执行中103
|
* 在车上104
|
* 准备复位105
|
*/
|
public static final Integer RAW_GLASS_STATE_IN = 100;
|
public static final Integer RAW_GLASS_STATE_OUT = 101;
|
public static final Integer RAW_GLASS_STATE_WAIT_OUT = 102;
|
public static final Integer RAW_GLASS_STATE_RUNNING = 103;
|
public static final Integer RAW_GLASS_STATE_CAR = 104;
|
public static final Integer RAW_GLASS_STATE_RESET = 105;
|
public static final List<Integer> RAW_GLASS_STATE_IN_ALL = Arrays.asList(100, 102, 103);
|
|
public static final Integer RAW_GLASS_TASK_NEW = 0;
|
public static final Integer RAW_GLASS_TASK_SUCCESS = 1;
|
public static final Integer RAW_GLASS_TASK_FAILURE = 2;
|
|
/**
|
* 设备号
|
*/
|
public static final List<Integer> RAW_GLASS_DEVICE = Arrays.asList(1, 2, 3);
|
|
/**
|
* 原片上片状态
|
* 0 新增
|
* 100 已完成
|
*/
|
public static final Integer LOAD_RAW_GLASS_NEW = 0;
|
public static final Integer LOAD_RAW_GLASS_SUCCESS = 100;
|
|
/**
|
* 大理片笼任务启动信号
|
* 0 空任务
|
* 1 启动
|
*/
|
public static final Integer BIG_STORAGE_TASK_EMPTY = 0;
|
public static final Integer BIG_STORAGE_TASK_RUNNING = 1;
|
|
/**
|
* 中空大理片笼出片状态I
|
* 0 空任务
|
* 1 启动
|
* 2 暂停
|
* 3 完成
|
*/
|
public static final Integer HOLLOW_FLOW_CARD_NEW = 0;
|
public static final Integer HOLLOW_FLOW_CARD_START = 1;
|
public static final Integer HOLLOW_FLOW_CARD_PAUSE = 2;
|
public static final Integer HOLLOW_FLOW_CARD_SUCCESS = 3;
|
|
/**
|
* 中空大理片笼出片状态I
|
* 0 未进笼
|
* 1 占用
|
* 2 进笼完成
|
*/
|
public static final Integer HOLLOW_RELATION_NEW = 0;
|
public static final Integer HOLLOW_RELATION_OCCUPY = 1;
|
public static final Integer HOLLOW_RELATION_SUCCESS = 2;
|
|
}
|