| | |
| | | btnBeloneArea.AddBottomLine();
|
| | |
|
| | | //mini网关有个功能设置
|
| | | var linuxImageType = this.zbGateway.LinuxImageType;
|
| | | if (linuxImageType == 11)
|
| | | if (HdlGatewayLogic.Current.IsMiniGateway(this.zbGateway) == true)
|
| | | {
|
| | | var listDevice = Common.LocalDevice.Current.GetDeviceByGatewayID(this.zbGateway.GwId);
|
| | | CommonDevice miniDevice = null;
|
| | |
| | | && Common.Config.Instance.Home.IsShowTemplate == false
|
| | | && Common.Config.Instance.Home.IsVirtually == false)
|
| | | {
|
| | | //menuCount++;
|
| | | menuCount++;
|
| | | }
|
| | | var frame = new TopRightMenuControl(menuCount, 1);
|
| | | //定位
|
| | |
| | | });
|
| | | });
|
| | | }
|
| | | //if (canAddReplaceMenu == true)
|
| | | //{
|
| | | // //替换
|
| | | // MenuName = Language.StringByID(R.MyInternationalizationString.uReplace);
|
| | | // frame.AddRowMenu(MenuName, null, "Item/ReplaceIconSelected.png", () =>
|
| | | // {
|
| | | // });
|
| | | //}
|
| | | if (canAddReplaceMenu == true)
|
| | | {
|
| | | //替换
|
| | | MenuName = Language.StringByID(R.MyInternationalizationString.uReplace);
|
| | | frame.AddRowMenu(MenuName, null, "Item/ReplaceIconSelected.png", () =>
|
| | | {
|
| | | var form = new GatewayReplaceForm();
|
| | | form.AddForm(this.zbGateway);
|
| | | });
|
| | | }
|
| | | }
|
| | | #endregion
|
| | |
|