黄学彪
2020-11-19 9ef48d7b2da7c408b53f73be0f6eef3cbac1c84a
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
@@ -54,7 +54,7 @@
        /// <param name="i_gateway">网关对象</param>
        public void InitControl(string i_caption, ZigBee.Device.ZbGateway i_gateway)
        {
            var room = HdlGatewayLogic.Current.GetRoomByGateway(i_gateway);
            var room = HdlRoomLogic.Current.GetRoomByGateway(i_gateway);
            this.DoInitControl(i_caption, room);
        }
@@ -76,7 +76,7 @@
        /// <param name="i_listDevice">设备对象</param>
        public void InitControl(string i_caption, List<ZigBee.Device.CommonDevice> i_listDevice)
        {
            var room = Common.LocalDevice.Current.GeteRealDeviceRoom(i_listDevice[0]);
            var room = HdlRoomLogic.Current.GeteRealDeviceRoom(i_listDevice[0]);
            this.DoInitControl(i_caption, room);
        }