CommonConstant.java 1.9 KB
package com.jkdata.tool;

public interface CommonConstant {

    //**********************返回参数代码***************************
    Integer SC_ERROR_500 = 500;//错误代码
    Integer SC_OK_200 = 200;//成功代码

    //**********************联通坐标***************************
    Double LT_B1_X = 42.8238;//联通B1层X坐标
    Double LT_B1_Y = 325.8339;//联通B1层Y坐标
    Double LT_B2_X = 22.4297;//联通B2层X坐标
    Double LT_B2_Y = 330.5528;//联通B2层Y坐标

    //**********************鸣启坐标***************************
    Double MQ_B1_X = -9850.00;//鸣启B1层X坐标
    Double MQ_B1_Y = -7400.00;//鸣启B1层Y坐标
    Double MQ_B2_X = -9850.00;//鸣启B2层X坐标
    Double MQ_B2_Y = -7430.00;//鸣启B2层Y坐标

    //**********************比例尺***************************
    Double BLC_X = 43.7;//比例尺
    Double BLC_Y = 43.58;//比例尺
    //**********************旋转角度***************************
    Double XZJD = 64.7989;//旋转角度

    //**********************推送用户***************************
    String CMCC = "CMCC";//联通推送用户

    String BLD_ID = "10";//定位系统项目ID
    String CMCC_KEY = "f9257afea27943d7bcd7cc510f1b50dc";//定位系统秘钥

    //*************************联通接口信息*******************************
    //String CMCC_IP = "http://52.131.253.116";//人员定位测试IP地址
    String CMCC_IP = "http://101.132.108.99";//人员定位测试IP地址
    String BUILD_URL = CMCC_IP + "/api/v1/buildingAllInfo.shtml";//场景信息
    String HISTORY_URL = CMCC_IP + "/api/positionByDeviceId.shtml";//历史轨迹
    String ALARM_URL = CMCC_IP + "/api/v1/alarmListByCount.shtml";//告警信息
    String WEEK_ALARM_URL = CMCC_IP + "/api/v1/weekAlarmState.shtml";//获取最近7天的告警统计数据
    String SAFE_AREA_URL = CMCC_IP + "/client/listMonitoringAreaByBuildingId.shtml";//安全区域

}