| | |
| | | using HDL_ON.UI.CSS; |
| | | using Shared; |
| | | #if __IOS__ |
| | | using Shared.IOS.HDLCNVRSDK; |
| | | #endif |
| | | namespace HDL_ON.UI |
| | | { |
| | |
| | | |
| | | public class AddDevciePage : FrameLayout |
| | | { |
| | | #if __ANDROID__ |
| | | public class dddxx { } |
| | | #else |
| | | //大华摄像头sdk代理(Shared.IOS.HDLCNVRSDK) |
| | | hdlLCNVRSDKDelegate hdlLCNVRDelegate; |
| | | public class hdlLCNVRSDKDelegate : HDLLCNVRSDKDelegate |
| | | { |
| | | Action act; |
| | | public hdlLCNVRSDKDelegate(Action action) |
| | | { |
| | | act = action; |
| | | |
| | | |
| | | } |
| | | |
| | | public override void AddDeviceFailWithErrorCode(string errorCode) |
| | | { |
| | | |
| | | } |
| | | |
| | | public override void BackFromAddDeviceView() |
| | | { |
| | | act?.Invoke(); |
| | | } |
| | | } |
| | | #endif |
| | | FrameLayout bodyView; |
| | | IntegratedBrand brand; |
| | | VerticalRefreshLayout contentView; |
| | |
| | | |
| | | contentView = new VerticalRefreshLayout() |
| | | { |
| | | Y = Application.GetRealHeight(64+10), |
| | | Height = Application.GetRealHeight(667 - 64-10), |
| | | Y = Application.GetRealHeight(64 + 10), |
| | | Height = Application.GetRealHeight(667 - 64 - 10), |
| | | VerticalScrollBarEnabled = false, |
| | | }; |
| | | bodyView.AddChidren(contentView); |