package com.ygtx.emcs.util;

import com.ygtx.emcs.activity.model.RobotModel;
import com.ygtx.emcs.activity.model.UserModel;

public class Constant {

    public static String MODEL = "ET28";

    public final static String DATE_FORMATE = "yyyy-MM-dd";
    public final static String DATE_FORMATE_FILE = "yyyyMMdd";
    public final static String DATEMONTH_FORMATE = "yyyy-MM";
    public final static String DATEDATE_FORMATE = "MM-dd";
    public final static String DATETIME_FORMATE = "yyyy-MM-dd HH:mm:ss";
    public final static String DATETIME_SHOR_FORMATE = "yyyy-MM-dd HH:mm";
    public final static String DATETIME_CONTINUOUS_FORMATE = "yyyyMMddHHmmss";
    public final static String DATETIME_MILLI_FORMATE = "HHmmssSSS";
    public final static String DATETIME_CONTINUOUS_MILLI_FORMATE = "yyyyMMddHHmmssSSS";
    public final static String TIME_FORMATE = "HHmmss";

//  修改 string.xml APP 名称 “宇光同行” 内网
    public static String PROJECT_NAME = "ygtx";
    public static String server_ip = "192.168.110.12:83";
    public static String HTTP_URL = "http://"+server_ip;
    public static String UPDATE_URL = "http://"+server_ip+"/app";

    public static String ACCESS_TOKEN = "";
    public static String REFRESH_TOKEN = "";
    public static String TENANT_ID = "000000";

    public static final String CACHE_LOGIN_KEY = "LOGIN";
    public static final String CACHE_BIND_CONTROL = "BIND_CONTROL";
    public static final String CACHE_BIND_CONFIG = "BIND_CONTROL";

    public static UserModel user;
    public static RobotModel robotModel;
    public static int SOCKET_PORT = 502;

    public final static String LOG_IN = "login";
    public final static String GET_INFO = "getInfo";
    public final static String STOCK_IN_LIST = "mes/md/instock/list";
    public final static String STOCK_IN_LINE_LIST = "mes/md/line/list";
    public final static String STOCK_IN_ADD = "mes/md/instock";
    public final static String STOCK_AUTO_ADD = "mes/md/instock/autoIn";
    public final static String STOCK_OUT_LIST = "mes/md/outstock/list";
    public final static String STOCK_OUT_LINE_LIST = "mes/md/outstockline/list";
    public final static String STOCK_OUT_ADD = "mes/md/outstock";
    public final static String ITEM_VIEW = "mes/md/mditem/itemCode";
    public final static String BOX_VIEW = "mes/wm/box/boxCode";
    public final static String BOX_ITEM_VIEW = "mes/wm/item/queryItem";
    public final static String BOX_LIST_VIEW = "mes/wm/box/boxCodeList";
    public final static String BOX_ADD = "mes/wm/box/bind";
    public final static String BOX_CHECK_BIND = "mes/wm/box/checkBind";

    public final static String RECEIVER_MSG = "com.qy.msg.RECEIVER";


    public static int REQUEST_CODE_MLKIT_SCAN_ONE = 204;
}
