liukangdong
2024-11-05 50353c2ae43cdddb8433358f4ba66bef30c5d628
server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKConstants.java
@@ -27,6 +27,26 @@
    public static final String ARTEMIS_PATH = "/artemis";
    /**
     单点登录模块菜单标识:
     1、安防中心:afzx
     2、消控中心:xkzx
     3、能管中心:ngzx
     4、驾驶舱:jsc
     5、考勤管理:kqgl
     *
     * 1、安防中心:afzx
     * 2、消控中心:xkzx
     * 3、能管中心:ngzx
     */
    public interface MenuPageId{
        String afzx = "afzx";//安防中心
        String xkzx = "xkzx";//消控中心
        String ngzx = "ngzx";//能管中心
        String jsc = "jsc";//物业后勤
        String kqgzt = "attendance_workstand";//考勤管理
    }
    /**
     * 接口地址集合
     */
    public interface InterfacePath{
@@ -102,10 +122,69 @@
        String[] iccmUpdateAppointment= new String[]{"/api/iccm/v2/appointment/update","iccm访客登记修改"};//iccm访客登记修改
        String[] iccmCancelAppointment= new String[]{"/api/iccm/v1/appointment/cancel","iccm访客登记修改"};//iccm访客登记修改
        String[] iccmAppointmentMDJ= new String[]{"/api/iccm/v1/appointment/free/registration","iccm访客预约免登记"};//iccm访客预约免登记
        String[] privilegIccmeGroup= new String[]{"/api/iccm/v1/privilege/groups","查询访客权限组"};//查询访客权限组
        String[] iccmAppointmentRecords= new String[]{"/api/iccm/v2/appointment/records","iccm查询已预约登记"};//iccm查询已预约登记
        String[] wxAccessToken= new String[]{"/api/wx/v1/oa/get/accessToken","根据微信公众号信息获取AccessToken"};//1.9.1根据微信公众号信息获取AccessToken
        String[] getWxConfig= new String[]{"/api/wx/v1/oa/get/config","根据配置微信公众号编号查询微信公众号信息"};//根据配置微信公众号编号查询微信公众号信息
        String[] goMenuUrl= new String[]{"/xauthplus-plugin/thirdLogin?type=third&componentId=Infovision iPark Platform&componentMenuId=${menuId}&token=${token}","工作台菜单跳转地址"};
        String[] nhEventPageList= new String[]{"/api/ecm/warning/event/v1/pageList","分页获取告警事件"};//分页获取告警事件
        String[] nhRegionDataRanking= new String[]{"/api/ecm/v1/energy/regionDataRanking","根据时间维度获取区域用量排名"};//1.8.5根据时间维度获取区域用量排名
        String[] nhEnergyDistribution= new String[]{"/api/ecm/v1/energy/energyDistribution","根据时间维度获取能耗分布"};// 根据时间维度获取能耗分布
        String[] fireDeviceSearch= new String[]{"/api/resource/v1/fireDevice/search","询消防设备列表"};// 1.12.1.1询消防设备列表
        String[] fireChannelSearch= new String[]{"/api/resource/v1/fireChannel/search","查询消防传感器列表"};//查询消防传感器列表
        String[] sensorStatusSearch= new String[]{"/api/fpnms/v2/sensor/status/search","分页查询消防传感器部件状态"};//分页查询消防传感器部件状态
        String[] fireDeviceStatusSearch= new String[]{"/api/fpnms/v2/device/status/search","查询消防设备部件状态"};//查询消防设备部件状态
        String[] findDeviceAlarmPage= new String[]{"/api/v1/alarm/findDeviceAlarmPage","分页查询设备下的所有报警记录"};//分页查询设备下的所有报警记录
        String[] getTodoListPage= new String[]{"/api/v3/todo/getTodoListPage","分页获取待办列表"};//1.10.1分页获取待办列表
        String[] loginOut= new String[]{"/xauthplus-plugin/logout","退出登录"};//退出登录
        String[] sendSms= new String[]{"/api/smsps/v1/smsService/sms","短信验证码"};//短信验证码
        String[] getMenus= new String[]{"/api/privilegeService/v1/menus/list","获取用户有权限的菜单功能项"};//获取用户有权限的菜单功能项
        String[] rootRegion= new String[]{"/api/resource/v1/regions/root","获取根区域信息接口"};//获取根区域信息接口
        String[] subRegions= new String[]{"/api/resource/v1/regions/subRegions","根据区域编号获取下一级区域列表"};//根据区域编号获取下一级区域列表
        String[] pageRegions= new String[]{"/api/resource/v1/regions","分页获取区域列表"};//分页获取区域列表
        String[] pageCameras= new String[]{"/api/resource/v1/cameras","分页获取监控点资源"};//分页获取监控点资源
        String[] cameraPreviewURLs= new String[]{"/api/video/v1/cameras/previewURLs","获取监控点预览取流URL"};//获取监控点预览取流URL
        String[] pageFireChannel= new String[]{"/api/resource/v1/fireChannel/get","分页获取消防传感器列表"};//分页获取消防传感器列表
        String[] pageSensorStatus= new String[]{"/api/fpnms/v2/sensor/status/search","分页查询消防传感器部件状态v2"};//分页查询消防传感器部件状态v2
    }
    /**
     * 附录A.55消防设备类型
     */
    public interface  XiaofangCGQType{
        String[] hzbjzj = new String[]{"1020001" ,   "火灾报警主机"    }     ;
        String[] gycgq = new String[]{"1020002" ,   "感烟传感器"    }     ;
        String[] gwcgs = new String[]{"1020003" ,   "感温传感器"    }     ;
        String[] sdbjan = new String[]{"1020004" ,   "手动报警按钮"    }     ;
        String[] krqtcgq = new String[]{"1020005" ,   "可燃气体传感器"    }     ;
        String[] dqwdcgq = new String[]{"1020007" ,   "电气温度传感器"    }     ;
        String[] sydlcgq = new String[]{"1020008" ,   "剩余电流传感器"    }     ;
        String[] ywcgq = new String[]{"1020009" ,   "液位传感器"    }     ;
        String[] sycgq = new String[]{"1020010" ,   "水压传感器"    }     ;
        String[] tycgq = new String[]{"1020011" ,   "通用传感器"    }     ;
        String[] sgbjq = new String[]{"1020015" ,   "声光报警器"    }     ;
    }
    /**
     * 附录A.55消防设备类型
     */
    public interface  XiaofangDeviceType{
        String[] uitDevice = new String[]{"20001" ,   "uitDevice","用户信息传输装置"   }     ;
        String[] electricDevice = new String[]{"20002" ,   "electricDevice","用电主机"   }     ;
        String[] wirelessWaterDevice = new String[]{"20003" ,   "wirelessWaterDevice","用水主机"   }     ;
        String[] independentGasDevice = new String[]{"20004" ,   "independentGasDevice","独立式可燃气体报警器"   }     ;
        String[] independentSmokeDevice = new String[]{"20005" ,   "independentSmokeDevice","独立式感烟报警器"   }     ;
        String[] iogDTUDevice = new String[]{"20008" ,   "iogDTUDevice","物联网网关(DTU)"   }     ;
        String[] siterwell433gwDevice = new String[]{"20009" ,   "siterwell433gwDevice","物联网消防报警网关(433)"   }     ;
        String[] outdoorHydrantDevice = new String[]{"20010" ,   "outdoorHydrantDevice","室外消火栓"   }     ;
        String[] cameraSmokeDevice = new String[]{"20011" ,   "cameraSmokeDevice","视频烟感"   }     ;
        String[] cameraTempDevice = new String[]{"20012" ,   "cameraTempDevice","视频温感"   }     ;
        String[] intelligentAnalyzer = new String[]{"20013" ,   "intelligentAnalyzer","智能分析仪"   }     ;
        String[] chargingPile = new String[]{"20014" ,   "chargingPile","充电桩"   }     ;
        String[] iPCVideoGateway = new String[]{"20015" ,   "IPCVideoGateway","IPC视频网关"   }     ;
        String[] smartElectricityGateway = new String[]{"20016" ,   "smartElectricityGateway","智能用电网关"   }     ;
    }
    /**
     * 任務類型
@@ -122,8 +201,7 @@
        // 构造方法
        TASK_TYPE(int key, String name ) {
            this.name = name;
            this.key = key;
            this.name = name;this.key = key;
        }