| | |
| | | //} |
| | | |
| | | //#endregion |
| | | |
| | | /// <summary> |
| | | /// 修改设备备注 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <param name="homeId"></param> |
| | | /// <param name="name"></param> |
| | | /// <returns></returns> |
| | | public ResponsePackNew EditDeviceName (string deviceId,string homeId,string name) |
| | | { |
| | | var d = new Dictionary<string, object> (); |
| | | d.Add ("deviceId", deviceId); |
| | | d.Add ("homeId", homeId); |
| | | d.Add ("name", name); |
| | | var requestJson = HttpUtil.GetSignRequestJson (d); |
| | | var pack = HttpUtil.RequestHttpsPostFroHome (NewAPI.Api_Post_EditDeviceName, requestJson); |
| | | return pack; |
| | | } |
| | | } |
| | | } |