package cn.iocoder.yudao.module.system.enums.device;

/**
 * System 变更的常量类
 *
 * @author jinyd
 */
public interface SleepthingApiConstants {

    /*==================睡小宝=============================*/
    public static String IP = "http://47.107.245.0:8082";
    public static String PORT = "80";

    public static String HOST = "http://api.sleepthing.com";

    //开发者服务模块中创建应用
    public static String APPID = "EbNLqErxSh*Mz8ye";

    //开发者服务模块中创建应用
    public static String SECRET = "e13b3x8EKiTPYaX8yG@kX26jUrHmtjTx";

    public static String GET_DEVICE_POWER_URL = "/api/device/getDevicePower";

    public static String GET_DEVICE_INFO_URL = "/device/getDeviceInfo";

    public static String GET_REAL_TIME_DATA_URL = "/data/getRealTimeData";

    public static String STOP_SEND_REAL_TIME_DATA_URL = "/device/stopSendRealTimeData";

    public static String SEND_REAL_TIME_DATA_URL = "/device/sendRealTimeData";

    public static String GET_DEVICE_NETWORK_STATE_URL = "/device/getDeviceNetworkState";

    public static String IS_THIS_DEVICE_VALID_URL = "/device/isThisDeviceValid";

    public static String GET_DAY_SLEEP_REPORT_URL = "/data/getDaySleepReport";

    public static String BIND_USER_BODY_INFO_URL = "/user/bindUserBodyInfo";
    public static String DEVICE_UNBIND_URL = "/device/unbind";

    public static String SET_ALARM_LEVEL_URL = "/alarm/setAlarmLevel";

    public static String GET_ALARM_LEVEL_URL = "/alarm/getAlarmLevel";

    public static String SET_EVENT_NOTIFY_URL = "/event/setEventNotify";

    public static String GET_EVENT_NOTIFY_LIST_URL = "/event/getEventNotifyList";

    public static String SET_REPORT_NOTIFY_URL = "/config/setReportNotifyUrl";

    public static String SET_ALARM_NOTIFY_URL = "/config/setAlarmNotifyUrl";

    public static String SET_EVENT_NOTIFY_URL_URL = "/config/setEventNotifyUrl";


    /**
     * 新版睡小宝API地址
     */
    public static String API_REQUEST_URL = "http://openapi.sleepthing.com";

    /**
     * 睡小宝 clientId
     */
    public static String CLIENT_ID = "EA959964D89D4160";

    /**
     * 睡小宝 client secret
     */
    public static String CLIENT_SECRET = "4A1D3BB2D0D6458D88055F19D4A28048";



}
