| | |
| | | //深度卡片信息
|
| | | this.frameTable.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | //如果是Mini夜灯
|
| | | if (Common.LocalDevice.Current.IsMiniLight(i_device) == true)
|
| | | {
|
| | | var form = new MainPage.ControlForm.DeviceMiniLightDetailCardForm();
|
| | | form.RowOrCardControl = this;
|
| | | form.AddForm(i_device, this.nowSelectRoom, 965, 1466);
|
| | | form.FormCloseEvent += this.CardDetailInfoBackEvent;
|
| | | }
|
| | | else
|
| | | {
|
| | | //彩灯,调光器类型的深度卡片界面
|
| | | var form = new MainPage.ControlForm.DeviceColorLightDetailCardForm();
|
| | | form.RowOrCardControl = this;
|
| | | form.AddForm(i_device, this.nowSelectRoom, 965, 1316);
|
| | | form.FormCloseEvent += this.CardDetailInfoBackEvent;
|
| | | }
|
| | | //彩灯,调光器类型的深度卡片界面
|
| | | var form = new MainPage.ControlForm.DeviceColorLightDetailCardForm();
|
| | | form.RowOrCardControl = this;
|
| | | form.AddForm(i_device, this.nowSelectRoom, 965, 1316);
|
| | | form.FormCloseEvent += this.CardDetailInfoBackEvent;
|
| | | };
|
| | | }
|
| | |
|