| | |
| | | /// <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);
|
| | | }
|
| | |
|
| | |
| | | /// <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);
|
| | | }
|
| | |
|