| | |
| | | #endif |
| | | namespace HDL_ON.UI |
| | | { |
| | | |
| | | |
| | | public class AddDevciePage : FrameLayout |
| | | { |
| | | FrameLayout bodyView; |
| | | IntegratedBrand brand; |
| | | VerticalRefreshLayout contentView; |
| | | |
| | | |
| | | public Action addDeviceCallback = null; |
| | | |
| | | public AddDevciePage(IntegratedBrand integratedBrand) |
| | | { |
| | |
| | | bool isFrist = true; |
| | | foreach (var device in deviceList) |
| | | { |
| | | //if(device.spk == "peephole" || device.spk == "security.door.ezviz") |
| | | //{ |
| | | // continue; |
| | | //} |
| | | FrameLayout row = new FrameLayout() |
| | | { |
| | | Height = Application.GetRealHeight(50), |
| | |
| | | this.RemoveFromParent(); |
| | | }; |
| | | break; |
| | | case SPK.Ev_Ipcam: |
| | | case SPK.VideoDoorLock: |
| | | case SPK.PeepholeEz: |
| | | case SPK.Peephole: |
| | | UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.SkipAddDeviceActivity(device.spk,addDeviceCallback); |
| | | break; |
| | | } |
| | | }; |
| | | } |