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

public interface CommonConstant {

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

    //**********************联通中心坐标***************************
    Double LT_B1_X = 379.2256164550781;//联通B1层X坐标
    Double LT_B1_Y = 368.61126708984375;//联通B1层Y坐标
    Double LT_B2_X = 397.35992431640625;//联通B2层X坐标
    Double LT_B2_Y = 384.9845886230469;//联通B2层Y坐标

    //**********************鸣启中心坐标***************************
    Double MQ_B1_X = -178.527924;//鸣启B1层X坐标
    Double MQ_B1_Y = -1226.708374;//鸣启B1层Y坐标
    Double MQ_B2_X = -178.527924;//鸣启B2层X坐标
    Double MQ_B2_Y = -1226.708374;//鸣启B2层Y坐标

    //**********************比例尺***************************
    Double BLC1 = 100/2.54;//比例尺
    Double BLC2 = 100/2.54;//比例尺

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

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

    //*************************联通接口信息*******************************
    String CMCC_IP = "http://52.131.253.116";//人员定位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 + "/riskArea/all.shtml";//安全区域

}