| | |
| | | switch (linkType) |
| | | { |
| | | case 8: |
| | | {
|
| | | //S-one门锁特殊(Mac是唯一的识别)
|
| | | { |
| | | //S-one门锁特殊(Mac是唯一的识别) |
| | | ///如果不这样查找,分类-自动化进来查看会存在问题 |
| | | var deviceinof = Common.Logic.LogicDviceList.Find((obj) => { return obj.DeviceAddr == actions["DeviceAddr"].ToString(); });
|
| | | var deviceinof = Common.Logic.LogicDviceList.Find((obj) => { return obj.DeviceAddr == actions["DeviceAddr"].ToString(); }); |
| | | if (deviceinof == null) |
| | | { |
| | | deviceinof = new CommonDevice(); |
| | | } |
| | | actiondevice.deviceNameBtn.Text = LocalDevice.Current.GetDeviceEpointName(deviceinof); |
| | | actiondevice.deviceNameBtn.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(deviceinof); |
| | | actiondevice.deviceNameBtn.Visible = true; |
| | | actiondevice.regionNameBtn.Visible = true; |
| | | Method.RoomNmae(actiondevice.regionNameBtn, deviceinof); |
| | |
| | | switch (linkType) |
| | | { |
| | | case 8: |
| | | {
|
| | | //S-one门锁特殊(Mac是唯一的识别)
|
| | | { |
| | | //S-one门锁特殊(Mac是唯一的识别) |
| | | ///如果不这样查找,分类-自动化进来查看会存在问题 |
| | | var deviceinof = Common.Logic.LogicDviceList.Find((obj) => { return obj.DeviceAddr == actions["DeviceAddr"].ToString(); }); |
| | | if (deviceinof == null) |
| | |
| | | this.AddChidren(flMain); |
| | | CompleteView completeView = new CompleteView(); |
| | | flMain.AddChidren(completeView.Show(1)); |
| | | // completeView.Btntitle.Text =LocalDevice.Current.GetDeviceEpointName(common); |
| | | // completeView.Btntitle.Text =HdlDeviceCommonLogic.Current.GetDeviceEpointName(common); |
| | | completeView.Btntitle.TextID = MyInternationalizationString.openmode; |
| | | EventHandler<MouseEventArgs> clickcancel = (sender, e) => |
| | | { |