| | |
| | | { |
| | | 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_GetDevcieList = "/home-wisdom/app/device/list"; |
| | | /// <summary> |
| | | /// 获取第三方品牌设备列表 |
| | | /// </summary> |
| | | public const string Api_Post_Get3tyBrandDevcieList = "/home-wisdom/app/product/list"; |
| | | /// <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"; |
| | | /// <summary> |
| | | /// 获取设备详情通过(spk,sid) |
| | | /// </summary> |
| | | public const string Api_Post_GetinfoBySid = "/home-wisdom/app/device/infoBySid"; |
| | | /// <summary> |
| | | /// 红外宝/遥控器删除 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceDel = "/home-wisdom/app/device/remove"; |
| | | /// <summary> |
| | | /// 修改设备名称 |
| | | /// </summary> |
| | | public const string API_POST_Ir_DeviceRename = "/home-wisdom/app/device/rename"; |
| | | |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region ■ -- 萤石SDK相关接口___________________________ |
| | | /// <summary> |
| | | /// 河东获取萤石云子账号token的接口 |
| | | /// </summary> |
| | | public const string API_POST_EZ_GetChildToken = "/home-wisdom/platform/childToken"; |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region ■ -- 丰林相关相关接口___________________________ |
| | | /// <summary> |
| | | /// 检查住宅是否绑定丰林,并获取门口机列表 |
| | | /// </summary> |
| | | public const string API_POST_FL_Check = "/home-wisdom/app/fl/vi/check"; |
| | | /// <summary> |
| | | /// 接听 |
| | | /// </summary> |
| | | public const string API_POST_FL_Answer = "/home-wisdom/app/fl/vi/answer"; |
| | | /// <summary> |
| | | /// 拒接 |
| | | /// </summary> |
| | | public const string API_POST_FL_Reject = "/home-wisdom/app/fl/vi/reject"; |
| | | /// <summary> |
| | | /// 开锁成功 |
| | | /// </summary> |
| | | public const string API_POST_FL_Unlock= "/home-wisdom/app/fl/vi/unlock"; |
| | | /// <summary> |
| | | /// 通话视频截图上传 |
| | | /// </summary> |
| | | public const string API_POST_FL_Screenshot = "/home-wisdom/app/fl/vi/screenshot"; |
| | | /// <summary> |
| | | /// 挂断 |
| | | /// </summary> |
| | | public const string API_POST_FL_HangUp = "/home-wisdom/app/fl/vi/hang-up"; |
| | | /// <summary> |
| | | /// 获取通话记录 |
| | | /// </summary> |
| | | public const string API_POST_FL_GetCallList = "/home-wisdom/app/fl/vi/list"; |
| | | /// <summary> |
| | | /// 删除通话记录 |
| | | /// </summary> |
| | | public const string API_POST_FL_DeleteCallInfo = "/home-wisdom/app/fl/vi/delete"; |
| | | /// <summary> |
| | | /// 获取门口机列表 |
| | | /// </summary> |
| | | public const string API_POST_FL_List = "http://112.74.164.111:180/api.php/Device/getmonitorUUID"; |
| | | /// <summary> |
| | | /// 动态密码/二维码开锁 |
| | | /// </summary> |
| | | public const string API_POST_FL_QRcode = "http://112.74.164.111:180/api.php/Device/setdynamicpwd"; |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | |
| | | ///// <summary> |