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出片目标位置2001
|
* A10出片目标位置2002
|
*/
|
public static final Integer A09_OUT_TARGET_POSITION = 2001;
|
public static final Integer A10_OUT_TARGET_POSITION = 2002;
|
|
/**
|
* 卧式理片笼详情表玻璃状态
|
* 识别后成功状态100
|
* 出片任务101
|
* 拿走200
|
* 破损201
|
*/
|
public static final Integer GLASS_STATE_IN = 100;
|
public static final Integer GLASS_STATE_OUT = 101;
|
public static final Integer GLASS_STATE_TAKE = 200;
|
public static final Integer GLASS_STATE_DAMAGE = 201;
|
|
/**
|
* 卧式理片笼详情表玻璃状态
|
* 进片任务1
|
* 出片任务2
|
* 出片任务2
|
*/
|
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 List<Integer> GLASS_CACHE_TYPE_OUT_ALL = Arrays.asList(2, 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;
|
|
/**
|
* 大理片笼请求
|
* 0 大理片笼无请求
|
* 1 大理片笼进片请求
|
*/
|
public static final Integer BIG_STORAGE_REQUEST = 0;
|
public static final Integer BIG_STORAGE_REQUEST_IN = 1;
|
|
/**
|
* 卧转立进片请求
|
* 1 任务生成
|
* 2 卧转立进片完成
|
* 3 大车进片完成
|
* 4 大理片笼进片完成
|
*/
|
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;
|
/**
|
* 卧转立出片请求
|
* 1 任务生成
|
* 2 玻璃进大车完成
|
* 3 大车出片完成
|
*/
|
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;
|
|
/**
|
* 卧转立出片请求
|
* 1 上车等待
|
* 2 上车启动
|
*/
|
public static final Integer BIG_STORAGE_IN_WAIT = 1;
|
public static final Integer BIG_STORAGE_IN_RUN = 2;
|
|
/**
|
* 大理片笼宽度 及 玻璃间距
|
*/
|
public static final Integer BIG_STORAGE_WIDTH = 5000;
|
public static final Integer BIG_STORAGE_GAP = 20;
|
|
/**
|
* 钢化小片表
|
* -1 生成任务
|
* 0 出片完成
|
* 1 摆片完成
|
* 2 进炉完成
|
* 3 钢化完成
|
* 4 出片完成
|
* 5 破损
|
* 6 拿走
|
*/
|
|
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_DAMAGE =5;
|
public static final Integer TEMPERING_TAKE =6;
|
|
}
|