| | |
| | | rowBeloneArea.SelectRoomEvent += (roomKeys) =>
|
| | | {
|
| | | //变更网关房间
|
| | | HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway, roomKeys);
|
| | | HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
|
| | | };
|
| | |
|
| | | //所属住宅
|
| | |
| | | /// 设置网关名字
|
| | | /// </summary>
|
| | | /// <param name="gatewayName">网关名称</param>
|
| | | private async void SetGatewayName(string gatewayName, bool closeForm)
|
| | | private void SetGatewayName(string gatewayName, bool closeForm)
|
| | | {
|
| | | //修改网关名
|
| | | var result = await HdlGatewayLogic.Current.ReName(zbGateway, gatewayName);
|
| | | var result = HdlGatewayLogic.Current.ReName(zbGateway, gatewayName);
|
| | | //网关修改失败
|
| | | if (result == false)
|
| | | {
|