package net.northking.cctp.designer.ws.constants;

public class PcuiDesignerConstant {
    //执行机状态 1连接失败,2连接成功,3连接中
    public static final int ENG_STA_DISCONNECTED=1;
    public static final int ENG_STA_CONNECTED=2;
    public static final int ENG_STA_CONNECTING=3;
    //机器人状态 1连接失败,2连接成功,3连接中
    public static final int ROB_STA_DISCONNECTED=1;
    public static final int ROB_STA_CONNECTED=2;
    public static final int ROB_STA_CONNECTING=3;
    //ScheduledFuture_initialDelay
    public static final long INITIAL_DELAY=10;
    //ScheduledFuture_period
    public static final long PERIOD=15;
    //JSONObject_VALUE_MSG
    public static final String VALUE_MSG_PING= "Ping";
    public static final String VALUE_MSG_PING2= "ping";
    public static final String CMD_PONG= "pong";
    public static final String K_TABS= "tabs";

    //ReasonPhrase
    public static final String RP_ENG_DISCONNECTED= "机器人或执行引擎已断开";
    public static final String RP_RETRY_FAILURE= "重试失败关闭";
    public static final String RP_NO_AUTO_RECONNECT_CLOSE= "不重连关闭";
    public static final String RP_CLOSE_WS_CHANNEL_MANUALLY= "手动关闭ws通道";
    //RequestHeader
    public static final String AUTHORIZATION_HEADER= "Authorization";
    //ImgData
    public static final String IMG_DATA_TYPE_BMP= "bmp";
    public static final String IMG_DATA_TYPE_PNG= "png";
    public static final String IMG_DATA_TYPE_JPG= "jpg";
}
