old mode 100755
new mode 100644
| | |
| | | };
|
| | | }
|
| | | }
|
| | |
|
| | | //如果是新风
|
| | | if (nowSelectDevice.Type == DeviceType.FreshAir) |
| | | { |
| | | //功能类型 |
| | | string caption = Language.StringByID(R.MyInternationalizationString.uFunctionType); |
| | | string strType = Language.StringByID(R.MyInternationalizationString.FreshAir);
|
| | | var btnFunction = new FrameCaptionViewControl(caption, strType, listview.rowSpace / 2);
|
| | | btnFunction.UseClickStatu = false;
|
| | | listview.AddChidren(btnFunction);
|
| | | btnFunction.InitControl();
|
| | | //底线
|
| | | btnFunction.AddBottomLine(); |
| | | } |
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | if (listIcon.Count == 1)
|
| | | {
|
| | | frame.Gravity = Gravity.CenterVertical;
|
| | | |
| | | //如果是新风 |
| | | if (deviceObj.Type == DeviceType.FreshAir) |
| | | { |
| | | frame.RemoveFromParent(); |
| | | frameBack.BackgroundImagePath = "FreshAir/FreshAirRealDevicePic.png"; |
| | | frameBack.Width = Application.GetMinRealAverage(878); |
| | | frameBack.Height = Application.GetMinRealAverage(354); |
| | | frameBack.Gravity = Gravity.Center; |
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | //初始化菜单行
|
| | | this.DeviceEpointSelectEvent(btnTemp, null);
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | |
|
| | | /// <summary>
|