old mode 100644
new mode 100755
| | |
| | | btnPic.InitControl(device.DeviceAddr, device.DeviceEpoint);
|
| | | btnPic.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var localPic = new Device.CommonForm.DeviceIconSelectedIMGByLocal();
|
| | | UserView.HomePage.Instance.AddChidren(localPic);
|
| | | UserView.HomePage.Instance.PageIndex += 1;
|
| | | localPic.Show();
|
| | | localPic.action = (unSelectedImagePath, selectedImagePath) =>
|
| | | var form = new SelectLocalDeviceImageForm();
|
| | | form.AddForm();
|
| | | form.FinishSelectEvent = (unSelectedImagePath) =>
|
| | | {
|
| | | //变更图片
|
| | | device.IconPath = unSelectedImagePath;
|
| | |
| | | }
|
| | |
|
| | | //所属模块
|
| | | caption = Language.StringByID(R.MyInternationalizationString.BelongModel);
|
| | | caption = Language.StringByID(R.MyInternationalizationString.BelongDevice);
|
| | | deviceName = Common.LocalDevice.Current.GetDeviceMacName(device);
|
| | | var rowBelongModul = new FrameCaptionViewControl(caption, deviceName, listview.rowSpace / 2);
|
| | | listview.AddChidren(rowBelongModul);
|
| | |
| | | }
|
| | |
|
| | | //所属模块
|
| | | caption = Language.StringByID(R.MyInternationalizationString.BelongModel);
|
| | | caption = Language.StringByID(R.MyInternationalizationString.BelongDevice);
|
| | | nameValue = Common.LocalDevice.Current.GetDeviceMacName(device);
|
| | | var rowBelongModul = new FrameCaptionViewControl(caption, nameValue, listview.rowSpace / 2);
|
| | | rowBelongModul.UseClickStatu = false;
|