package com.sptg.third.api.contants;

/**
 * @author zwx
 * @create 2020/11/29 22:15
 */
public class UrlContants {

    public static class Grid{

        //---------------------------------物业信息-----------------------------//
        /**
         * 授权登录接口
         */
        public static String AUTH = "/blade-auth/oauth/token";

        /**
         * 社区同步接口
         */
        public static String AGENT_SYNC = "/openinterface/listen/estate/agencySync";

        /**
         * 小区同步接口
         */
        public static String RESIDENTIAL_SYNC = "/openinterface/listen/estate/residentialSync";

        /**
         * 楼栋同步接口
         */
        public static String BUILDING_SYNC = "/openinterface/listen/estate/buildingSync";

        /**
         * 单元同步接口
         */
        public static String UNIT_SYNC = "/openinterface/listen/estate/unitSync";

        /**
         * 楼层同步接口
         */
        public static String FLOOR_SYNC = "/openinterface/listen/estate/floorSync";

        /**
         * 房间同步接口
         */
        public static String ROOM_SYNC = "/openinterface/listen/estate/roomSync";

        /**
         * 住户同步接口
         */
        public static String BASEUSER_SYNC = "/openinterface/listen/estate/userSync";

        /**
         * 物业报修同步接口
         */
        public static String ESTATE_REPAIR_SYNC = "/openinterface/listen/estate/repairSync";

        //------------------------物联网设备信息-----------------------------//

        /**
         * 物联网设备同步接口
         */
        public static String IOT_DEVICE_SYNC = "/openinterface/iot/device/sync";

        /**
         * 物联网告警同步接口
         */
        public static String IOT_ALARM_SYNC = "/openinterface/iot/alarm/sync";

        //------------------------视频云设备信息-----------------------------//

        /**
         * 视频云账号同步接口
         */
        public static String VIDEO_CLOUD_ACCOUNT_SYNC = "/openinterface/videocloud/account/sync";

        /**
         * 视频云设备同步接口
         */
        public static String VIDEO_CLOUD_DEVICE_SYNC = "/openinterface/videocloud/device/sync";


        public static String DOOR_DEVICE_ACCESS_SYNC = "/openinterface/listen/door/device/accessRecordSync";

        public static String DOOR_DEVICE_SYNC = "/openinterface/listen/door/device/deviceSync";
    }

    public static class Topsail{

        /**
         * 获取所有项目列表
         */
        public static String GET_PROJECT_LIST = "/getProjectList";
        /**
         * 批量查询设备最新数据
         */
        public static String GET_DEVICES_DATAS = "/devices/datas";
        /**
         * 查询单个设备最新数据
         */
        public static String GET_DEVICES_ = "/devices/";
        /**
         * 查询单个设备历史数据
         */
        public static String GET_DEVICES_HISTORY_ = "/devices/history/";
        /**
         * 批量查询最新预警信息
         */
        public static String GET_DEVICES_ALARMS = "/devices/alarms";
        /**
         * 单个设备预警历史
         */
        public static String GET_DEVICES_ALARM_ = "/devices/alarm/";
        /**
         * 批量设备配置信息
         */
        public static String GET_DEVICES_CONFIGS = "/devices/configs";
        /**
         * 单个设备配置下发
         */
        public static String SEND_DEVICES_CONFIG_ = "/devices/config/";
        /**
         * 某设备配置信息查询
         */
        public static String GET_DEVICES_CONFIGDATA = "/devices/congfigData";
    }

    public static class QinLin{

        /**
         * 新增用户
         */
        public static String ADD_USER = "/open/face/v1/user/add";

        /**
         * 删除用户
         */
        public static String DELETE_USER = "/open/face/v1/user/delete";

        /**
         * 删除用户权限
         */
        public static String DELETE_USER_PERMISSION = "/open/face/v1/user/permission/delete";

        /**
         * 删除设备
         */
        public static String DELETE_DEVICE = "/open/face/v1/device/delete";

        /**
         * 查询设备信息
         */
        public static String QUERY_DEVICE_INFO = "/open/face/v1/device/info";

        /**
         * 远程开门
         */
        public static String REMOTE_DEVICE_OPEN_DOOR = "/open/face/v1/device/open";

        /**
         * 查询用户通行记录
         */
        public static String GET_LOGS = "/open/face/v1/openlog/getLogs";

        /**
         * 获取图片地址
         */
        public static String GET_LOGS_USER_FACE_URL = "/open/face/v1/openlog/getUserFaceUrl";

        /**
         * 新增小区
         */
        public static String ADD_COMMUNITY = "/open/face/v1/openlog/addYinChuanCommunity";

        /**
         * 新增设备
         */
        public static String ADD_DEVICES = "/open/face/v1/openlog/addYinChuanDoorControl";
    }
}
