| | |
| | | { |
| | | public class NewAPI |
| | | { |
| | | #region 新微服务接口 |
| | | //#region 新微服务接口 |
| | | //*********************************************** |
| | | //注意:和住宅相关的接口要请求住宅所在区域的域名 regionUrl |
| | | //*********************************************** |
| | |
| | | public const string API_POST_Member_UnbindWithAccount = "/smart-footstone/member/memberInfo/unbindWithAccount"; |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 查询功能介绍列表 |
| | | /// </summary> |
| | | public const string API_POST_FunctionIntroductionList = "/home-wisdom/app/functionIntroduction/list"; |
| | | #endregion |
| | | |
| | | #region ■ HomeCluster -- 住宅管理接口___________________________ |
| | |
| | | /// 获取住宅网关分页 |
| | | /// </summary> |
| | | public const string API_POST_GetGatewayList = "/home-wisdom/app/gateway/getGatewayList"; |
| | | /// <summary> |
| | | /// 获取网关信息 |
| | | /// </summary> |
| | | public const string Api_Post_GetGatewayInfo = "/home-wisdom/app/gateway/info"; |
| | | ///// <summary> |
| | | ///// 解绑绑网关到住宅 |
| | | ///// </summary> |
| | |
| | | //public const string API_POST_GetAppVersion = "/smart-footstone/app/getAppVersion"; |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region ■ -- 房间场景背景图片上传下载接口___________________________ |
| | | /// <summary> |
| | | /// 上传图片 |
| | |
| | | /// </summary> |
| | | public const string Api_Post_GetDevcieInfoList = "/home-wisdom/app/device/info"; |
| | | /// <summary> |
| | | /// 刷新设备状态 |
| | | /// 刷新设备状 |
| | | /// </summary> |
| | | public const string Api_Post_RefreshDeviceStatus = "/home-wisdom/app/device/status/refresh"; |
| | | /// <summary> |
| | |
| | | /// 取消收藏设备 |
| | | /// </summary> |
| | | public const string Api_Post_CancelCollectDevice = "/home-wisdom/app/device/cancelCollect"; |
| | | /// <summary> |
| | | /// 获取环境传感器历史数据 小时/周/月统计数据 |
| | | /// </summary> |
| | | public const string Api_Post_EnvironmentalSensorHistoricalData = "/home-wisdom/app/statistics/device/hourWeekMonth"; |
| | | /// <summary> |
| | | /// 获取安防传感器历史数据 |
| | | /// </summary> |
| | | public const string Api_Post_ArmSensorHistoricalData = "/home-wisdom/app/device/message"; |
| | | #endregion |
| | | |
| | | #region Kaede -- 场景接口____________________________ |
| | |
| | | /// <summary> |
| | | /// 删除场景 |
| | | /// </summary> |
| | | public const string Api_Post_DeleteSecne = "/home-wisdom/app/scene/Delete"; |
| | | public const string Api_Post_DeleteSecne = "/home-wisdom/app/scene/delete"; |
| | | /// <summary> |
| | | /// 执行场景 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 取消收藏场景 |
| | | /// </summary> |
| | | public const string Api_Post_CancelCollectScene = "/home-wisdom/app/scene/cancelcollect"; |
| | | public const string Api_Post_CancelCollectScene = "/home-wisdom/app/scene/cancelCollect"; |
| | | #endregion |
| | | |
| | | #region Kaede -- 房间接口____________________________ |
| | |
| | | public const string API_POST_Logic_Enable = "/home-wisdom/app/logic/enable"; |
| | | #endregion |
| | | |
| | | #region -- 第三方设备相关接口___________________________ |
| | | /// <summary> |
| | | /// 获取添加过的品牌列表 |
| | | /// </summary> |
| | | public const string Api_Post_GetBindBrandList = "/home-wisdom/app/product/brand/bindList"; |
| | | /// <summary> |
| | | /// 获取品牌列表 |
| | | /// </summary> |
| | | public const string Api_Post_GetBrandList = "/home-wisdom/app/product/brand/list"; |
| | | |
| | | #region ■ -- 红外宝接口___________________________ |
| | | /// <summary> |
| | | /// 红外宝设备定位 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceFind = "/home-wisdom/app/device/ir/deviceFind"; |
| | | /// <summary> |
| | | /// 红外宝下的遥控器列表 |
| | | /// </summary> |
| | | public const string API_POST_Ir_List = ":/home-wisdom/app/device/ir/list"; |
| | | /// <summary> |
| | | /// 遥控器红外码学习 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeStudy = "/home-wisdom/app/device/ir/codeStudy"; |
| | | /// <summary> |
| | | ///红外宝红外码库试码 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeTest = "/home-wisdom/app/device/ir/codeTest"; |
| | | /// <summary> |
| | | /// 红外宝遥控器添加 |
| | | /// </summary> |
| | | public const string API_POST_Ir_Add = "/home-wisdom/app/device/ir/add"; |
| | | /// <summary> |
| | | /// 遥控器自学按键删除 |
| | | /// </summary> |
| | | public const string API_POST_Ir_CodeRemove = "/home-wisdom/app/device/ir/codeRemove"; |
| | | |
| | | #endregion |
| | | |
| | | #endregion |
| | | } |