package com.wdkl.ncs.android.middleware.common;

public class Constant {

    public static String APP_PATH = "";

    //TCP服务器地址：
    public static String TCP_SERVER_URL = "";

    //数据接口端口：
    public static int URL_PORT = 8006;

    //TCP服务端口
    public static int TCP_PORT = 5080;

    //TCP服务连接心跳
    public static int TCP_HEART_BEAT = 9;

    //TCP连接是否成功
    public static boolean TCP_CONNECTED = false;

    //延时重启app
    public static boolean LATER_RESTART = false;

    //语音留言上传地址
    public static final String UPLOAD_VOICE_MSG_URL = "/ncs/upload/File";

    //0--白天，1--夜晚
    public static int day_state = -1;

    //分机呼叫超时时间,默认30s
    public static int CALL_TIMEOUT = 30;

    //待机
    public final static int CALL_STANDBY = 0;

    //呼叫中
    public final static int CALL_OUTGOING = 1;

    //来电中
    public final static int CALL_INCOMING = 2;

    //通话中
    public final static int CALL_CALLING = 3;

    //通话状态
    public static int CALL_STATE = CALL_STANDBY;


    public final static int VOICE_CALL = 0;

    public final static int VIDEO_CALL = 1;

    //通话类型
    public static int CALL_TYPE = VOICE_CALL;

    //MAC地址
    public static String LOCAL_MAC = "";

    //设备ID
    public static Integer DEVICE_ID;

    //客户ID
    public static Integer CUSTOM_ID = -1;

    //SIP ID
    public static String SIP_ID = "";
    public static String TARGET_SIP = "";

    //探视主机sip id
    public static String SIP_VISIT_HOST_ID = "";
    //是否探视中
    //public static boolean VISITING = false;

    //科室id
    public static Integer PART_ID;

    //床位名称
    public static String BED_NAME = "";

    //设备类型
    public static Integer DEVICE_TYPE = 4;
    /**
     * 注册设备出厂编号
     */
    public static String DEVICE_CODE = "";

    /**
     * 设备型号
     */
    public static String DEVICE_MODEL = "";

    /**
     * 设备软件版本信息
     */
    public static String DEVICE_SOFT_VER = "SW1.0";

    /**
     * 设备硬件版本信息
     */
    public static String DEVICE_HARD_VER = "HV1.0";

    /**
     * 设备别名
     */
    public static String DEVICE_NAME = "病床分机";

    public static int DEVICE_STATUS = -1;

    //MCU版本
    public static String MCU_VERSION_NUMBER = "";

    //来电设备id
    public static Integer fromId = -1;

    //Interaction ID
    public static Integer interactionId = -1;

    //设备是否有camera
    public static boolean supportCamera = false;

    //紧急按钮设备id
    public static int EMERGENCY_ID = -1;

    public static String doctorTitle = "责任医生";
    public static Integer doctorValid = 1;
    public static String nurseTitle = "责任护士";
    public static Integer nurseValid = 1;

    /**
     * Sip注册状态
     */
    public static final int EVENT_SIP_REGISTER_STATUS = 0x01;

    /**
     * Sip通话状态
     */
    public static final int EVENT_SIP_CALL_STATUS = 0x02;

    /**
     * 以太网ping状态
     */
    public static final int EVENT_INTERNETPING = 0x03;

    /**
     * 返回主fragment
     */
    public static final int EVENT_BACK_MAIN = 0x04;

    /**
     * TCP消息
     */
    public static final int EVENT_TCP_MSG = 0x05;

    /**
     * TCP连接状态
     */
    public static final int EVENT_TCP_STATE = 0x06;

    /**
     * 刷新客户信息
     */
    public static final int EVENT_UPDATE_CUSTOM = 0x07;

    /**
     * 通话状态
     */
    public static final int EVENT_CALL_STATE = 0x08;

    /**
     * 退出通话界面
     */
    public static final int EVENT_REMOVE_CALL_FRAGMENT = 0x09;

    /**
     * 串口消息
     */
    public static final int EVENT_SERIAL_EVENT = 0x10;

    /**
     * 呼叫消息
     */
    public static final int EVENT_CALL_MSG = 0x11;

    public static final int EVENT_RESTART_APP = 0x12;
}
