Newer
Older
huludao / src / main / java / com / newfiber / api / pc / camera / util / CONST.java
package com.newfiber.api.pc.camera.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class CONST {

    public static String PORT = "443";


    public static String URL;
//    public static String URL = "https://openapi.lechange.cn/openapi/%s";
    /*public static String token="At_00004d2616788ff24172a4724686a0d7";*/

    @Value("${camera-visit.url}")
    public void setURL(String url){
        URL = url;
    }

    //public static String URL = "http://192.168.90.5/lechengyun/openapi/%s";
    //public static String token = "At_0000acb04fc57fec45f38f60c6091c82";
    public static String token="At_00004d2616788ff24172a4724686a0d7";

    // 如果不知道appid,请登录open.lechange.com,开发者服务模块中创建应用
    //lc995c20457d0e49c6
//    public static String APPID = "lc995c20457d0e49c6";

    // 如果不知道appsecret,请登录open.lechange.com,开发者服务模块中创建应用
    //4863201472244d15b2f1560071f4bc
//    public static String SECRET = "4863201472244d15b2f1560071f4bc";
    //登录
    public static final String ACCESSTOKEN_V2 = "accessToken";
    //批量获取设备的详细信息  在线不在线,没有意义啊  deviceOpenDetailList
    public static final String DEVICE_OPENDETAIL_LIST_V2 = "deviceOpenDetailList";
    //设备列表,包括设备id,通道id,通道名称
    public static final String DEVICEOPENLIST_V2 = "deviceOpenList";
    //创建播放
    public static final String BINDDEVICELIVE_V2 = "bindDeviceLive";
    //绑定设备
    public static final String BIND_DEVICE_V2 = "bindDevice";
    //解绑
    public static final String UNBINDDEVICE_V2 = "unBindDevice";
    //查询设备通道下创建的直播信息 根据这个接口查看设备是否直播,若直播在,直接返回地址,若没有直播,则创建
    public static final String GETLIVESTREAMINFO_V2 = "getLiveStreamInfo";
    //查询本地录像片段
//    public static final String QUERYLOCALRECORDS_V2="queryLocalRecords";
    //查询设备本地录像总数
//    public static final String QUERYLOCALRECORDNUM_V2="queryLocalRecordNum";
    //云台控制
    public static final String CONTROLMOVEPTZ_V2 = "controlMovePTZ";
    //设备状态 0:表示不在线;1:表示在线
    public static final String DEVICEONLINE_V2="deviceOnline";
    //查询设备绑定状态
    public static final String CHECKDEVICEBINDORNOT_V2="checkDeviceBindOrNot";

}