| | |
| | | Radius = 1, |
| | | BorderWidth = 1, |
| | | BorderColor = SkinStyle.Current.BorderColor, |
| | | |
| | | }; |
| | | dialogView.AddChidren (etDeviceName); |
| | | etDeviceName.TextChangeEventHandler += (sender, e) => { |
| | |
| | | try { |
| | | foreach (var room in Room.Lists) { |
| | | foreach (var common in room.DeviceList) { |
| | | if (common.SubnetID != commonDevice.SubnetID || common.DeviceID != commonDevice.DeviceID || common.LoopID != commonDevice.LoopCount) { |
| | | if (common.CommonLoopID != commonDevice.CommonLoopID || common.Type != commonDevice.Type) { |
| | | continue; |
| | | } |
| | | common.Name = commonDevice.Name; |