package com.aucma.common.constant;

/**
 * 通用常量信息
 *
 * @author ruoyi
 */
public class SystemConstants {
    //系统模块
    public static final String MES = "MES";
    public static final String WMS = "WMS";
    public static final String EMS = "EMS";
    public static final String DMS = "DMS";
    public static final String QMS = "QMS";

    /**
     * 通知状态（0未通知 1已通知）
     */
    public static final String DMS_NOTICE_STATUS_FALSE = "0";//0未通知
    public static final String DMS_NOTICE_STATUS_TRUE = "1";//1已通知

    /**
     * 通知方式（1WEB 2公众号 3PLC）
     */
    public static final String DMS_NOTICE_TYPE_WEB = "1";//1WEB
    public static final String DMS_NOTICE_TYPE_CHAT = "2";//2公众号
    public static final String DMS_NOTICE_TYPE_PLC = "3";//3PLC

    /**
     * 提示类型(1=报警;2=审核)
     */
    public static final String SYS_ROUTER_POINT_TYPE_ALARM = "1";//报警
    public static final String SYS_ROUTER_POINT_TYPE_AUDIT = "2";//审核

    public static final String SYS_ROUTER_POINT_TYPE_NOTICE = "3";//通知

    /**
     * 设备报警记录路由
     */
    public static final String SYS_ROUTER_DMS_ALARM_URL = "/dms/deviceAlarm/dmsRecordAlarmInfo";


    /**
     * 工单流程节点ID
     */
    public static final Long PROCESS_ACTIVITY_ID_QUALITY_CHECK_ABNORMAL = 3012L;//质检异常处理
    public static final Long PROCESS_ACTIVITY_ID_PRODUCT_ORDER_OVERTIME = 2021L;//生产工单超时
    public static final Long PROCESS_ACTIVITY_ID_PURCHASEORDER_OVERTIME = 2031L;//采购订单交货超时

    public static final Long PROCESS_ACTIVITY_ID_SALE_ORDER_OVERTIME = 2041L;//销售订单交货超时

    public static final Long PROCESS_ACTIVITY_ID_DEVICE_ALARM = 1071L;//设备报警处理

    public static final Long PROCESS_ACTIVITY_ID_STOCK_NOTENOUGH = 5011L;//物料库存告警

    public static final Long PROCESS_ACTIVITY_ID_PRODUCE_PAUSE = 7011L;//车间暂停通知

    public static final Long PROCESS_ACTIVITY_ID_RECEIVE_BILL = 8011L;//收料通知单通知
}
