Constant.java 2.8 KB
package com.lijinji.call.util;

public class Constant {

    public static final String PROJECT_NAME = "xiangji";
    public static String LOGIN_NAME = "loginName";
    public static String CURREN_WAREHOUSE = "currentWarehouse";
    public static String CURREN_STATION = "currentStation";
    public static String CURREN_STATION_NUMBER = "currentStationNumber";
    public static String CURREN_LINE_NUMBER = "currentLineNumber";
    public static String CURREN_LINE_NAME = "currentLineName";
    public static String CURREN_COMPANY_CODE = "currentCompanyCode";
    public static String CURREN_COMPANY_ID = "currentCompanyID";
    public static String NETWORK = "network";
    public static String NETWORK2 = "network2";

    public static final int USER_REQUEST_FOCUS = 0;
    public static final int PASSWORD_REQUEST_FOCUS = USER_REQUEST_FOCUS + 1;
    public static final int CLEAR_PASSOWRD = PASSWORD_REQUEST_FOCUS + 1;

    public static final int RET_OK = 200;

//    public static final int TASK_STATUS_CREATE = 0;
//    public static final int TASK_STATUS_EXECUTE = 10;
//    public static final int TASK_STATUS_GET = 20;
//    public static final int TASK_STATUS_GET_COMPLETE = 30;
//    public static final int TASK_STATUS_PUT= 60;
//    public static final int TASK_STATUS_PUT_COMPLETE = 70;
//    public static final int TASK_STATUS_COMPLETE = 100;

    public static final int TASK_TYPE_GET_PUT = 100;
    public static final int TASK_TYPE_MOVE = 200;
    public static final int TASK_TYPE_CHARGE = 300;

    public static final int ERROR_NO = 0;
    public static final int ERROR_RGV = 1;
    public static final int ERROR_NO_CAR = 2;
    public static final int ERROR_GET_NOGOOD = 3;
    public static final int ERROR_PUT_NOGOOD = 4;
    public static final int ERROR_CHARGING = 5;
    public static final int ERROR_ASSIGN_TASK = 6;

    public static final int STATUS_MAN = 0;
    public static final int STATUS_NOGOOD = 1;
    public static final int STATUS_GETGOOD = 2;
    public static final int STATUS_DOING_TASK = 3;
    public static final int STATUS_COMPLETE_TASK = 4;

    public static final int STATUS_UNSTART = 0;
    public static final int STATUS_PAUSE = 10;
    public static final int STATUS_DOING = 20;
    public static final int STATUS_FINISH = 30;
    public static final int STATUS_NOT_FINISH = 40;

    public static final int TASK_STATUS_CREATE = 0;
    public static final int TASK_STATUS_GO_ONLINE = 30;
    public static final int TASK_STATUS_1_STATION = 40;
    public static final int TASK_STATUS_2_STATION  = 50;
    public static final int TASK_STATUS_3_STATION  = 60;
    public static final int TASK_STATUS_COMPLETE = 100;

    public static final int TYPE_SYNCHRORIZATION = 0;
    public static final int TYPE_MANUAL = 1;
    public static final int TYPE_URGENT = 2;
    public static final int TYPE_CACULATION = 3;
}