package org.springblade.device.contants;

public class ElevatorConstants {

	//redis中电梯token的key
	public static String TOKEN_KEY = "elevator:token";
	//获取accessToken
	public static String GET_TOKEN = "/api/v1/getToken";
	//获取电梯注册码列表
	public static String GET_LIFT_REGCODES = "/api/v1/info/getLiftRegCodes?access_token=";
	//获取电梯注册码列表
	public static String GET_LIFT_INFO = "/api/v2/lift/getInfo?access_token=";
	//获取相机信息
	public static String GET_CAMERA_INFO = "/api/v2/equip/camerainfo?access_token=";
	//获取电梯历史报警-7天内的电梯历史告警
	public static String GET_LIFT_HIS_ALARM = "/api/v1/alarm/getLiftHisAlarm?access_token=";
	//获取电梯当前状态
	public static String GET_LIFT_STATUS = "/api/v1/status/getLiftStatus?access_token=";
	//获取电梯环境监测数据
	public static String GET_LIFT_POINT_DATA = "/api/v1/point/getLiftPointData?access_token=";
	//请求实时视频授权
	public static String GET_REAL_VIDEO_AUTHORIZATION = "/api/v2/media/getRealvideoAuthorization?access_token=";
	//查询历史视频信息（TF卡录像查询）
	public static String GET_LOCAL_RECORD_FILES = "/api/v1/media/getLocalRecordFiles?access_token=";
	//请求历史告警视频授权
	public static String GET_ALARM_VIDEO = "/api/v1/media/getAlarmvideoAuthorization?access_token=";
	//请求对讲授权
	public static String GET_AUDIOTALK_AUTHORIZATION = "/api/v1/media/getAudiotalkAuthorization?access_token=";
	//查询电梯运行统计
	public static String GET_LATEST_LIFT_RUN_STATISTICS = "/api/v1/statistics/getLatestLiftRunStatistics?access_token=?access_token=";
	//电梯指标打分
	public static String GET_LIFT_METRICS = "/api/v2/stats/lift-metrics/{registerCode}?access_token=";
	//电梯告警数量
	public static String GET_LIFT_ALARM_COUNT = "/api/v2/stats/alarm/count/recently?access_token=";
	//电梯告警订阅
	public static String SUBSCRIBE_ALARM_DATA = "/api/v1/webhook/alarmData?access_token=";


}
