package com.qy.agv.util;

import com.qy.agv.activity.dao.MainDao;
import com.qy.agv.activity.model.RobotModel;
import com.qy.agv.activity.model.SiteModel;
import com.qy.agv.activity.model.UserModel;

import java.util.List;

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 = "byjr";
    public static String server_ip = "39.107.106.144";
    public static String HTTP_URL = "http://"+server_ip+":85/api";
    public static String UPDATE_URL = "http://"+server_ip+":9011";

//  修改 string.xml APP 名称 “宇光同行”
//    public static String PROJECT_NAME = "qyzl";
//    public static String server_ip = "106.14.107.152";
//    public static String HTTP_URL = "http://"+server_ip+":8100/api";
//    public static String UPDATE_URL = "http://"+server_ip+":8100/app";

//  修改 string.xml APP 名称 “宇光同行” 内网
//    public static String PROJECT_NAME = "qyzl";
//    public static String server_ip = "192.168.1.196";
//    public static String HTTP_URL = "http://"+server_ip+":8084/api";
//    public static String UPDATE_URL = "http://"+server_ip+":8084/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 UserModel user;
    public static RobotModel robotModel;
    public static int SOCKET_PORT = 502;

    public final static String LOG_IN = "blade-auth/oauth/token";
    public final static String PUSH_TASK = "blade-appapi/scan/request";
    public final static String TASK_LIST = "blade-requestpool/requestpool/list";
    public final static String ROBOT_DETAIL = "blade-robotInfo/robotInfo/detail";
    public final static String ROBOT_LIST = "blade-robotInfo/robotInfo/list";
    public final static String SHELF_LIST = "blade-shelf/shelf/list";
    public final static String SITE_LIST = "blade-site/site/list";
    public final static String SITE_DETAIL = "blade-site/site/detailByLocationId";
    public final static String RELOC_LIST = "blade-relocCoordinate/relocCoordinate/list";

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

    public static int REQUEST_CODE_MLKIT_SCAN_ONE = 204;
}

