From a924c1fa02d4f39fc6e12ac19b50d8179563180f Mon Sep 17 00:00:00 2001 From: fajiao <1519100073@qq.com> Date: Sun, 23 Jan 2022 17:45:02 +0800 Subject: [PATCH] first commit --- BaseModule/EC.App/Core/ApiController.cs | 11 + BaseModule/EC.App/Core/BLL.cs | 6 + BaseModule/EC.App/Core/IBLL.cs | 6 + BaseModule/EC.App/Core/IService.cs | 6 + BaseModule/EC.App/Core/Service.cs | 6 + BaseModule/EC.App/EC.App.csproj | 11 + BaseModule/EC.Onvif/Camera/Camera.cs | 47 + BaseModule/EC.Onvif/Camera/CameraManager.cs | 41 + BaseModule/EC.Onvif/Common/DataTypes.cs | 22862 ++++++++++++++++ BaseModule/EC.Onvif/Device/DataTypes.cs | 1736 ++ BaseModule/EC.Onvif/Device/DeviceClient.cs | 2934 ++ BaseModule/EC.Onvif/EC.Onvif.csproj | 12 + BaseModule/EC.Onvif/Imaging/DataTypes.cs | 144 + BaseModule/EC.Onvif/Imaging/ImagingClient.cs | 186 + BaseModule/EC.Onvif/Media/DataTypes.cs | 663 + BaseModule/EC.Onvif/Media/MediaClient.cs | 2126 ++ BaseModule/EC.Onvif/OnvifClient.cs | 191 + BaseModule/EC.Onvif/OnvifClientFactory.cs | 117 + BaseModule/EC.Onvif/PTZ/DataTypes.cs | 185 + BaseModule/EC.Onvif/PTZ/PTZClient.cs | 662 + .../EC.Onvif/RemoteDiscovery/Constants.cs | 27 + .../EC.Onvif/RemoteDiscovery/Discovery.cs | 187 + .../RemoteDiscovery/DiscoveryDevice.cs | 33 + .../RemoteDiscovery/ExtensionMethods.cs | 25 + .../RemoteDiscovery/OnvifUdpClient.cs | 140 + .../RemoteDiscovery/XmlProbeReponse.cs | 113 + .../EC.Onvif/Security/SoapSecurityHeader.cs | 82 + .../Security/SoapSecurityHeaderBehavior.cs | 42 + .../Security/SoapSecurityHeaderInspector.cs | 32 + BusinessModule/EC.App.Entity/Base/DictBase.cs | 42 + .../EC.App.Entity/EC.App.Entity.csproj | 11 + .../EC.App.Entity/Onvif/OnvifClientDict.cs | 9 + .../EC.App.ThatBLL/EC.App.ThatBLL.csproj | 13 + .../EC.App.ThatBLL/Onvif/CurdBLL.cs | 50 + .../EC.App.ThatBLL/Onvif/DeviceBLL.cs | 27 + .../EC.App.ThatBLL/Onvif/ImagingBLL.cs | 27 + .../EC.App.ThatBLL/Onvif/Impl/ICurdBLL.cs | 21 + .../EC.App.ThatBLL/Onvif/Impl/IDeviceBLL.cs | 19 + .../EC.App.ThatBLL/Onvif/Impl/IImagingBLL.cs | 19 + .../EC.App.ThatBLL/Onvif/Impl/IMediaBLL.cs | 19 + .../EC.App.ThatBLL/Onvif/Impl/IPTZBLL.cs | 61 + .../EC.App.ThatBLL/Onvif/MediaBLL.cs | 27 + BusinessModule/EC.App.ThatBLL/Onvif/PTZBLL.cs | 64 + .../EC.App.ThatService.csproj | 13 + .../Onvif/Impl/IOnvifClientService.cs | 9 + .../Onvif/OnvifClientService.cs | 44 + OnvifServer-CSharp.sln | 72 + OnvifSocketServer/OnvifSocketServer.csproj | 8 + OnvifSocketServer/Program.cs | 12 + .../Controllers/Onvif/CurdController.cs | 90 + .../Controllers/Onvif/DeviceController.cs | 44 + .../Controllers/Onvif/ImagingController.cs | 44 + .../Controllers/Onvif/MediaController.cs | 44 + .../Controllers/Onvif/PTZController.cs | 110 + .../Controllers/Onvif/TestController.cs | 40 + .../Extensions/RESTfulResultProvider.cs | 103 + OnvifWebServer/OnvifWebServer.csproj | 19 + OnvifWebServer/Program.cs | 22 + OnvifWebServer/Properties/launchSettings.json | 29 + OnvifWebServer/Startup.cs | 48 + OnvifWebServer/appsettings.Development.json | 9 + OnvifWebServer/appsettings.json | 20 + 62 files changed, 33822 insertions(+) create mode 100644 BaseModule/EC.App/Core/ApiController.cs create mode 100644 BaseModule/EC.App/Core/BLL.cs create mode 100644 BaseModule/EC.App/Core/IBLL.cs create mode 100644 BaseModule/EC.App/Core/IService.cs create mode 100644 BaseModule/EC.App/Core/Service.cs create mode 100644 BaseModule/EC.App/EC.App.csproj create mode 100644 BaseModule/EC.Onvif/Camera/Camera.cs create mode 100644 BaseModule/EC.Onvif/Camera/CameraManager.cs create mode 100644 BaseModule/EC.Onvif/Common/DataTypes.cs create mode 100644 BaseModule/EC.Onvif/Device/DataTypes.cs create mode 100644 BaseModule/EC.Onvif/Device/DeviceClient.cs create mode 100644 BaseModule/EC.Onvif/EC.Onvif.csproj create mode 100644 BaseModule/EC.Onvif/Imaging/DataTypes.cs create mode 100644 BaseModule/EC.Onvif/Imaging/ImagingClient.cs create mode 100644 BaseModule/EC.Onvif/Media/DataTypes.cs create mode 100644 BaseModule/EC.Onvif/Media/MediaClient.cs create mode 100644 BaseModule/EC.Onvif/OnvifClient.cs create mode 100644 BaseModule/EC.Onvif/OnvifClientFactory.cs create mode 100644 BaseModule/EC.Onvif/PTZ/DataTypes.cs create mode 100644 BaseModule/EC.Onvif/PTZ/PTZClient.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/Constants.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/Discovery.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/DiscoveryDevice.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/ExtensionMethods.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/OnvifUdpClient.cs create mode 100644 BaseModule/EC.Onvif/RemoteDiscovery/XmlProbeReponse.cs create mode 100644 BaseModule/EC.Onvif/Security/SoapSecurityHeader.cs create mode 100644 BaseModule/EC.Onvif/Security/SoapSecurityHeaderBehavior.cs create mode 100644 BaseModule/EC.Onvif/Security/SoapSecurityHeaderInspector.cs create mode 100644 BusinessModule/EC.App.Entity/Base/DictBase.cs create mode 100644 BusinessModule/EC.App.Entity/EC.App.Entity.csproj create mode 100644 BusinessModule/EC.App.Entity/Onvif/OnvifClientDict.cs create mode 100644 BusinessModule/EC.App.ThatBLL/EC.App.ThatBLL.csproj create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/CurdBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/DeviceBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/ImagingBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/Impl/ICurdBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/Impl/IDeviceBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/Impl/IImagingBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/Impl/IMediaBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/Impl/IPTZBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/MediaBLL.cs create mode 100644 BusinessModule/EC.App.ThatBLL/Onvif/PTZBLL.cs create mode 100644 BusinessModule/EC.App.ThatService/EC.App.ThatService.csproj create mode 100644 BusinessModule/EC.App.ThatService/Onvif/Impl/IOnvifClientService.cs create mode 100644 BusinessModule/EC.App.ThatService/Onvif/OnvifClientService.cs create mode 100644 OnvifServer-CSharp.sln create mode 100644 OnvifSocketServer/OnvifSocketServer.csproj create mode 100644 OnvifSocketServer/Program.cs create mode 100644 OnvifWebServer/Controllers/Onvif/CurdController.cs create mode 100644 OnvifWebServer/Controllers/Onvif/DeviceController.cs create mode 100644 OnvifWebServer/Controllers/Onvif/ImagingController.cs create mode 100644 OnvifWebServer/Controllers/Onvif/MediaController.cs create mode 100644 OnvifWebServer/Controllers/Onvif/PTZController.cs create mode 100644 OnvifWebServer/Controllers/Onvif/TestController.cs create mode 100644 OnvifWebServer/Extensions/RESTfulResultProvider.cs create mode 100644 OnvifWebServer/OnvifWebServer.csproj create mode 100644 OnvifWebServer/Program.cs create mode 100644 OnvifWebServer/Properties/launchSettings.json create mode 100644 OnvifWebServer/Startup.cs create mode 100644 OnvifWebServer/appsettings.Development.json create mode 100644 OnvifWebServer/appsettings.json diff --git a/BaseModule/EC.App/Core/ApiController.cs b/BaseModule/EC.App/Core/ApiController.cs new file mode 100644 index 0000000..255d9a5 --- /dev/null +++ b/BaseModule/EC.App/Core/ApiController.cs @@ -0,0 +1,11 @@ +using Furion.DynamicApiController; +using Microsoft.AspNetCore.Mvc; + +namespace EC.App.Core +{ + [ApiDescriptionSettings(false)] + [NonController] + public class ApiController : IDynamicApiController + { + } +} \ No newline at end of file diff --git a/BaseModule/EC.App/Core/BLL.cs b/BaseModule/EC.App/Core/BLL.cs new file mode 100644 index 0000000..125af19 --- /dev/null +++ b/BaseModule/EC.App/Core/BLL.cs @@ -0,0 +1,6 @@ +namespace EC.App.Core +{ + public class BLL : IBLL + { + } +} \ No newline at end of file diff --git a/BaseModule/EC.App/Core/IBLL.cs b/BaseModule/EC.App/Core/IBLL.cs new file mode 100644 index 0000000..ffceb26 --- /dev/null +++ b/BaseModule/EC.App/Core/IBLL.cs @@ -0,0 +1,6 @@ +namespace EC.App.Core +{ + public interface IBLL + { + } +} \ No newline at end of file diff --git a/BaseModule/EC.App/Core/IService.cs b/BaseModule/EC.App/Core/IService.cs new file mode 100644 index 0000000..679cbcb --- /dev/null +++ b/BaseModule/EC.App/Core/IService.cs @@ -0,0 +1,6 @@ +namespace EC.App.Core +{ + public interface IService + { + } +} \ No newline at end of file diff --git a/BaseModule/EC.App/Core/Service.cs b/BaseModule/EC.App/Core/Service.cs new file mode 100644 index 0000000..adb0ddd --- /dev/null +++ b/BaseModule/EC.App/Core/Service.cs @@ -0,0 +1,6 @@ +namespace EC.App.Core +{ + public class Service : IService + { + } +} \ No newline at end of file diff --git a/BaseModule/EC.App/EC.App.csproj b/BaseModule/EC.App/EC.App.csproj new file mode 100644 index 0000000..3002f92 --- /dev/null +++ b/BaseModule/EC.App/EC.App.csproj @@ -0,0 +1,11 @@ + + + + net5.0 + + + + + + + diff --git a/BaseModule/EC.Onvif/Camera/Camera.cs b/BaseModule/EC.Onvif/Camera/Camera.cs new file mode 100644 index 0000000..980a38a --- /dev/null +++ b/BaseModule/EC.Onvif/Camera/Camera.cs @@ -0,0 +1,47 @@ +namespace EC.Onvif.Camera +{ + public class Camera + { + public Camera() + { + } + + public Camera(string cameraIp, int port, string userName, string passWord) + { + CameraCode = cameraIp; + CameraIp = cameraIp; + Port = port; + UserName = userName; + PassWord = passWord; + } + + public string CameraCode { get; set; } + public string CameraIp { get; set; } + public int Port { get; set; } + public string UserName { get; set; } + public string PassWord { get; set; } + public int CameraType { get; set; } + public bool IsPtz { get; set; } + + public string PTZUrl { get; set; } + + /// + /// 是否登录 + /// + public bool logined { get; set; } + + public bool isConnected { get; set; } + public bool dataLoaded { get; set; } + + public object device { get; set; } + + public object media { get; set; } + public object ptz { get; set; } + public object imaging { get; set; } + public object caps { get; set; } + public bool absolute_move { get; set; } + public bool relative_move { get; set; } + public bool continuous_move { get; set; } + public bool focus { get; set; } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Camera/CameraManager.cs b/BaseModule/EC.Onvif/Camera/CameraManager.cs new file mode 100644 index 0000000..22075bd --- /dev/null +++ b/BaseModule/EC.Onvif/Camera/CameraManager.cs @@ -0,0 +1,41 @@ +using System.Collections.Generic; + +namespace EC.Onvif.Camera +{ + public class CameraManager + { + private Dictionary CameraList = new Dictionary(); + + public bool Add(Camera camera) + { + if (CameraList.ContainsKey(camera.CameraCode)) + { + return false; + } + else + { + CameraList.Add(camera.CameraCode, camera); + return true; + } + } + + public Camera GetCameraByCode(string cameraCode) + { + if (CameraList.ContainsKey(cameraCode)) + { + return CameraList[cameraCode]; + } + return null; + } + + public void Remove(Camera camera) + { + CameraList.Remove(camera.CameraCode); + } + + public void Remove(string cameraCode) + { + CameraList.Remove(cameraCode); + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Common/DataTypes.cs b/BaseModule/EC.Onvif/Common/DataTypes.cs new file mode 100644 index 0000000..c1d74f4 --- /dev/null +++ b/BaseModule/EC.Onvif/Common/DataTypes.cs @@ -0,0 +1,22862 @@ +using EC.Onvif.Device; + +namespace EC.Onvif.Common +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OnvifVersion + { + private int majorField; + + private int minorField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Major + { + get + { + return this.majorField; + } + set + { + this.majorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Minor + { + get + { + return this.minorField; + } + set + { + this.minorField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LocalOrientation + { + private System.Xml.Linq.XElement[] anyField; + + private float panField; + + private bool panFieldSpecified; + + private float tiltField; + + private bool tiltFieldSpecified; + + private float rollField; + + private bool rollFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float pan + { + get + { + return this.panField; + } + set + { + this.panField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool panSpecified + { + get + { + return this.panFieldSpecified; + } + set + { + this.panFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float tilt + { + get + { + return this.tiltField; + } + set + { + this.tiltField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool tiltSpecified + { + get + { + return this.tiltFieldSpecified; + } + set + { + this.tiltFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float roll + { + get + { + return this.rollField; + } + set + { + this.rollField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool rollSpecified + { + get + { + return this.rollFieldSpecified; + } + set + { + this.rollFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LocalLocation + { + private System.Xml.Linq.XElement[] anyField; + + private float xField; + + private bool xFieldSpecified; + + private float yField; + + private bool yFieldSpecified; + + private float zField; + + private bool zFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool xSpecified + { + get + { + return this.xFieldSpecified; + } + set + { + this.xFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ySpecified + { + get + { + return this.yFieldSpecified; + } + set + { + this.yFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float z + { + get + { + return this.zField; + } + set + { + this.zField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool zSpecified + { + get + { + return this.zFieldSpecified; + } + set + { + this.zFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class GeoOrientation + { + private System.Xml.Linq.XElement[] anyField; + + private float rollField; + + private bool rollFieldSpecified; + + private float pitchField; + + private bool pitchFieldSpecified; + + private float yawField; + + private bool yawFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float roll + { + get + { + return this.rollField; + } + set + { + this.rollField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool rollSpecified + { + get + { + return this.rollFieldSpecified; + } + set + { + this.rollFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float pitch + { + get + { + return this.pitchField; + } + set + { + this.pitchField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool pitchSpecified + { + get + { + return this.pitchFieldSpecified; + } + set + { + this.pitchFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float yaw + { + get + { + return this.yawField; + } + set + { + this.yawField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool yawSpecified + { + get + { + return this.yawFieldSpecified; + } + set + { + this.yawFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class GeoLocation + { + private System.Xml.Linq.XElement[] anyField; + + private double lonField; + + private bool lonFieldSpecified; + + private double latField; + + private bool latFieldSpecified; + + private float elevationField; + + private bool elevationFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public double lon + { + get + { + return this.lonField; + } + set + { + this.lonField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool lonSpecified + { + get + { + return this.lonFieldSpecified; + } + set + { + this.lonFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public double lat + { + get + { + return this.latField; + } + set + { + this.latField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool latSpecified + { + get + { + return this.latFieldSpecified; + } + set + { + this.latFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float elevation + { + get + { + return this.elevationField; + } + set + { + this.elevationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool elevationSpecified + { + get + { + return this.elevationFieldSpecified; + } + set + { + this.elevationFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LocationEntity + { + private GeoLocation geoLocationField; + + private GeoOrientation geoOrientationField; + + private LocalLocation localLocationField; + + private LocalOrientation localOrientationField; + + private string entityField; + + private string tokenField; + + private bool fixedField; + + private bool fixedFieldSpecified; + + private string geoSourceField; + + private bool autoGeoField; + + private bool autoGeoFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public GeoLocation GeoLocation + { + get + { + return this.geoLocationField; + } + set + { + this.geoLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public GeoOrientation GeoOrientation + { + get + { + return this.geoOrientationField; + } + set + { + this.geoOrientationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public LocalLocation LocalLocation + { + get + { + return this.localLocationField; + } + set + { + this.localLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public LocalOrientation LocalOrientation + { + get + { + return this.localOrientationField; + } + set + { + this.localOrientationField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Entity + { + get + { + return this.entityField; + } + set + { + this.entityField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Fixed + { + get + { + return this.fixedField; + } + set + { + this.fixedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FixedSpecified + { + get + { + return this.fixedFieldSpecified; + } + set + { + this.fixedFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")] + public string GeoSource + { + get + { + return this.geoSourceField; + } + set + { + this.geoSourceField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool AutoGeo + { + get + { + return this.autoGeoField; + } + set + { + this.autoGeoField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AutoGeoSpecified + { + get + { + return this.autoGeoFieldSpecified; + } + set + { + this.autoGeoFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemLogUri + { + private SystemLogType typeField; + + private string uriField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public SystemLogType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string Uri + { + get + { + return this.uriField; + } + set + { + this.uriField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum SystemLogType + { + /// + System, + + /// + Access, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11AvailableNetworksExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11AvailableNetworks + { + private byte[] sSIDField; + + private string bSSIDField; + + private Dot11AuthAndMangementSuite[] authAndMangementSuiteField; + + private Dot11Cipher[] pairCipherField; + + private Dot11Cipher[] groupCipherField; + + private Dot11SignalStrength signalStrengthField; + + private bool signalStrengthFieldSpecified; + + private Dot11AvailableNetworksExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "hexBinary", Order = 0)] + public byte[] SSID + { + get + { + return this.sSIDField; + } + set + { + this.sSIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string BSSID + { + get + { + return this.bSSIDField; + } + set + { + this.bSSIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("AuthAndMangementSuite", Order = 2)] + public Dot11AuthAndMangementSuite[] AuthAndMangementSuite + { + get + { + return this.authAndMangementSuiteField; + } + set + { + this.authAndMangementSuiteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PairCipher", Order = 3)] + public Dot11Cipher[] PairCipher + { + get + { + return this.pairCipherField; + } + set + { + this.pairCipherField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("GroupCipher", Order = 4)] + public Dot11Cipher[] GroupCipher + { + get + { + return this.groupCipherField; + } + set + { + this.groupCipherField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public Dot11SignalStrength SignalStrength + { + get + { + return this.signalStrengthField; + } + set + { + this.signalStrengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SignalStrengthSpecified + { + get + { + return this.signalStrengthFieldSpecified; + } + set + { + this.signalStrengthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public Dot11AvailableNetworksExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Dot11AuthAndMangementSuite + { + /// + None, + + /// + Dot1X, + + /// + PSK, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Dot11Cipher + { + /// + CCMP, + + /// + TKIP, + + /// + Any, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Dot11SignalStrength + { + /// + None, + + /// + [System.Xml.Serialization.XmlEnumAttribute("Very Bad")] + VeryBad, + + /// + Bad, + + /// + Good, + + /// + [System.Xml.Serialization.XmlEnumAttribute("Very Good")] + VeryGood, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11Status + { + private byte[] sSIDField; + + private string bSSIDField; + + private Dot11Cipher pairCipherField; + + private bool pairCipherFieldSpecified; + + private Dot11Cipher groupCipherField; + + private bool groupCipherFieldSpecified; + + private Dot11SignalStrength signalStrengthField; + + private bool signalStrengthFieldSpecified; + + private string activeConfigAliasField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "hexBinary", Order = 0)] + public byte[] SSID + { + get + { + return this.sSIDField; + } + set + { + this.sSIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string BSSID + { + get + { + return this.bSSIDField; + } + set + { + this.bSSIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Dot11Cipher PairCipher + { + get + { + return this.pairCipherField; + } + set + { + this.pairCipherField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PairCipherSpecified + { + get + { + return this.pairCipherFieldSpecified; + } + set + { + this.pairCipherFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public Dot11Cipher GroupCipher + { + get + { + return this.groupCipherField; + } + set + { + this.groupCipherField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GroupCipherSpecified + { + get + { + return this.groupCipherFieldSpecified; + } + set + { + this.groupCipherFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Dot11SignalStrength SignalStrength + { + get + { + return this.signalStrengthField; + } + set + { + this.signalStrengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SignalStrengthSpecified + { + get + { + return this.signalStrengthFieldSpecified; + } + set + { + this.signalStrengthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public string ActiveConfigAlias + { + get + { + return this.activeConfigAliasField; + } + set + { + this.activeConfigAliasField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 6)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11Capabilities + { + private bool tKIPField; + + private bool scanAvailableNetworksField; + + private bool multipleConfigurationField; + + private bool adHocStationModeField; + + private bool wEPField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool TKIP + { + get + { + return this.tKIPField; + } + set + { + this.tKIPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool ScanAvailableNetworks + { + get + { + return this.scanAvailableNetworksField; + } + set + { + this.scanAvailableNetworksField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool MultipleConfiguration + { + get + { + return this.multipleConfigurationField; + } + set + { + this.multipleConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool AdHocStationMode + { + get + { + return this.adHocStationModeField; + } + set + { + this.adHocStationModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public bool WEP + { + get + { + return this.wEPField; + } + set + { + this.wEPField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 5)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot1XConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EapMethodExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class TLSConfiguration + { + private string certificateIDField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string CertificateID + { + get + { + return this.certificateIDField; + } + set + { + this.certificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EAPMethodConfiguration + { + private TLSConfiguration tLSConfigurationField; + + private string passwordField; + + private EapMethodExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public TLSConfiguration TLSConfiguration + { + get + { + return this.tLSConfigurationField; + } + set + { + this.tLSConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public EapMethodExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot1XConfiguration + { + private string dot1XConfigurationTokenField; + + private string identityField; + + private string anonymousIDField; + + private int eAPMethodField; + + private string[] cACertificateIDField; + + private EAPMethodConfiguration eAPMethodConfigurationField; + + private Dot1XConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Dot1XConfigurationToken + { + get + { + return this.dot1XConfigurationTokenField; + } + set + { + this.dot1XConfigurationTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Identity + { + get + { + return this.identityField; + } + set + { + this.identityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string AnonymousID + { + get + { + return this.anonymousIDField; + } + set + { + this.anonymousIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public int EAPMethod + { + get + { + return this.eAPMethodField; + } + set + { + this.eAPMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("CACertificateID", DataType = "token", Order = 4)] + public string[] CACertificateID + { + get + { + return this.cACertificateIDField; + } + set + { + this.cACertificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public EAPMethodConfiguration EAPMethodConfiguration + { + get + { + return this.eAPMethodConfigurationField; + } + set + { + this.eAPMethodConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public Dot1XConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CertificateInformationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DateTimeRange + { + private System.DateTime fromField; + + private System.DateTime untilField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public System.DateTime From + { + get + { + return this.fromField; + } + set + { + this.fromField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public System.DateTime Until + { + get + { + return this.untilField; + } + set + { + this.untilField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CertificateUsage + { + private bool criticalField; + + private string valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Critical + { + get + { + return this.criticalField; + } + set + { + this.criticalField = value; + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CertificateInformation + { + private string certificateIDField; + + private string issuerDNField; + + private string subjectDNField; + + private CertificateUsage keyUsageField; + + private CertificateUsage extendedKeyUsageField; + + private int keyLengthField; + + private bool keyLengthFieldSpecified; + + private string versionField; + + private string serialNumField; + + private string signatureAlgorithmField; + + private DateTimeRange validityField; + + private CertificateInformationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string CertificateID + { + get + { + return this.certificateIDField; + } + set + { + this.certificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string IssuerDN + { + get + { + return this.issuerDNField; + } + set + { + this.issuerDNField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string SubjectDN + { + get + { + return this.subjectDNField; + } + set + { + this.subjectDNField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public CertificateUsage KeyUsage + { + get + { + return this.keyUsageField; + } + set + { + this.keyUsageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public CertificateUsage ExtendedKeyUsage + { + get + { + return this.extendedKeyUsageField; + } + set + { + this.extendedKeyUsageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public int KeyLength + { + get + { + return this.keyLengthField; + } + set + { + this.keyLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool KeyLengthSpecified + { + get + { + return this.keyLengthFieldSpecified; + } + set + { + this.keyLengthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public string Version + { + get + { + return this.versionField; + } + set + { + this.versionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public string SerialNum + { + get + { + return this.serialNumField; + } + set + { + this.serialNumField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public string SignatureAlgorithm + { + get + { + return this.signatureAlgorithmField; + } + set + { + this.signatureAlgorithmField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public DateTimeRange Validity + { + get + { + return this.validityField; + } + set + { + this.validityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public CertificateInformationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CertificateWithPrivateKey + { + private string certificateIDField; + + private BinaryData certificateField; + + private BinaryData privateKeyField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string CertificateID + { + get + { + return this.certificateIDField; + } + set + { + this.certificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public BinaryData Certificate + { + get + { + return this.certificateField; + } + set + { + this.certificateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public BinaryData PrivateKey + { + get + { + return this.privateKeyField; + } + set + { + this.privateKeyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class BinaryData + { + private byte[] dataField; + + private string contentTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary", Order = 0)] + public byte[] Data + { + get + { + return this.dataField; + } + set + { + this.dataField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "http://www.w3.org/2005/05/xmlmime")] + public string contentType + { + get + { + return this.contentTypeField; + } + set + { + this.contentTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CertificateStatus + { + private string certificateIDField; + + private bool statusField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string CertificateID + { + get + { + return this.certificateIDField; + } + set + { + this.certificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Certificate + { + private string certificateIDField; + + private BinaryData certificate1Field; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string CertificateID + { + get + { + return this.certificateIDField; + } + set + { + this.certificateIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Certificate", Order = 1)] + public BinaryData Certificate1 + { + get + { + return this.certificate1Field; + } + set + { + this.certificate1Field = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPAddressFilterExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPAddressFilter + { + private IPAddressFilterType typeField; + + private PrefixedIPv4Address[] iPv4AddressField; + + private PrefixedIPv6Address[] iPv6AddressField; + + private IPAddressFilterExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IPAddressFilterType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("IPv4Address", Order = 1)] + public PrefixedIPv4Address[] IPv4Address + { + get + { + return this.iPv4AddressField; + } + set + { + this.iPv4AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("IPv6Address", Order = 2)] + public PrefixedIPv6Address[] IPv6Address + { + get + { + return this.iPv6AddressField; + } + set + { + this.iPv6AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IPAddressFilterExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum IPAddressFilterType + { + /// + Allow, + + /// + Deny, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PrefixedIPv4Address + { + private string addressField; + + private int prefixLengthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string Address + { + get + { + return this.addressField; + } + set + { + this.addressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int PrefixLength + { + get + { + return this.prefixLengthField; + } + set + { + this.prefixLengthField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PrefixedIPv6Address + { + private string addressField; + + private int prefixLengthField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string Address + { + get + { + return this.addressField; + } + set + { + this.addressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int PrefixLength + { + get + { + return this.prefixLengthField; + } + set + { + this.prefixLengthField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkZeroConfigurationExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkZeroConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + private NetworkZeroConfiguration[] additionalField; + + private NetworkZeroConfigurationExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Additional", Order = 1)] + public NetworkZeroConfiguration[] Additional + { + get + { + return this.additionalField; + } + set + { + this.additionalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public NetworkZeroConfigurationExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkZeroConfiguration + { + private string interfaceTokenField; + + private bool enabledField; + + private string[] addressesField; + + private NetworkZeroConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string InterfaceToken + { + get + { + return this.interfaceTokenField; + } + set + { + this.interfaceTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Addresses", DataType = "token", Order = 2)] + public string[] Addresses + { + get + { + return this.addressesField; + } + set + { + this.addressesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public NetworkZeroConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkGateway + { + private string[] iPv4AddressField; + + private string[] iPv6AddressField; + + /// + [System.Xml.Serialization.XmlElementAttribute("IPv4Address", DataType = "token", Order = 0)] + public string[] IPv4Address + { + get + { + return this.iPv4AddressField; + } + set + { + this.iPv4AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("IPv6Address", DataType = "token", Order = 1)] + public string[] IPv6Address + { + get + { + return this.iPv6AddressField; + } + set + { + this.iPv6AddressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkProtocolExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkProtocol + { + private NetworkProtocolType nameField; + + private bool enabledField; + + private int[] portField; + + private NetworkProtocolExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public NetworkProtocolType Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Port", Order = 2)] + public int[] Port + { + get + { + return this.portField; + } + set + { + this.portField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public NetworkProtocolExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum NetworkProtocolType + { + /// + HTTP, + + /// + HTTPS, + + /// + RTSP, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceSetConfigurationExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceSetConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + private Dot3Configuration[] dot3Field; + + private Dot11Configuration[] dot11Field; + + private NetworkInterfaceSetConfigurationExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Dot3", Order = 1)] + public Dot3Configuration[] Dot3 + { + get + { + return this.dot3Field; + } + set + { + this.dot3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Dot11", Order = 2)] + public Dot11Configuration[] Dot11 + { + get + { + return this.dot11Field; + } + set + { + this.dot11Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public NetworkInterfaceSetConfigurationExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot3Configuration + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11Configuration + { + private byte[] sSIDField; + + private Dot11StationMode modeField; + + private string aliasField; + + private string priorityField; + + private Dot11SecurityConfiguration securityField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "hexBinary", Order = 0)] + public byte[] SSID + { + get + { + return this.sSIDField; + } + set + { + this.sSIDField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Dot11StationMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string Alias + { + get + { + return this.aliasField; + } + set + { + this.aliasField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 3)] + public string Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Dot11SecurityConfiguration Security + { + get + { + return this.securityField; + } + set + { + this.securityField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 5)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Dot11StationMode + { + /// + [System.Xml.Serialization.XmlEnumAttribute("Ad-hoc")] + Adhoc, + + /// + Infrastructure, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11SecurityConfiguration + { + private Dot11SecurityMode modeField; + + private Dot11Cipher algorithmField; + + private bool algorithmFieldSpecified; + + private Dot11PSKSet pSKField; + + private string dot1XField; + + private Dot11SecurityConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Dot11SecurityMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Dot11Cipher Algorithm + { + get + { + return this.algorithmField; + } + set + { + this.algorithmField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AlgorithmSpecified + { + get + { + return this.algorithmFieldSpecified; + } + set + { + this.algorithmFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Dot11PSKSet PSK + { + get + { + return this.pSKField; + } + set + { + this.pSKField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public string Dot1X + { + get + { + return this.dot1XField; + } + set + { + this.dot1XField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Dot11SecurityConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Dot11SecurityMode + { + /// + None, + + /// + WEP, + + /// + PSK, + + /// + Dot1X, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11PSKSet + { + private byte[] keyField; + + private string passphraseField; + + private Dot11PSKSetExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "hexBinary", Order = 0)] + public byte[] Key + { + get + { + return this.keyField; + } + set + { + this.keyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Passphrase + { + get + { + return this.passphraseField; + } + set + { + this.passphraseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Dot11PSKSetExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11PSKSetExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Dot11SecurityConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv6NetworkInterfaceSetConfiguration + { + private bool enabledField; + + private bool enabledFieldSpecified; + + private bool acceptRouterAdvertField; + + private bool acceptRouterAdvertFieldSpecified; + + private PrefixedIPv6Address[] manualField; + + private IPv6DHCPConfiguration dHCPField; + + private bool dHCPFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EnabledSpecified + { + get + { + return this.enabledFieldSpecified; + } + set + { + this.enabledFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool AcceptRouterAdvert + { + get + { + return this.acceptRouterAdvertField; + } + set + { + this.acceptRouterAdvertField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AcceptRouterAdvertSpecified + { + get + { + return this.acceptRouterAdvertFieldSpecified; + } + set + { + this.acceptRouterAdvertFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Manual", Order = 2)] + public PrefixedIPv6Address[] Manual + { + get + { + return this.manualField; + } + set + { + this.manualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IPv6DHCPConfiguration DHCP + { + get + { + return this.dHCPField; + } + set + { + this.dHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DHCPSpecified + { + get + { + return this.dHCPFieldSpecified; + } + set + { + this.dHCPFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum IPv6DHCPConfiguration + { + /// + Auto, + + /// + Stateful, + + /// + Stateless, + + /// + Off, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv4NetworkInterfaceSetConfiguration + { + private bool enabledField; + + private bool enabledFieldSpecified; + + private PrefixedIPv4Address[] manualField; + + private bool dHCPField; + + private bool dHCPFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EnabledSpecified + { + get + { + return this.enabledFieldSpecified; + } + set + { + this.enabledFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Manual", Order = 1)] + public PrefixedIPv4Address[] Manual + { + get + { + return this.manualField; + } + set + { + this.manualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool DHCP + { + get + { + return this.dHCPField; + } + set + { + this.dHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DHCPSpecified + { + get + { + return this.dHCPFieldSpecified; + } + set + { + this.dHCPFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceSetConfiguration + { + private bool enabledField; + + private bool enabledFieldSpecified; + + private NetworkInterfaceConnectionSetting linkField; + + private int mTUField; + + private bool mTUFieldSpecified; + + private IPv4NetworkInterfaceSetConfiguration iPv4Field; + + private IPv6NetworkInterfaceSetConfiguration iPv6Field; + + private NetworkInterfaceSetConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EnabledSpecified + { + get + { + return this.enabledFieldSpecified; + } + set + { + this.enabledFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public NetworkInterfaceConnectionSetting Link + { + get + { + return this.linkField; + } + set + { + this.linkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int MTU + { + get + { + return this.mTUField; + } + set + { + this.mTUField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MTUSpecified + { + get + { + return this.mTUFieldSpecified; + } + set + { + this.mTUFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IPv4NetworkInterfaceSetConfiguration IPv4 + { + get + { + return this.iPv4Field; + } + set + { + this.iPv4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public IPv6NetworkInterfaceSetConfiguration IPv6 + { + get + { + return this.iPv6Field; + } + set + { + this.iPv6Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public NetworkInterfaceSetConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceConnectionSetting + { + private bool autoNegotiationField; + + private int speedField; + + private Duplex duplexField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool AutoNegotiation + { + get + { + return this.autoNegotiationField; + } + set + { + this.autoNegotiationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Duplex Duplex + { + get + { + return this.duplexField; + } + set + { + this.duplexField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Duplex + { + /// + Full, + + /// + Half, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDImgConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDImgConfiguration + { + private string imgPathField; + + private OSDImgConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string ImgPath + { + get + { + return this.imgPathField; + } + set + { + this.imgPathField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public OSDImgConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDTextConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Color + { + private float xField; + + private float yField; + + private float zField; + + private string colorspaceField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float X + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float Y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float Z + { + get + { + return this.zField; + } + set + { + this.zField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")] + public string Colorspace + { + get + { + return this.colorspaceField; + } + set + { + this.colorspaceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDColor + { + private Color colorField; + + private int transparentField; + + private bool transparentFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Color Color + { + get + { + return this.colorField; + } + set + { + this.colorField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Transparent + { + get + { + return this.transparentField; + } + set + { + this.transparentField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TransparentSpecified + { + get + { + return this.transparentFieldSpecified; + } + set + { + this.transparentFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDTextConfiguration + { + private string typeField; + + private string dateFormatField; + + private string timeFormatField; + + private int fontSizeField; + + private bool fontSizeFieldSpecified; + + private OSDColor fontColorField; + + private OSDColor backgroundColorField; + + private string plainTextField; + + private OSDTextConfigurationExtension extensionField; + + private bool isPersistentTextField; + + private bool isPersistentTextFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string DateFormat + { + get + { + return this.dateFormatField; + } + set + { + this.dateFormatField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string TimeFormat + { + get + { + return this.timeFormatField; + } + set + { + this.timeFormatField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public int FontSize + { + get + { + return this.fontSizeField; + } + set + { + this.fontSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FontSizeSpecified + { + get + { + return this.fontSizeFieldSpecified; + } + set + { + this.fontSizeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public OSDColor FontColor + { + get + { + return this.fontColorField; + } + set + { + this.fontColorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public OSDColor BackgroundColor + { + get + { + return this.backgroundColorField; + } + set + { + this.backgroundColorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public string PlainText + { + get + { + return this.plainTextField; + } + set + { + this.plainTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public OSDTextConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool IsPersistentText + { + get + { + return this.isPersistentTextField; + } + set + { + this.isPersistentTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IsPersistentTextSpecified + { + get + { + return this.isPersistentTextFieldSpecified; + } + set + { + this.isPersistentTextFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDPosConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Vector + { + private float xField; + + private bool xFieldSpecified; + + private float yField; + + private bool yFieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool xSpecified + { + get + { + return this.xFieldSpecified; + } + set + { + this.xFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ySpecified + { + get + { + return this.yFieldSpecified; + } + set + { + this.yFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDPosConfiguration + { + private string typeField; + + private Vector posField; + + private OSDPosConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Vector Pos + { + get + { + return this.posField; + } + set + { + this.posField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public OSDPosConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDReference + { + private string valueField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZNodeExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourSupportedExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourSupported + { + private int maximumNumberOfPresetToursField; + + private PTZPresetTourOperation[] pTZPresetTourOperationField; + + private PTZPresetTourSupportedExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int MaximumNumberOfPresetTours + { + get + { + return this.maximumNumberOfPresetToursField; + } + set + { + this.maximumNumberOfPresetToursField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PTZPresetTourOperation", Order = 1)] + public PTZPresetTourOperation[] PTZPresetTourOperation + { + get + { + return this.pTZPresetTourOperationField; + } + set + { + this.pTZPresetTourOperationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZPresetTourSupportedExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum PTZPresetTourOperation + { + /// + Start, + + /// + Stop, + + /// + Pause, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZNodeExtension + { + private System.Xml.Linq.XElement[] anyField; + + private PTZPresetTourSupported supportedPresetTourField; + + private PTZNodeExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZPresetTourSupported SupportedPresetTour + { + get + { + return this.supportedPresetTourField; + } + set + { + this.supportedPresetTourField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZNodeExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZSpacesExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Space1DDescription + { + private string uRIField; + + private FloatRange xRangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string URI + { + get + { + return this.uRIField; + } + set + { + this.uRIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange XRange + { + get + { + return this.xRangeField; + } + set + { + this.xRangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FloatRange + { + private float minField; + + private float maxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Min + { + get + { + return this.minField; + } + set + { + this.minField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Max + { + get + { + return this.maxField; + } + set + { + this.maxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Space2DDescription + { + private string uRIField; + + private FloatRange xRangeField; + + private FloatRange yRangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string URI + { + get + { + return this.uRIField; + } + set + { + this.uRIField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange XRange + { + get + { + return this.xRangeField; + } + set + { + this.xRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange YRange + { + get + { + return this.yRangeField; + } + set + { + this.yRangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZSpaces + { + private Space2DDescription[] absolutePanTiltPositionSpaceField; + + private Space1DDescription[] absoluteZoomPositionSpaceField; + + private Space2DDescription[] relativePanTiltTranslationSpaceField; + + private Space1DDescription[] relativeZoomTranslationSpaceField; + + private Space2DDescription[] continuousPanTiltVelocitySpaceField; + + private Space1DDescription[] continuousZoomVelocitySpaceField; + + private Space1DDescription[] panTiltSpeedSpaceField; + + private Space1DDescription[] zoomSpeedSpaceField; + + private PTZSpacesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("AbsolutePanTiltPositionSpace", Order = 0)] + public Space2DDescription[] AbsolutePanTiltPositionSpace + { + get + { + return this.absolutePanTiltPositionSpaceField; + } + set + { + this.absolutePanTiltPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("AbsoluteZoomPositionSpace", Order = 1)] + public Space1DDescription[] AbsoluteZoomPositionSpace + { + get + { + return this.absoluteZoomPositionSpaceField; + } + set + { + this.absoluteZoomPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("RelativePanTiltTranslationSpace", Order = 2)] + public Space2DDescription[] RelativePanTiltTranslationSpace + { + get + { + return this.relativePanTiltTranslationSpaceField; + } + set + { + this.relativePanTiltTranslationSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("RelativeZoomTranslationSpace", Order = 3)] + public Space1DDescription[] RelativeZoomTranslationSpace + { + get + { + return this.relativeZoomTranslationSpaceField; + } + set + { + this.relativeZoomTranslationSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ContinuousPanTiltVelocitySpace", Order = 4)] + public Space2DDescription[] ContinuousPanTiltVelocitySpace + { + get + { + return this.continuousPanTiltVelocitySpaceField; + } + set + { + this.continuousPanTiltVelocitySpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ContinuousZoomVelocitySpace", Order = 5)] + public Space1DDescription[] ContinuousZoomVelocitySpace + { + get + { + return this.continuousZoomVelocitySpaceField; + } + set + { + this.continuousZoomVelocitySpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PanTiltSpeedSpace", Order = 6)] + public Space1DDescription[] PanTiltSpeedSpace + { + get + { + return this.panTiltSpeedSpaceField; + } + set + { + this.panTiltSpeedSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ZoomSpeedSpace", Order = 7)] + public Space1DDescription[] ZoomSpeedSpace + { + get + { + return this.zoomSpeedSpaceField; + } + set + { + this.zoomSpeedSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public PTZSpacesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RelayOutputSettings + { + private RelayMode modeField; + + private string delayTimeField; + + private RelayIdleState idleStateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public RelayMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 1)] + public string DelayTime + { + get + { + return this.delayTimeField; + } + set + { + this.delayTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public RelayIdleState IdleState + { + get + { + return this.idleStateField; + } + set + { + this.idleStateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum RelayMode + { + /// + Monostable, + + /// + Bistable, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum RelayIdleState + { + /// + closed, + + /// + open, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceExtension + { + private System.Xml.Linq.XElement[] anyField; + + private int interfaceTypeField; + + private Dot3Configuration[] dot3Field; + + private Dot11Configuration[] dot11Field; + + private NetworkInterfaceExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int InterfaceType + { + get + { + return this.interfaceTypeField; + } + set + { + this.interfaceTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Dot3", Order = 2)] + public Dot3Configuration[] Dot3 + { + get + { + return this.dot3Field; + } + set + { + this.dot3Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Dot11", Order = 3)] + public Dot11Configuration[] Dot11 + { + get + { + return this.dot11Field; + } + set + { + this.dot11Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public NetworkInterfaceExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv6ConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv6Configuration + { + private bool acceptRouterAdvertField; + + private bool acceptRouterAdvertFieldSpecified; + + private IPv6DHCPConfiguration dHCPField; + + private PrefixedIPv6Address[] manualField; + + private PrefixedIPv6Address[] linkLocalField; + + private PrefixedIPv6Address[] fromDHCPField; + + private PrefixedIPv6Address[] fromRAField; + + private IPv6ConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool AcceptRouterAdvert + { + get + { + return this.acceptRouterAdvertField; + } + set + { + this.acceptRouterAdvertField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AcceptRouterAdvertSpecified + { + get + { + return this.acceptRouterAdvertFieldSpecified; + } + set + { + this.acceptRouterAdvertFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IPv6DHCPConfiguration DHCP + { + get + { + return this.dHCPField; + } + set + { + this.dHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Manual", Order = 2)] + public PrefixedIPv6Address[] Manual + { + get + { + return this.manualField; + } + set + { + this.manualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("LinkLocal", Order = 3)] + public PrefixedIPv6Address[] LinkLocal + { + get + { + return this.linkLocalField; + } + set + { + this.linkLocalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("FromDHCP", Order = 4)] + public PrefixedIPv6Address[] FromDHCP + { + get + { + return this.fromDHCPField; + } + set + { + this.fromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("FromRA", Order = 5)] + public PrefixedIPv6Address[] FromRA + { + get + { + return this.fromRAField; + } + set + { + this.fromRAField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public IPv6ConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv6NetworkInterface + { + private bool enabledField; + + private IPv6Configuration configField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IPv6Configuration Config + { + get + { + return this.configField; + } + set + { + this.configField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv4Configuration + { + private PrefixedIPv4Address[] manualField; + + private PrefixedIPv4Address linkLocalField; + + private PrefixedIPv4Address fromDHCPField; + + private bool dHCPField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Manual", Order = 0)] + public PrefixedIPv4Address[] Manual + { + get + { + return this.manualField; + } + set + { + this.manualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PrefixedIPv4Address LinkLocal + { + get + { + return this.linkLocalField; + } + set + { + this.linkLocalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PrefixedIPv4Address FromDHCP + { + get + { + return this.fromDHCPField; + } + set + { + this.fromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool DHCP + { + get + { + return this.dHCPField; + } + set + { + this.dHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPv4NetworkInterface + { + private bool enabledField; + + private IPv4Configuration configField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IPv4Configuration Config + { + get + { + return this.configField; + } + set + { + this.configField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceLink + { + private NetworkInterfaceConnectionSetting adminSettingsField; + + private NetworkInterfaceConnectionSetting operSettingsField; + + private int interfaceTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public NetworkInterfaceConnectionSetting AdminSettings + { + get + { + return this.adminSettingsField; + } + set + { + this.adminSettingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public NetworkInterfaceConnectionSetting OperSettings + { + get + { + return this.operSettingsField; + } + set + { + this.operSettingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int InterfaceType + { + get + { + return this.interfaceTypeField; + } + set + { + this.interfaceTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterfaceInfo + { + private string nameField; + + private string hwAddressField; + + private int mTUField; + + private bool mTUFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 1)] + public string HwAddress + { + get + { + return this.hwAddressField; + } + set + { + this.hwAddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int MTU + { + get + { + return this.mTUField; + } + set + { + this.mTUField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MTUSpecified + { + get + { + return this.mTUFieldSpecified; + } + set + { + this.mTUFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoOutputExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LayoutExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PaneLayout + { + private string paneField; + + private Rectangle areaField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Pane + { + get + { + return this.paneField; + } + set + { + this.paneField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Rectangle Area + { + get + { + return this.areaField; + } + set + { + this.areaField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Rectangle + { + private float bottomField; + + private bool bottomFieldSpecified; + + private float topField; + + private bool topFieldSpecified; + + private float rightField; + + private bool rightFieldSpecified; + + private float leftField; + + private bool leftFieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float bottom + { + get + { + return this.bottomField; + } + set + { + this.bottomField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool bottomSpecified + { + get + { + return this.bottomFieldSpecified; + } + set + { + this.bottomFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float top + { + get + { + return this.topField; + } + set + { + this.topField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool topSpecified + { + get + { + return this.topFieldSpecified; + } + set + { + this.topFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float right + { + get + { + return this.rightField; + } + set + { + this.rightField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool rightSpecified + { + get + { + return this.rightFieldSpecified; + } + set + { + this.rightFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float left + { + get + { + return this.leftField; + } + set + { + this.leftField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool leftSpecified + { + get + { + return this.leftFieldSpecified; + } + set + { + this.leftFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Layout + { + private PaneLayout[] paneLayoutField; + + private LayoutExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("PaneLayout", Order = 0)] + public PaneLayout[] PaneLayout + { + get + { + return this.paneLayoutField; + } + set + { + this.paneLayoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public LayoutExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettingsExtension204 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NoiseReduction + { + private float levelField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DefoggingExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Defogging + { + private string modeField; + + private float levelField; + + private bool levelFieldSpecified; + + private DefoggingExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LevelSpecified + { + get + { + return this.levelFieldSpecified; + } + set + { + this.levelFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public DefoggingExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ToneCompensationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ToneCompensation + { + private string modeField; + + private float levelField; + + private bool levelFieldSpecified; + + private ToneCompensationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LevelSpecified + { + get + { + return this.levelFieldSpecified; + } + set + { + this.levelFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ToneCompensationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettingsExtension203 + { + private ToneCompensation toneCompensationField; + + private Defogging defoggingField; + + private NoiseReduction noiseReductionField; + + private ImagingSettingsExtension204 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ToneCompensation ToneCompensation + { + get + { + return this.toneCompensationField; + } + set + { + this.toneCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Defogging Defogging + { + get + { + return this.defoggingField; + } + set + { + this.defoggingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public NoiseReduction NoiseReduction + { + get + { + return this.noiseReductionField; + } + set + { + this.noiseReductionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public ImagingSettingsExtension204 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IrCutFilterAutoAdjustmentExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IrCutFilterAutoAdjustment + { + private string boundaryTypeField; + + private float boundaryOffsetField; + + private bool boundaryOffsetFieldSpecified; + + private string responseTimeField; + + private IrCutFilterAutoAdjustmentExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string BoundaryType + { + get + { + return this.boundaryTypeField; + } + set + { + this.boundaryTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float BoundaryOffset + { + get + { + return this.boundaryOffsetField; + } + set + { + this.boundaryOffsetField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BoundaryOffsetSpecified + { + get + { + return this.boundaryOffsetFieldSpecified; + } + set + { + this.boundaryOffsetFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 2)] + public string ResponseTime + { + get + { + return this.responseTimeField; + } + set + { + this.responseTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IrCutFilterAutoAdjustmentExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettingsExtension202 + { + private IrCutFilterAutoAdjustment[] irCutFilterAutoAdjustmentField; + + private ImagingSettingsExtension203 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("IrCutFilterAutoAdjustment", Order = 0)] + public IrCutFilterAutoAdjustment[] IrCutFilterAutoAdjustment + { + get + { + return this.irCutFilterAutoAdjustmentField; + } + set + { + this.irCutFilterAutoAdjustmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImagingSettingsExtension203 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImageStabilizationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImageStabilization + { + private ImageStabilizationMode modeField; + + private float levelField; + + private bool levelFieldSpecified; + + private ImageStabilizationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ImageStabilizationMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LevelSpecified + { + get + { + return this.levelFieldSpecified; + } + set + { + this.levelFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ImageStabilizationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ImageStabilizationMode + { + /// + OFF, + + /// + ON, + + /// + AUTO, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettingsExtension20 + { + private System.Xml.Linq.XElement[] anyField; + + private ImageStabilization imageStabilizationField; + + private ImagingSettingsExtension202 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImageStabilization ImageStabilization + { + get + { + return this.imageStabilizationField; + } + set + { + this.imageStabilizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ImagingSettingsExtension202 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WhiteBalance20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WhiteBalance20 + { + private WhiteBalanceMode modeField; + + private float crGainField; + + private bool crGainFieldSpecified; + + private float cbGainField; + + private bool cbGainFieldSpecified; + + private WhiteBalance20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public WhiteBalanceMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float CrGain + { + get + { + return this.crGainField; + } + set + { + this.crGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CrGainSpecified + { + get + { + return this.crGainFieldSpecified; + } + set + { + this.crGainFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float CbGain + { + get + { + return this.cbGainField; + } + set + { + this.cbGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool CbGainSpecified + { + get + { + return this.cbGainFieldSpecified; + } + set + { + this.cbGainFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public WhiteBalance20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum WhiteBalanceMode + { + /// + AUTO, + + /// + MANUAL, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WideDynamicRange20 + { + private WideDynamicMode modeField; + + private float levelField; + + private bool levelFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public WideDynamicMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LevelSpecified + { + get + { + return this.levelFieldSpecified; + } + set + { + this.levelFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum WideDynamicMode + { + /// + OFF, + + /// + ON, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusConfiguration20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusConfiguration20 + { + private AutoFocusMode autoFocusModeField; + + private float defaultSpeedField; + + private bool defaultSpeedFieldSpecified; + + private float nearLimitField; + + private bool nearLimitFieldSpecified; + + private float farLimitField; + + private bool farLimitFieldSpecified; + + private FocusConfiguration20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AutoFocusMode AutoFocusMode + { + get + { + return this.autoFocusModeField; + } + set + { + this.autoFocusModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float DefaultSpeed + { + get + { + return this.defaultSpeedField; + } + set + { + this.defaultSpeedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DefaultSpeedSpecified + { + get + { + return this.defaultSpeedFieldSpecified; + } + set + { + this.defaultSpeedFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float NearLimit + { + get + { + return this.nearLimitField; + } + set + { + this.nearLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NearLimitSpecified + { + get + { + return this.nearLimitFieldSpecified; + } + set + { + this.nearLimitFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float FarLimit + { + get + { + return this.farLimitField; + } + set + { + this.farLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FarLimitSpecified + { + get + { + return this.farLimitFieldSpecified; + } + set + { + this.farLimitFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public FocusConfiguration20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum AutoFocusMode + { + /// + AUTO, + + /// + MANUAL, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Exposure20 + { + private ExposureMode modeField; + + private ExposurePriority priorityField; + + private bool priorityFieldSpecified; + + private Rectangle windowField; + + private float minExposureTimeField; + + private bool minExposureTimeFieldSpecified; + + private float maxExposureTimeField; + + private bool maxExposureTimeFieldSpecified; + + private float minGainField; + + private bool minGainFieldSpecified; + + private float maxGainField; + + private bool maxGainFieldSpecified; + + private float minIrisField; + + private bool minIrisFieldSpecified; + + private float maxIrisField; + + private bool maxIrisFieldSpecified; + + private float exposureTimeField; + + private bool exposureTimeFieldSpecified; + + private float gainField; + + private bool gainFieldSpecified; + + private float irisField; + + private bool irisFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ExposureMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ExposurePriority Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PrioritySpecified + { + get + { + return this.priorityFieldSpecified; + } + set + { + this.priorityFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Rectangle Window + { + get + { + return this.windowField; + } + set + { + this.windowField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float MinExposureTime + { + get + { + return this.minExposureTimeField; + } + set + { + this.minExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MinExposureTimeSpecified + { + get + { + return this.minExposureTimeFieldSpecified; + } + set + { + this.minExposureTimeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public float MaxExposureTime + { + get + { + return this.maxExposureTimeField; + } + set + { + this.maxExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxExposureTimeSpecified + { + get + { + return this.maxExposureTimeFieldSpecified; + } + set + { + this.maxExposureTimeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public float MinGain + { + get + { + return this.minGainField; + } + set + { + this.minGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MinGainSpecified + { + get + { + return this.minGainFieldSpecified; + } + set + { + this.minGainFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public float MaxGain + { + get + { + return this.maxGainField; + } + set + { + this.maxGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxGainSpecified + { + get + { + return this.maxGainFieldSpecified; + } + set + { + this.maxGainFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public float MinIris + { + get + { + return this.minIrisField; + } + set + { + this.minIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MinIrisSpecified + { + get + { + return this.minIrisFieldSpecified; + } + set + { + this.minIrisFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public float MaxIris + { + get + { + return this.maxIrisField; + } + set + { + this.maxIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxIrisSpecified + { + get + { + return this.maxIrisFieldSpecified; + } + set + { + this.maxIrisFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public float ExposureTime + { + get + { + return this.exposureTimeField; + } + set + { + this.exposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ExposureTimeSpecified + { + get + { + return this.exposureTimeFieldSpecified; + } + set + { + this.exposureTimeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public float Gain + { + get + { + return this.gainField; + } + set + { + this.gainField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GainSpecified + { + get + { + return this.gainFieldSpecified; + } + set + { + this.gainFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 11)] + public float Iris + { + get + { + return this.irisField; + } + set + { + this.irisField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IrisSpecified + { + get + { + return this.irisFieldSpecified; + } + set + { + this.irisFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ExposureMode + { + /// + AUTO, + + /// + MANUAL, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ExposurePriority + { + /// + LowNoise, + + /// + FrameRate, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class BacklightCompensation20 + { + private BacklightCompensationMode modeField; + + private float levelField; + + private bool levelFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public BacklightCompensationMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool LevelSpecified + { + get + { + return this.levelFieldSpecified; + } + set + { + this.levelFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum BacklightCompensationMode + { + /// + OFF, + + /// + ON, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettings20 + { + private BacklightCompensation20 backlightCompensationField; + + private float brightnessField; + + private bool brightnessFieldSpecified; + + private float colorSaturationField; + + private bool colorSaturationFieldSpecified; + + private float contrastField; + + private bool contrastFieldSpecified; + + private Exposure20 exposureField; + + private FocusConfiguration20 focusField; + + private IrCutFilterMode irCutFilterField; + + private bool irCutFilterFieldSpecified; + + private float sharpnessField; + + private bool sharpnessFieldSpecified; + + private WideDynamicRange20 wideDynamicRangeField; + + private WhiteBalance20 whiteBalanceField; + + private ImagingSettingsExtension20 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public BacklightCompensation20 BacklightCompensation + { + get + { + return this.backlightCompensationField; + } + set + { + this.backlightCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Brightness + { + get + { + return this.brightnessField; + } + set + { + this.brightnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BrightnessSpecified + { + get + { + return this.brightnessFieldSpecified; + } + set + { + this.brightnessFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float ColorSaturation + { + get + { + return this.colorSaturationField; + } + set + { + this.colorSaturationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ColorSaturationSpecified + { + get + { + return this.colorSaturationFieldSpecified; + } + set + { + this.colorSaturationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float Contrast + { + get + { + return this.contrastField; + } + set + { + this.contrastField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ContrastSpecified + { + get + { + return this.contrastFieldSpecified; + } + set + { + this.contrastFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Exposure20 Exposure + { + get + { + return this.exposureField; + } + set + { + this.exposureField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public FocusConfiguration20 Focus + { + get + { + return this.focusField; + } + set + { + this.focusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public IrCutFilterMode IrCutFilter + { + get + { + return this.irCutFilterField; + } + set + { + this.irCutFilterField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IrCutFilterSpecified + { + get + { + return this.irCutFilterFieldSpecified; + } + set + { + this.irCutFilterFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public float Sharpness + { + get + { + return this.sharpnessField; + } + set + { + this.sharpnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SharpnessSpecified + { + get + { + return this.sharpnessFieldSpecified; + } + set + { + this.sharpnessFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public WideDynamicRange20 WideDynamicRange + { + get + { + return this.wideDynamicRangeField; + } + set + { + this.wideDynamicRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public WhiteBalance20 WhiteBalance + { + get + { + return this.whiteBalanceField; + } + set + { + this.whiteBalanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public ImagingSettingsExtension20 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum IrCutFilterMode + { + /// + ON, + + /// + OFF, + + /// + AUTO, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceExtension + { + private System.Xml.Linq.XElement[] anyField; + + private ImagingSettings20 imagingField; + + private VideoSourceExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImagingSettings20 Imaging + { + get + { + return this.imagingField; + } + set + { + this.imagingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public VideoSourceExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettingsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WhiteBalance + { + private WhiteBalanceMode modeField; + + private float crGainField; + + private float cbGainField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public WhiteBalanceMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float CrGain + { + get + { + return this.crGainField; + } + set + { + this.crGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float CbGain + { + get + { + return this.cbGainField; + } + set + { + this.cbGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WideDynamicRange + { + private WideDynamicMode modeField; + + private float levelField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public WideDynamicMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusConfiguration + { + private AutoFocusMode autoFocusModeField; + + private float defaultSpeedField; + + private float nearLimitField; + + private float farLimitField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AutoFocusMode AutoFocusMode + { + get + { + return this.autoFocusModeField; + } + set + { + this.autoFocusModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float DefaultSpeed + { + get + { + return this.defaultSpeedField; + } + set + { + this.defaultSpeedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float NearLimit + { + get + { + return this.nearLimitField; + } + set + { + this.nearLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float FarLimit + { + get + { + return this.farLimitField; + } + set + { + this.farLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Exposure + { + private ExposureMode modeField; + + private ExposurePriority priorityField; + + private Rectangle windowField; + + private float minExposureTimeField; + + private float maxExposureTimeField; + + private float minGainField; + + private float maxGainField; + + private float minIrisField; + + private float maxIrisField; + + private float exposureTimeField; + + private float gainField; + + private float irisField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ExposureMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ExposurePriority Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Rectangle Window + { + get + { + return this.windowField; + } + set + { + this.windowField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float MinExposureTime + { + get + { + return this.minExposureTimeField; + } + set + { + this.minExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public float MaxExposureTime + { + get + { + return this.maxExposureTimeField; + } + set + { + this.maxExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public float MinGain + { + get + { + return this.minGainField; + } + set + { + this.minGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public float MaxGain + { + get + { + return this.maxGainField; + } + set + { + this.maxGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public float MinIris + { + get + { + return this.minIrisField; + } + set + { + this.minIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public float MaxIris + { + get + { + return this.maxIrisField; + } + set + { + this.maxIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public float ExposureTime + { + get + { + return this.exposureTimeField; + } + set + { + this.exposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public float Gain + { + get + { + return this.gainField; + } + set + { + this.gainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 11)] + public float Iris + { + get + { + return this.irisField; + } + set + { + this.irisField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class BacklightCompensation + { + private BacklightCompensationMode modeField; + + private float levelField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public BacklightCompensationMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingSettings + { + private BacklightCompensation backlightCompensationField; + + private float brightnessField; + + private bool brightnessFieldSpecified; + + private float colorSaturationField; + + private bool colorSaturationFieldSpecified; + + private float contrastField; + + private bool contrastFieldSpecified; + + private Exposure exposureField; + + private FocusConfiguration focusField; + + private IrCutFilterMode irCutFilterField; + + private bool irCutFilterFieldSpecified; + + private float sharpnessField; + + private bool sharpnessFieldSpecified; + + private WideDynamicRange wideDynamicRangeField; + + private WhiteBalance whiteBalanceField; + + private ImagingSettingsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public BacklightCompensation BacklightCompensation + { + get + { + return this.backlightCompensationField; + } + set + { + this.backlightCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Brightness + { + get + { + return this.brightnessField; + } + set + { + this.brightnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BrightnessSpecified + { + get + { + return this.brightnessFieldSpecified; + } + set + { + this.brightnessFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float ColorSaturation + { + get + { + return this.colorSaturationField; + } + set + { + this.colorSaturationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ColorSaturationSpecified + { + get + { + return this.colorSaturationFieldSpecified; + } + set + { + this.colorSaturationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float Contrast + { + get + { + return this.contrastField; + } + set + { + this.contrastField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ContrastSpecified + { + get + { + return this.contrastFieldSpecified; + } + set + { + this.contrastFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Exposure Exposure + { + get + { + return this.exposureField; + } + set + { + this.exposureField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public FocusConfiguration Focus + { + get + { + return this.focusField; + } + set + { + this.focusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public IrCutFilterMode IrCutFilter + { + get + { + return this.irCutFilterField; + } + set + { + this.irCutFilterField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IrCutFilterSpecified + { + get + { + return this.irCutFilterFieldSpecified; + } + set + { + this.irCutFilterFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public float Sharpness + { + get + { + return this.sharpnessField; + } + set + { + this.sharpnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SharpnessSpecified + { + get + { + return this.sharpnessFieldSpecified; + } + set + { + this.sharpnessFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public WideDynamicRange WideDynamicRange + { + get + { + return this.wideDynamicRangeField; + } + set + { + this.wideDynamicRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public WhiteBalance WhiteBalance + { + get + { + return this.whiteBalanceField; + } + set + { + this.whiteBalanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public ImagingSettingsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoResolution + { + private int widthField; + + private int heightField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Width + { + get + { + return this.widthField; + } + set + { + this.widthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Height + { + get + { + return this.heightField; + } + set + { + this.heightField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(OSDConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PTZNode))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(DigitalInput))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(RelayOutput))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NetworkInterface))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioOutput))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoOutput))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioSource))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoSource))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(StorageConfiguration))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DeviceEntity + { + private string tokenField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDConfiguration : DeviceEntity + { + private OSDReference videoSourceConfigurationTokenField; + + private OSDType typeField; + + private OSDPosConfiguration positionField; + + private OSDTextConfiguration textStringField; + + private OSDImgConfiguration imageField; + + private OSDConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public OSDReference VideoSourceConfigurationToken + { + get + { + return this.videoSourceConfigurationTokenField; + } + set + { + this.videoSourceConfigurationTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public OSDType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public OSDPosConfiguration Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public OSDTextConfiguration TextString + { + get + { + return this.textStringField; + } + set + { + this.textStringField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public OSDImgConfiguration Image + { + get + { + return this.imageField; + } + set + { + this.imageField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public OSDConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum OSDType + { + /// + Text, + + /// + Image, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZNode : DeviceEntity + { + private string nameField; + + private PTZSpaces supportedPTZSpacesField; + + private int maximumNumberOfPresetsField; + + private bool homeSupportedField; + + private string[] auxiliaryCommandsField; + + private PTZNodeExtension extensionField; + + private bool fixedHomePositionField; + + private bool fixedHomePositionFieldSpecified; + + private bool geoMoveField; + + private bool geoMoveFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZSpaces SupportedPTZSpaces + { + get + { + return this.supportedPTZSpacesField; + } + set + { + this.supportedPTZSpacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int MaximumNumberOfPresets + { + get + { + return this.maximumNumberOfPresetsField; + } + set + { + this.maximumNumberOfPresetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool HomeSupported + { + get + { + return this.homeSupportedField; + } + set + { + this.homeSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("AuxiliaryCommands", Order = 4)] + public string[] AuxiliaryCommands + { + get + { + return this.auxiliaryCommandsField; + } + set + { + this.auxiliaryCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public PTZNodeExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool FixedHomePosition + { + get + { + return this.fixedHomePositionField; + } + set + { + this.fixedHomePositionField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FixedHomePositionSpecified + { + get + { + return this.fixedHomePositionFieldSpecified; + } + set + { + this.fixedHomePositionFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool GeoMove + { + get + { + return this.geoMoveField; + } + set + { + this.geoMoveField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GeoMoveSpecified + { + get + { + return this.geoMoveFieldSpecified; + } + set + { + this.geoMoveFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DigitalInput : DeviceEntity + { + private System.Xml.Linq.XElement[] anyField; + + private DigitalIdleState idleStateField; + + private bool idleStateFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public DigitalIdleState IdleState + { + get + { + return this.idleStateField; + } + set + { + this.idleStateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IdleStateSpecified + { + get + { + return this.idleStateFieldSpecified; + } + set + { + this.idleStateFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum DigitalIdleState + { + /// + closed, + + /// + open, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RelayOutput : DeviceEntity + { + private RelayOutputSettings propertiesField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public RelayOutputSettings Properties + { + get + { + return this.propertiesField; + } + set + { + this.propertiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkInterface : DeviceEntity + { + private bool enabledField; + + private NetworkInterfaceInfo infoField; + + private NetworkInterfaceLink linkField; + + private IPv4NetworkInterface iPv4Field; + + private IPv6NetworkInterface iPv6Field; + + private NetworkInterfaceExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public NetworkInterfaceInfo Info + { + get + { + return this.infoField; + } + set + { + this.infoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public NetworkInterfaceLink Link + { + get + { + return this.linkField; + } + set + { + this.linkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IPv4NetworkInterface IPv4 + { + get + { + return this.iPv4Field; + } + set + { + this.iPv4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public IPv6NetworkInterface IPv6 + { + get + { + return this.iPv6Field; + } + set + { + this.iPv6Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public NetworkInterfaceExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioOutput : DeviceEntity + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoOutput : DeviceEntity + { + private Layout layoutField; + + private VideoResolution resolutionField; + + private float refreshRateField; + + private bool refreshRateFieldSpecified; + + private float aspectRatioField; + + private bool aspectRatioFieldSpecified; + + private VideoOutputExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Layout Layout + { + get + { + return this.layoutField; + } + set + { + this.layoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoResolution Resolution + { + get + { + return this.resolutionField; + } + set + { + this.resolutionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float RefreshRate + { + get + { + return this.refreshRateField; + } + set + { + this.refreshRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RefreshRateSpecified + { + get + { + return this.refreshRateFieldSpecified; + } + set + { + this.refreshRateFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public float AspectRatio + { + get + { + return this.aspectRatioField; + } + set + { + this.aspectRatioField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AspectRatioSpecified + { + get + { + return this.aspectRatioFieldSpecified; + } + set + { + this.aspectRatioFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public VideoOutputExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioSource : DeviceEntity + { + private int channelsField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Channels + { + get + { + return this.channelsField; + } + set + { + this.channelsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSource : DeviceEntity + { + private float framerateField; + + private VideoResolution resolutionField; + + private ImagingSettings imagingField; + + private VideoSourceExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Framerate + { + get + { + return this.framerateField; + } + set + { + this.framerateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoResolution Resolution + { + get + { + return this.resolutionField; + } + set + { + this.resolutionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ImagingSettings Imaging + { + get + { + return this.imagingField; + } + set + { + this.imagingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public VideoSourceExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DynamicDNSInformationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DynamicDNSInformation + { + private DynamicDNSType typeField; + + private string nameField; + + private string tTLField; + + private DynamicDNSInformationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public DynamicDNSType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 2)] + public string TTL + { + get + { + return this.tTLField; + } + set + { + this.tTLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public DynamicDNSInformationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum DynamicDNSType + { + /// + NoUpdate, + + /// + ClientUpdates, + + /// + ServerUpdates, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NTPInformationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NTPInformation + { + private bool fromDHCPField; + + private NetworkHost[] nTPFromDHCPField; + + private NetworkHost[] nTPManualField; + + private NTPInformationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool FromDHCP + { + get + { + return this.fromDHCPField; + } + set + { + this.fromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NTPFromDHCP", Order = 1)] + public NetworkHost[] NTPFromDHCP + { + get + { + return this.nTPFromDHCPField; + } + set + { + this.nTPFromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NTPManual", Order = 2)] + public NetworkHost[] NTPManual + { + get + { + return this.nTPManualField; + } + set + { + this.nTPManualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public NTPInformationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkHost + { + private NetworkHostType typeField; + + private string iPv4AddressField; + + private string iPv6AddressField; + + private string dNSnameField; + + private NetworkHostExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public NetworkHostType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 1)] + public string IPv4Address + { + get + { + return this.iPv4AddressField; + } + set + { + this.iPv4AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 2)] + public string IPv6Address + { + get + { + return this.iPv6AddressField; + } + set + { + this.iPv6AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 3)] + public string DNSname + { + get + { + return this.dNSnameField; + } + set + { + this.dNSnameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public NetworkHostExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum NetworkHostType + { + /// + IPv4, + + /// + IPv6, + + /// + DNS, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkHostExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DNSInformationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IPAddress + { + private IPType typeField; + + private string iPv4AddressField; + + private string iPv6AddressField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IPType Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 1)] + public string IPv4Address + { + get + { + return this.iPv4AddressField; + } + set + { + this.iPv4AddressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 2)] + public string IPv6Address + { + get + { + return this.iPv6AddressField; + } + set + { + this.iPv6AddressField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum IPType + { + /// + IPv4, + + /// + IPv6, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DNSInformation + { + private bool fromDHCPField; + + private string[] searchDomainField; + + private IPAddress[] dNSFromDHCPField; + + private IPAddress[] dNSManualField; + + private DNSInformationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool FromDHCP + { + get + { + return this.fromDHCPField; + } + set + { + this.fromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("SearchDomain", DataType = "token", Order = 1)] + public string[] SearchDomain + { + get + { + return this.searchDomainField; + } + set + { + this.searchDomainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DNSFromDHCP", Order = 2)] + public IPAddress[] DNSFromDHCP + { + get + { + return this.dNSFromDHCPField; + } + set + { + this.dNSFromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DNSManual", Order = 3)] + public IPAddress[] DNSManual + { + get + { + return this.dNSManualField; + } + set + { + this.dNSManualField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public DNSInformationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class HostnameInformationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class HostnameInformation + { + private bool fromDHCPField; + + private string nameField; + + private HostnameInformationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool FromDHCP + { + get + { + return this.fromDHCPField; + } + set + { + this.fromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 1)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public HostnameInformationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CapabilitiesExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsDeviceExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsDeviceCapabilities + { + private string xAddrField; + + private bool ruleSupportField; + + private bool ruleSupportFieldSpecified; + + private AnalyticsDeviceExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool RuleSupport + { + get + { + return this.ruleSupportField; + } + set + { + this.ruleSupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RuleSupportSpecified + { + get + { + return this.ruleSupportFieldSpecified; + } + set + { + this.ruleSupportFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public AnalyticsDeviceExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ReceiverCapabilities + { + private string xAddrField; + + private bool rTP_MulticastField; + + private bool rTP_TCPField; + + private bool rTP_RTSP_TCPField; + + private int supportedReceiversField; + + private int maximumRTSPURILengthField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool RTP_Multicast + { + get + { + return this.rTP_MulticastField; + } + set + { + this.rTP_MulticastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool RTP_TCP + { + get + { + return this.rTP_TCPField; + } + set + { + this.rTP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool RTP_RTSP_TCP + { + get + { + return this.rTP_RTSP_TCPField; + } + set + { + this.rTP_RTSP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public int SupportedReceivers + { + get + { + return this.supportedReceiversField; + } + set + { + this.supportedReceiversField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public int MaximumRTSPURILength + { + get + { + return this.maximumRTSPURILengthField; + } + set + { + this.maximumRTSPURILengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 6)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ReplayCapabilities + { + private string xAddrField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SearchCapabilities + { + private string xAddrField; + + private bool metadataSearchField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool MetadataSearch + { + get + { + return this.metadataSearchField; + } + set + { + this.metadataSearchField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RecordingCapabilities + { + private string xAddrField; + + private bool receiverSourceField; + + private bool mediaProfileSourceField; + + private bool dynamicRecordingsField; + + private bool dynamicTracksField; + + private int maxStringLengthField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool ReceiverSource + { + get + { + return this.receiverSourceField; + } + set + { + this.receiverSourceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool MediaProfileSource + { + get + { + return this.mediaProfileSourceField; + } + set + { + this.mediaProfileSourceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool DynamicRecordings + { + get + { + return this.dynamicRecordingsField; + } + set + { + this.dynamicRecordingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public bool DynamicTracks + { + get + { + return this.dynamicTracksField; + } + set + { + this.dynamicTracksField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public int MaxStringLength + { + get + { + return this.maxStringLengthField; + } + set + { + this.maxStringLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 6)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DisplayCapabilities + { + private string xAddrField; + + private bool fixedLayoutField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool FixedLayout + { + get + { + return this.fixedLayoutField; + } + set + { + this.fixedLayoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DeviceIOCapabilities + { + private string xAddrField; + + private int videoSourcesField; + + private int videoOutputsField; + + private int audioSourcesField; + + private int audioOutputsField; + + private int relayOutputsField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int VideoSources + { + get + { + return this.videoSourcesField; + } + set + { + this.videoSourcesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int VideoOutputs + { + get + { + return this.videoOutputsField; + } + set + { + this.videoOutputsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public int AudioSources + { + get + { + return this.audioSourcesField; + } + set + { + this.audioSourcesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public int AudioOutputs + { + get + { + return this.audioOutputsField; + } + set + { + this.audioOutputsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public int RelayOutputs + { + get + { + return this.relayOutputsField; + } + set + { + this.relayOutputsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 6)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class CapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + private DeviceIOCapabilities deviceIOField; + + private DisplayCapabilities displayField; + + private RecordingCapabilities recordingField; + + private SearchCapabilities searchField; + + private ReplayCapabilities replayField; + + private ReceiverCapabilities receiverField; + + private AnalyticsDeviceCapabilities analyticsDeviceField; + + private CapabilitiesExtension2 extensionsField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DeviceIOCapabilities DeviceIO + { + get + { + return this.deviceIOField; + } + set + { + this.deviceIOField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public DisplayCapabilities Display + { + get + { + return this.displayField; + } + set + { + this.displayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public RecordingCapabilities Recording + { + get + { + return this.recordingField; + } + set + { + this.recordingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public SearchCapabilities Search + { + get + { + return this.searchField; + } + set + { + this.searchField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public ReplayCapabilities Replay + { + get + { + return this.replayField; + } + set + { + this.replayField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public ReceiverCapabilities Receiver + { + get + { + return this.receiverField; + } + set + { + this.receiverField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public AnalyticsDeviceCapabilities AnalyticsDevice + { + get + { + return this.analyticsDeviceField; + } + set + { + this.analyticsDeviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public CapabilitiesExtension2 Extensions + { + get + { + return this.extensionsField; + } + set + { + this.extensionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZCapabilities + { + private string xAddrField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ProfileCapabilities + { + private int maximumNumberOfProfilesField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int MaximumNumberOfProfiles + { + get + { + return this.maximumNumberOfProfilesField; + } + set + { + this.maximumNumberOfProfilesField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MediaCapabilitiesExtension + { + private ProfileCapabilities profileCapabilitiesField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ProfileCapabilities ProfileCapabilities + { + get + { + return this.profileCapabilitiesField; + } + set + { + this.profileCapabilitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RealTimeStreamingCapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RealTimeStreamingCapabilities + { + private bool rTPMulticastField; + + private bool rTPMulticastFieldSpecified; + + private bool rTP_TCPField; + + private bool rTP_TCPFieldSpecified; + + private bool rTP_RTSP_TCPField; + + private bool rTP_RTSP_TCPFieldSpecified; + + private RealTimeStreamingCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool RTPMulticast + { + get + { + return this.rTPMulticastField; + } + set + { + this.rTPMulticastField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTPMulticastSpecified + { + get + { + return this.rTPMulticastFieldSpecified; + } + set + { + this.rTPMulticastFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool RTP_TCP + { + get + { + return this.rTP_TCPField; + } + set + { + this.rTP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTP_TCPSpecified + { + get + { + return this.rTP_TCPFieldSpecified; + } + set + { + this.rTP_TCPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool RTP_RTSP_TCP + { + get + { + return this.rTP_RTSP_TCPField; + } + set + { + this.rTP_RTSP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTP_RTSP_TCPSpecified + { + get + { + return this.rTP_RTSP_TCPFieldSpecified; + } + set + { + this.rTP_RTSP_TCPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public RealTimeStreamingCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MediaCapabilities + { + private string xAddrField; + + private RealTimeStreamingCapabilities streamingCapabilitiesField; + + private System.Xml.Linq.XElement[] anyField; + + private MediaCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RealTimeStreamingCapabilities StreamingCapabilities + { + get + { + return this.streamingCapabilitiesField; + } + set + { + this.streamingCapabilitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public MediaCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingCapabilities + { + private string xAddrField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EventCapabilities + { + private string xAddrField; + + private bool wSSubscriptionPolicySupportField; + + private bool wSPullPointSupportField; + + private bool wSPausableSubscriptionManagerInterfaceSupportField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool WSSubscriptionPolicySupport + { + get + { + return this.wSSubscriptionPolicySupportField; + } + set + { + this.wSSubscriptionPolicySupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool WSPullPointSupport + { + get + { + return this.wSPullPointSupportField; + } + set + { + this.wSPullPointSupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool WSPausableSubscriptionManagerInterfaceSupport + { + get + { + return this.wSPausableSubscriptionManagerInterfaceSupportField; + } + set + { + this.wSPausableSubscriptionManagerInterfaceSupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DeviceCapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SecurityCapabilitiesExtension2 + { + private bool dot1XField; + + private int[] supportedEAPMethodField; + + private bool remoteUserHandlingField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Dot1X + { + get + { + return this.dot1XField; + } + set + { + this.dot1XField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("SupportedEAPMethod", Order = 1)] + public int[] SupportedEAPMethod + { + get + { + return this.supportedEAPMethodField; + } + set + { + this.supportedEAPMethodField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool RemoteUserHandling + { + get + { + return this.remoteUserHandlingField; + } + set + { + this.remoteUserHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SecurityCapabilitiesExtension + { + private bool tLS10Field; + + private SecurityCapabilitiesExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("TLS1.0", Order = 0)] + public bool TLS10 + { + get + { + return this.tLS10Field; + } + set + { + this.tLS10Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public SecurityCapabilitiesExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SecurityCapabilities", Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SecurityCapabilities1 + { + private bool tLS11Field; + + private bool tLS12Field; + + private bool onboardKeyGenerationField; + + private bool accessPolicyConfigField; + + private bool x509TokenField; + + private bool sAMLTokenField; + + private bool kerberosTokenField; + + private bool rELTokenField; + + private System.Xml.Linq.XElement[] anyField; + + private SecurityCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("TLS1.1", Order = 0)] + public bool TLS11 + { + get + { + return this.tLS11Field; + } + set + { + this.tLS11Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("TLS1.2", Order = 1)] + public bool TLS12 + { + get + { + return this.tLS12Field; + } + set + { + this.tLS12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool OnboardKeyGeneration + { + get + { + return this.onboardKeyGenerationField; + } + set + { + this.onboardKeyGenerationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool AccessPolicyConfig + { + get + { + return this.accessPolicyConfigField; + } + set + { + this.accessPolicyConfigField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("X.509Token", Order = 4)] + public bool X509Token + { + get + { + return this.x509TokenField; + } + set + { + this.x509TokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public bool SAMLToken + { + get + { + return this.sAMLTokenField; + } + set + { + this.sAMLTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public bool KerberosToken + { + get + { + return this.kerberosTokenField; + } + set + { + this.kerberosTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public bool RELToken + { + get + { + return this.rELTokenField; + } + set + { + this.rELTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 8)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public SecurityCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IOCapabilitiesExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IOCapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + private bool auxiliaryField; + + private bool auxiliaryFieldSpecified; + + private string[] auxiliaryCommandsField; + + private IOCapabilitiesExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Auxiliary + { + get + { + return this.auxiliaryField; + } + set + { + this.auxiliaryField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AuxiliarySpecified + { + get + { + return this.auxiliaryFieldSpecified; + } + set + { + this.auxiliaryFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("AuxiliaryCommands", Order = 2)] + public string[] AuxiliaryCommands + { + get + { + return this.auxiliaryCommandsField; + } + set + { + this.auxiliaryCommandsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IOCapabilitiesExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IOCapabilities + { + private int inputConnectorsField; + + private bool inputConnectorsFieldSpecified; + + private int relayOutputsField; + + private bool relayOutputsFieldSpecified; + + private IOCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int InputConnectors + { + get + { + return this.inputConnectorsField; + } + set + { + this.inputConnectorsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool InputConnectorsSpecified + { + get + { + return this.inputConnectorsFieldSpecified; + } + set + { + this.inputConnectorsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int RelayOutputs + { + get + { + return this.relayOutputsField; + } + set + { + this.relayOutputsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RelayOutputsSpecified + { + get + { + return this.relayOutputsFieldSpecified; + } + set + { + this.relayOutputsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IOCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemCapabilitiesExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemCapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + private bool httpFirmwareUpgradeField; + + private bool httpFirmwareUpgradeFieldSpecified; + + private bool httpSystemBackupField; + + private bool httpSystemBackupFieldSpecified; + + private bool httpSystemLoggingField; + + private bool httpSystemLoggingFieldSpecified; + + private bool httpSupportInformationField; + + private bool httpSupportInformationFieldSpecified; + + private SystemCapabilitiesExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool HttpFirmwareUpgrade + { + get + { + return this.httpFirmwareUpgradeField; + } + set + { + this.httpFirmwareUpgradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpFirmwareUpgradeSpecified + { + get + { + return this.httpFirmwareUpgradeFieldSpecified; + } + set + { + this.httpFirmwareUpgradeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool HttpSystemBackup + { + get + { + return this.httpSystemBackupField; + } + set + { + this.httpSystemBackupField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSystemBackupSpecified + { + get + { + return this.httpSystemBackupFieldSpecified; + } + set + { + this.httpSystemBackupFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool HttpSystemLogging + { + get + { + return this.httpSystemLoggingField; + } + set + { + this.httpSystemLoggingField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSystemLoggingSpecified + { + get + { + return this.httpSystemLoggingFieldSpecified; + } + set + { + this.httpSystemLoggingFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public bool HttpSupportInformation + { + get + { + return this.httpSupportInformationField; + } + set + { + this.httpSupportInformationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSupportInformationSpecified + { + get + { + return this.httpSupportInformationFieldSpecified; + } + set + { + this.httpSupportInformationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public SystemCapabilitiesExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SystemCapabilities", Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemCapabilities1 + { + private bool discoveryResolveField; + + private bool discoveryByeField; + + private bool remoteDiscoveryField; + + private bool systemBackupField; + + private bool systemLoggingField; + + private bool firmwareUpgradeField; + + private OnvifVersion[] supportedVersionsField; + + private SystemCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool DiscoveryResolve + { + get + { + return this.discoveryResolveField; + } + set + { + this.discoveryResolveField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool DiscoveryBye + { + get + { + return this.discoveryByeField; + } + set + { + this.discoveryByeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool RemoteDiscovery + { + get + { + return this.remoteDiscoveryField; + } + set + { + this.remoteDiscoveryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool SystemBackup + { + get + { + return this.systemBackupField; + } + set + { + this.systemBackupField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public bool SystemLogging + { + get + { + return this.systemLoggingField; + } + set + { + this.systemLoggingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public bool FirmwareUpgrade + { + get + { + return this.firmwareUpgradeField; + } + set + { + this.firmwareUpgradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("SupportedVersions", Order = 6)] + public OnvifVersion[] SupportedVersions + { + get + { + return this.supportedVersionsField; + } + set + { + this.supportedVersionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public SystemCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkCapabilitiesExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkCapabilitiesExtension + { + private System.Xml.Linq.XElement[] anyField; + + private bool dot11ConfigurationField; + + private bool dot11ConfigurationFieldSpecified; + + private NetworkCapabilitiesExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Dot11Configuration + { + get + { + return this.dot11ConfigurationField; + } + set + { + this.dot11ConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Dot11ConfigurationSpecified + { + get + { + return this.dot11ConfigurationFieldSpecified; + } + set + { + this.dot11ConfigurationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public NetworkCapabilitiesExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(TypeName = "NetworkCapabilities", Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NetworkCapabilities1 + { + private bool iPFilterField; + + private bool iPFilterFieldSpecified; + + private bool zeroConfigurationField; + + private bool zeroConfigurationFieldSpecified; + + private bool iPVersion6Field; + + private bool iPVersion6FieldSpecified; + + private bool dynDNSField; + + private bool dynDNSFieldSpecified; + + private NetworkCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool IPFilter + { + get + { + return this.iPFilterField; + } + set + { + this.iPFilterField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IPFilterSpecified + { + get + { + return this.iPFilterFieldSpecified; + } + set + { + this.iPFilterFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool ZeroConfiguration + { + get + { + return this.zeroConfigurationField; + } + set + { + this.zeroConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ZeroConfigurationSpecified + { + get + { + return this.zeroConfigurationFieldSpecified; + } + set + { + this.zeroConfigurationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool IPVersion6 + { + get + { + return this.iPVersion6Field; + } + set + { + this.iPVersion6Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IPVersion6Specified + { + get + { + return this.iPVersion6FieldSpecified; + } + set + { + this.iPVersion6FieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool DynDNS + { + get + { + return this.dynDNSField; + } + set + { + this.dynDNSField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DynDNSSpecified + { + get + { + return this.dynDNSFieldSpecified; + } + set + { + this.dynDNSFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public NetworkCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DeviceCapabilities + { + private string xAddrField; + + private NetworkCapabilities1 networkField; + + private SystemCapabilities1 systemField; + + private IOCapabilities ioField; + + private SecurityCapabilities1 securityField; + + private DeviceCapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public NetworkCapabilities1 Network + { + get + { + return this.networkField; + } + set + { + this.networkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public SystemCapabilities1 System + { + get + { + return this.systemField; + } + set + { + this.systemField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IOCapabilities IO + { + get + { + return this.ioField; + } + set + { + this.ioField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public SecurityCapabilities1 Security + { + get + { + return this.securityField; + } + set + { + this.securityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public DeviceCapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsCapabilities + { + private string xAddrField; + + private bool ruleSupportField; + + private bool analyticsModuleSupportField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool RuleSupport + { + get + { + return this.ruleSupportField; + } + set + { + this.ruleSupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool AnalyticsModuleSupport + { + get + { + return this.analyticsModuleSupportField; + } + set + { + this.analyticsModuleSupportField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Capabilities + { + private AnalyticsCapabilities analyticsField; + + private DeviceCapabilities deviceField; + + private EventCapabilities eventsField; + + private ImagingCapabilities imagingField; + + private MediaCapabilities mediaField; + + private PTZCapabilities pTZField; + + private CapabilitiesExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AnalyticsCapabilities Analytics + { + get + { + return this.analyticsField; + } + set + { + this.analyticsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DeviceCapabilities Device + { + get + { + return this.deviceField; + } + set + { + this.deviceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public EventCapabilities Events + { + get + { + return this.eventsField; + } + set + { + this.eventsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public ImagingCapabilities Imaging + { + get + { + return this.imagingField; + } + set + { + this.imagingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public MediaCapabilities Media + { + get + { + return this.mediaField; + } + set + { + this.mediaField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public PTZCapabilities PTZ + { + get + { + return this.pTZField; + } + set + { + this.pTZField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public CapabilitiesExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class UserExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class User + { + private string usernameField; + + private string passwordField; + + private UserLevel userLevelField; + + private UserExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Username + { + get + { + return this.usernameField; + } + set + { + this.usernameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public UserLevel UserLevel + { + get + { + return this.userLevelField; + } + set + { + this.userLevelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public UserExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum UserLevel + { + /// + Administrator, + + /// + Operator, + + /// + User, + + /// + Anonymous, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RemoteUser + { + private string usernameField; + + private string passwordField; + + private bool useDerivedPasswordField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Username + { + get + { + return this.usernameField; + } + set + { + this.usernameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool UseDerivedPassword + { + get + { + return this.useDerivedPasswordField; + } + set + { + this.useDerivedPasswordField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Scope + { + private ScopeDefinition scopeDefField; + + private string scopeItemField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ScopeDefinition ScopeDef + { + get + { + return this.scopeDefField; + } + set + { + this.scopeDefField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string ScopeItem + { + get + { + return this.scopeItemField; + } + set + { + this.scopeItemField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ScopeDefinition + { + /// + Fixed, + + /// + Configurable, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SupportInformation + { + private AttachmentData binaryField; + + private string stringField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AttachmentData Binary + { + get + { + return this.binaryField; + } + set + { + this.binaryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string String + { + get + { + return this.stringField; + } + set + { + this.stringField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AttachmentData + { + private Include includeField; + + private string contentTypeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace = "http://www.w3.org/2004/08/xop/include", Order = 0)] + public Include Include + { + get + { + return this.includeField; + } + set + { + this.includeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified, Namespace = "http://www.w3.org/2005/05/xmlmime")] + public string contentType + { + get + { + return this.contentTypeField; + } + set + { + this.contentTypeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.w3.org/2004/08/xop/include")] + public partial class Include + { + private System.Xml.Linq.XElement[] anyField; + + private string hrefField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")] + public string href + { + get + { + return this.hrefField; + } + set + { + this.hrefField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemLog + { + private AttachmentData binaryField; + + private string stringField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AttachmentData Binary + { + get + { + return this.binaryField; + } + set + { + this.binaryField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string String + { + get + { + return this.stringField; + } + set + { + this.stringField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class BackupFile + { + private string nameField; + + private AttachmentData dataField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AttachmentData Data + { + get + { + return this.dataField; + } + set + { + this.dataField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemDateTimeExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SystemDateTime + { + private SetDateTimeType dateTimeTypeField; + + private bool daylightSavingsField; + + private TimeZone timeZoneField; + + private DateTime uTCDateTimeField; + + private DateTime localDateTimeField; + + private SystemDateTimeExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public SetDateTimeType DateTimeType + { + get + { + return this.dateTimeTypeField; + } + set + { + this.dateTimeTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool DaylightSavings + { + get + { + return this.daylightSavingsField; + } + set + { + this.daylightSavingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public TimeZone TimeZone + { + get + { + return this.timeZoneField; + } + set + { + this.timeZoneField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public DateTime UTCDateTime + { + get + { + return this.uTCDateTimeField; + } + set + { + this.uTCDateTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public DateTime LocalDateTime + { + get + { + return this.localDateTimeField; + } + set + { + this.localDateTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public SystemDateTimeExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum SetDateTimeType + { + /// + Manual, + + /// + NTP, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class TimeZone + { + private string tzField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "token", Order = 0)] + public string TZ + { + get + { + return this.tzField; + } + set + { + this.tzField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DateTime + { + private Time timeField; + + private Date dateField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Time Time + { + get + { + return this.timeField; + } + set + { + this.timeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Date Date + { + get + { + return this.dateField; + } + set + { + this.dateField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Time + { + private int hourField; + + private int minuteField; + + private int secondField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Hour + { + get + { + return this.hourField; + } + set + { + this.hourField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Minute + { + get + { + return this.minuteField; + } + set + { + this.minuteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int Second + { + get + { + return this.secondField; + } + set + { + this.secondField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Date + { + private int yearField; + + private int monthField; + + private int dayField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Year + { + get + { + return this.yearField; + } + set + { + this.yearField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Month + { + get + { + return this.monthField; + } + set + { + this.monthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int Day + { + get + { + return this.dayField; + } + set + { + this.dayField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum FactoryDefaultType + { + /// + Hard, + + /// + Soft, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum DiscoveryMode + { + /// + Discoverable, + + /// + NonDiscoverable, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum CapabilityCategory + { + /// + All, + + /// + Analytics, + + /// + Device, + + /// + Events, + + /// + Imaging, + + /// + Media, + + /// + PTZ, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum RelayLogicalState + { + /// + active, + + /// + inactive, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDConfigurationOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDImgOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDImgOptions + { + private string[] imagePathField; + + private OSDImgOptionsExtension extensionField; + + private string[] formatsSupportedField; + + private int maxSizeField; + + private bool maxSizeFieldSpecified; + + private int maxWidthField; + + private bool maxWidthFieldSpecified; + + private int maxHeightField; + + private bool maxHeightFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute("ImagePath", DataType = "anyURI", Order = 0)] + public string[] ImagePath + { + get + { + return this.imagePathField; + } + set + { + this.imagePathField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public OSDImgOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string[] FormatsSupported + { + get + { + return this.formatsSupportedField; + } + set + { + this.formatsSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxSize + { + get + { + return this.maxSizeField; + } + set + { + this.maxSizeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxSizeSpecified + { + get + { + return this.maxSizeFieldSpecified; + } + set + { + this.maxSizeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxWidth + { + get + { + return this.maxWidthField; + } + set + { + this.maxWidthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxWidthSpecified + { + get + { + return this.maxWidthFieldSpecified; + } + set + { + this.maxWidthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxHeight + { + get + { + return this.maxHeightField; + } + set + { + this.maxHeightField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxHeightSpecified + { + get + { + return this.maxHeightFieldSpecified; + } + set + { + this.maxHeightFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDTextOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDColorOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ColorspaceRange + { + private FloatRange xField; + + private FloatRange yField; + + private FloatRange zField; + + private string colorspaceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FloatRange X + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange Z + { + get + { + return this.zField; + } + set + { + this.zField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 3)] + public string Colorspace + { + get + { + return this.colorspaceField; + } + set + { + this.colorspaceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ColorOptions + { + private object[] itemsField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ColorList", typeof(Color), Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("ColorspaceRange", typeof(ColorspaceRange), Order = 0)] + public object[] Items + { + get + { + return this.itemsField; + } + set + { + this.itemsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDColorOptions + { + private ColorOptions colorField; + + private IntRange transparentField; + + private OSDColorOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ColorOptions Color + { + get + { + return this.colorField; + } + set + { + this.colorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange Transparent + { + get + { + return this.transparentField; + } + set + { + this.transparentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public OSDColorOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IntRange + { + private int minField; + + private int maxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Min + { + get + { + return this.minField; + } + set + { + this.minField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Max + { + get + { + return this.maxField; + } + set + { + this.maxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDTextOptions + { + private string[] typeField; + + private IntRange fontSizeRangeField; + + private string[] dateFormatField; + + private string[] timeFormatField; + + private OSDColorOptions fontColorField; + + private OSDColorOptions backgroundColorField; + + private OSDTextOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Type", Order = 0)] + public string[] Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange FontSizeRange + { + get + { + return this.fontSizeRangeField; + } + set + { + this.fontSizeRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DateFormat", Order = 2)] + public string[] DateFormat + { + get + { + return this.dateFormatField; + } + set + { + this.dateFormatField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("TimeFormat", Order = 3)] + public string[] TimeFormat + { + get + { + return this.timeFormatField; + } + set + { + this.timeFormatField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public OSDColorOptions FontColor + { + get + { + return this.fontColorField; + } + set + { + this.fontColorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public OSDColorOptions BackgroundColor + { + get + { + return this.backgroundColorField; + } + set + { + this.backgroundColorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public OSDTextOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MaximumNumberOfOSDs + { + private int totalField; + + private int imageField; + + private bool imageFieldSpecified; + + private int plainTextField; + + private bool plainTextFieldSpecified; + + private int dateField; + + private bool dateFieldSpecified; + + private int timeField; + + private bool timeFieldSpecified; + + private int dateAndTimeField; + + private bool dateAndTimeFieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Total + { + get + { + return this.totalField; + } + set + { + this.totalField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Image + { + get + { + return this.imageField; + } + set + { + this.imageField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ImageSpecified + { + get + { + return this.imageFieldSpecified; + } + set + { + this.imageFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int PlainText + { + get + { + return this.plainTextField; + } + set + { + this.plainTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PlainTextSpecified + { + get + { + return this.plainTextFieldSpecified; + } + set + { + this.plainTextFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Date + { + get + { + return this.dateField; + } + set + { + this.dateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DateSpecified + { + get + { + return this.dateFieldSpecified; + } + set + { + this.dateFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Time + { + get + { + return this.timeField; + } + set + { + this.timeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TimeSpecified + { + get + { + return this.timeFieldSpecified; + } + set + { + this.timeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int DateAndTime + { + get + { + return this.dateAndTimeField; + } + set + { + this.dateAndTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DateAndTimeSpecified + { + get + { + return this.dateAndTimeFieldSpecified; + } + set + { + this.dateAndTimeFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class OSDConfigurationOptions + { + private MaximumNumberOfOSDs maximumNumberOfOSDsField; + + private OSDType[] typeField; + + private string[] positionOptionField; + + private OSDTextOptions textOptionField; + + private OSDImgOptions imageOptionField; + + private OSDConfigurationOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public MaximumNumberOfOSDs MaximumNumberOfOSDs + { + get + { + return this.maximumNumberOfOSDsField; + } + set + { + this.maximumNumberOfOSDsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Type", Order = 1)] + public OSDType[] Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("PositionOption", Order = 2)] + public string[] PositionOption + { + get + { + return this.positionOptionField; + } + set + { + this.positionOptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public OSDTextOptions TextOption + { + get + { + return this.textOptionField; + } + set + { + this.textOptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public OSDImgOptions ImageOption + { + get + { + return this.imageOptionField; + } + set + { + this.imageOptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public OSDConfigurationOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MediaUri + { + private string uriField; + + private bool invalidAfterConnectField; + + private bool invalidAfterRebootField; + + private string timeoutField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string Uri + { + get + { + return this.uriField; + } + set + { + this.uriField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool InvalidAfterConnect + { + get + { + return this.invalidAfterConnectField; + } + set + { + this.invalidAfterConnectField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool InvalidAfterReboot + { + get + { + return this.invalidAfterRebootField; + } + set + { + this.invalidAfterRebootField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 3)] + public string Timeout + { + get + { + return this.timeoutField; + } + set + { + this.timeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Transport + { + private TransportProtocol protocolField; + + private Transport tunnelField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public TransportProtocol Protocol + { + get + { + return this.protocolField; + } + set + { + this.protocolField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Transport Tunnel + { + get + { + return this.tunnelField; + } + set + { + this.tunnelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum TransportProtocol + { + /// + UDP, + + /// + TCP, + + /// + RTSP, + + /// + HTTP, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class StreamSetup + { + private StreamType streamField; + + private Transport transportField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public StreamType Stream + { + get + { + return this.streamField; + } + set + { + this.streamField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Transport Transport + { + get + { + return this.transportField; + } + set + { + this.transportField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum StreamType + { + /// + [System.Xml.Serialization.XmlEnumAttribute("RTP-Unicast")] + RTPUnicast, + + /// + [System.Xml.Serialization.XmlEnumAttribute("RTP-Multicast")] + RTPMulticast, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioDecoderConfigurationOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class G726DecOptions + { + private int[] bitrateField; + + private int[] sampleRateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] Bitrate + { + get + { + return this.bitrateField; + } + set + { + this.bitrateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 1)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] SampleRateRange + { + get + { + return this.sampleRateRangeField; + } + set + { + this.sampleRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class G711DecOptions + { + private int[] bitrateField; + + private int[] sampleRateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] Bitrate + { + get + { + return this.bitrateField; + } + set + { + this.bitrateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 1)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] SampleRateRange + { + get + { + return this.sampleRateRangeField; + } + set + { + this.sampleRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AACDecOptions + { + private int[] bitrateField; + + private int[] sampleRateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] Bitrate + { + get + { + return this.bitrateField; + } + set + { + this.bitrateField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 1)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] SampleRateRange + { + get + { + return this.sampleRateRangeField; + } + set + { + this.sampleRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioDecoderConfigurationOptions + { + private AACDecOptions aACDecOptionsField; + + private G711DecOptions g711DecOptionsField; + + private G726DecOptions g726DecOptionsField; + + private AudioDecoderConfigurationOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AACDecOptions AACDecOptions + { + get + { + return this.aACDecOptionsField; + } + set + { + this.aACDecOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public G711DecOptions G711DecOptions + { + get + { + return this.g711DecOptionsField; + } + set + { + this.g711DecOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public G726DecOptions G726DecOptions + { + get + { + return this.g726DecOptionsField; + } + set + { + this.g726DecOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public AudioDecoderConfigurationOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioOutputConfigurationOptions + { + private string[] outputTokensAvailableField; + + private string[] sendPrimacyOptionsField; + + private IntRange outputLevelRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("OutputTokensAvailable", Order = 0)] + public string[] OutputTokensAvailable + { + get + { + return this.outputTokensAvailableField; + } + set + { + this.outputTokensAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("SendPrimacyOptions", DataType = "anyURI", Order = 1)] + public string[] SendPrimacyOptions + { + get + { + return this.sendPrimacyOptionsField; + } + set + { + this.sendPrimacyOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IntRange OutputLevelRange + { + get + { + return this.outputLevelRangeField; + } + set + { + this.outputLevelRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataConfigurationOptionsExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataConfigurationOptionsExtension + { + private string[] compressionTypeField; + + private MetadataConfigurationOptionsExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("CompressionType", Order = 0)] + public string[] CompressionType + { + get + { + return this.compressionTypeField; + } + set + { + this.compressionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public MetadataConfigurationOptionsExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZStatusFilterOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZStatusFilterOptions + { + private bool panTiltStatusSupportedField; + + private bool zoomStatusSupportedField; + + private System.Xml.Linq.XElement[] anyField; + + private bool panTiltPositionSupportedField; + + private bool panTiltPositionSupportedFieldSpecified; + + private bool zoomPositionSupportedField; + + private bool zoomPositionSupportedFieldSpecified; + + private PTZStatusFilterOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool PanTiltStatusSupported + { + get + { + return this.panTiltStatusSupportedField; + } + set + { + this.panTiltStatusSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool ZoomStatusSupported + { + get + { + return this.zoomStatusSupportedField; + } + set + { + this.zoomStatusSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool PanTiltPositionSupported + { + get + { + return this.panTiltPositionSupportedField; + } + set + { + this.panTiltPositionSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PanTiltPositionSupportedSpecified + { + get + { + return this.panTiltPositionSupportedFieldSpecified; + } + set + { + this.panTiltPositionSupportedFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public bool ZoomPositionSupported + { + get + { + return this.zoomPositionSupportedField; + } + set + { + this.zoomPositionSupportedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ZoomPositionSupportedSpecified + { + get + { + return this.zoomPositionSupportedFieldSpecified; + } + set + { + this.zoomPositionSupportedFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public PTZStatusFilterOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataConfigurationOptions + { + private PTZStatusFilterOptions pTZStatusFilterOptionsField; + + private System.Xml.Linq.XElement[] anyField; + + private MetadataConfigurationOptionsExtension extensionField; + + private bool geoLocationField; + + private bool geoLocationFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZStatusFilterOptions PTZStatusFilterOptions + { + get + { + return this.pTZStatusFilterOptionsField; + } + set + { + this.pTZStatusFilterOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public MetadataConfigurationOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool GeoLocation + { + get + { + return this.geoLocationField; + } + set + { + this.geoLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GeoLocationSpecified + { + get + { + return this.geoLocationFieldSpecified; + } + set + { + this.geoLocationFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioEncoderConfigurationOption + { + private AudioEncoding encodingField; + + private int[] bitrateListField; + + private int[] sampleRateListField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AudioEncoding Encoding + { + get + { + return this.encodingField; + } + set + { + this.encodingField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 1)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] BitrateList + { + get + { + return this.bitrateListField; + } + set + { + this.bitrateListField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 2)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] SampleRateList + { + get + { + return this.sampleRateListField; + } + set + { + this.sampleRateListField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum AudioEncoding + { + /// + G711, + + /// + G726, + + /// + AAC, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioEncoderConfigurationOptions + { + private AudioEncoderConfigurationOption[] optionsField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Options", Order = 0)] + public AudioEncoderConfigurationOption[] Options + { + get + { + return this.optionsField; + } + set + { + this.optionsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioSourceOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioSourceConfigurationOptions + { + private string[] inputTokensAvailableField; + + private AudioSourceOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("InputTokensAvailable", Order = 0)] + public string[] InputTokensAvailable + { + get + { + return this.inputTokensAvailableField; + } + set + { + this.inputTokensAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AudioSourceOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoEncoderOptionsExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoEncoderOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + private JpegOptions2 jPEGField; + + private Mpeg4Options2 mPEG4Field; + + private H264Options2 h264Field; + + private VideoEncoderOptionsExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public JpegOptions2 JPEG + { + get + { + return this.jPEGField; + } + set + { + this.jPEGField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Mpeg4Options2 MPEG4 + { + get + { + return this.mPEG4Field; + } + set + { + this.mPEG4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public H264Options2 H264 + { + get + { + return this.h264Field; + } + set + { + this.h264Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public VideoEncoderOptionsExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class JpegOptions2 : JpegOptions + { + private IntRange bitrateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange BitrateRange + { + get + { + return this.bitrateRangeField; + } + set + { + this.bitrateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(JpegOptions2))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class JpegOptions + { + private VideoResolution[] resolutionsAvailableField; + + private IntRange frameRateRangeField; + + private IntRange encodingIntervalRangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ResolutionsAvailable", Order = 0)] + public VideoResolution[] ResolutionsAvailable + { + get + { + return this.resolutionsAvailableField; + } + set + { + this.resolutionsAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange FrameRateRange + { + get + { + return this.frameRateRangeField; + } + set + { + this.frameRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IntRange EncodingIntervalRange + { + get + { + return this.encodingIntervalRangeField; + } + set + { + this.encodingIntervalRangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Mpeg4Options2 : Mpeg4Options + { + private IntRange bitrateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange BitrateRange + { + get + { + return this.bitrateRangeField; + } + set + { + this.bitrateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(Mpeg4Options2))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Mpeg4Options + { + private VideoResolution[] resolutionsAvailableField; + + private IntRange govLengthRangeField; + + private IntRange frameRateRangeField; + + private IntRange encodingIntervalRangeField; + + private Mpeg4Profile[] mpeg4ProfilesSupportedField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ResolutionsAvailable", Order = 0)] + public VideoResolution[] ResolutionsAvailable + { + get + { + return this.resolutionsAvailableField; + } + set + { + this.resolutionsAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange GovLengthRange + { + get + { + return this.govLengthRangeField; + } + set + { + this.govLengthRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IntRange FrameRateRange + { + get + { + return this.frameRateRangeField; + } + set + { + this.frameRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IntRange EncodingIntervalRange + { + get + { + return this.encodingIntervalRangeField; + } + set + { + this.encodingIntervalRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Mpeg4ProfilesSupported", Order = 4)] + public Mpeg4Profile[] Mpeg4ProfilesSupported + { + get + { + return this.mpeg4ProfilesSupportedField; + } + set + { + this.mpeg4ProfilesSupportedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum Mpeg4Profile + { + /// + SP, + + /// + ASP, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class H264Options2 : H264Options + { + private IntRange bitrateRangeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange BitrateRange + { + get + { + return this.bitrateRangeField; + } + set + { + this.bitrateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(H264Options2))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class H264Options + { + private VideoResolution[] resolutionsAvailableField; + + private IntRange govLengthRangeField; + + private IntRange frameRateRangeField; + + private IntRange encodingIntervalRangeField; + + private H264Profile[] h264ProfilesSupportedField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ResolutionsAvailable", Order = 0)] + public VideoResolution[] ResolutionsAvailable + { + get + { + return this.resolutionsAvailableField; + } + set + { + this.resolutionsAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange GovLengthRange + { + get + { + return this.govLengthRangeField; + } + set + { + this.govLengthRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IntRange FrameRateRange + { + get + { + return this.frameRateRangeField; + } + set + { + this.frameRateRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IntRange EncodingIntervalRange + { + get + { + return this.encodingIntervalRangeField; + } + set + { + this.encodingIntervalRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("H264ProfilesSupported", Order = 4)] + public H264Profile[] H264ProfilesSupported + { + get + { + return this.h264ProfilesSupportedField; + } + set + { + this.h264ProfilesSupportedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum H264Profile + { + /// + Baseline, + + /// + Main, + + /// + Extended, + + /// + High, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoEncoderConfigurationOptions + { + private IntRange qualityRangeField; + + private JpegOptions jPEGField; + + private Mpeg4Options mPEG4Field; + + private H264Options h264Field; + + private VideoEncoderOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange QualityRange + { + get + { + return this.qualityRangeField; + } + set + { + this.qualityRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public JpegOptions JPEG + { + get + { + return this.jPEGField; + } + set + { + this.jPEGField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Mpeg4Options MPEG4 + { + get + { + return this.mPEG4Field; + } + set + { + this.mPEG4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public H264Options H264 + { + get + { + return this.h264Field; + } + set + { + this.h264Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public VideoEncoderOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfigurationOptionsExtension2 + { + private SceneOrientationMode[] sceneOrientationModeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("SceneOrientationMode", Order = 0)] + public SceneOrientationMode[] SceneOrientationMode + { + get + { + return this.sceneOrientationModeField; + } + set + { + this.sceneOrientationModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum SceneOrientationMode + { + /// + MANUAL, + + /// + AUTO, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RotateOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RotateOptions + { + private RotateMode[] modeField; + + private int[] degreeListField; + + private RotateOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public RotateMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order = 1)] + [System.Xml.Serialization.XmlArrayItemAttribute("Items", IsNullable = false)] + public int[] DegreeList + { + get + { + return this.degreeListField; + } + set + { + this.degreeListField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public RotateOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum RotateMode + { + /// + OFF, + + /// + ON, + + /// + AUTO, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfigurationOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + private RotateOptions rotateField; + + private VideoSourceConfigurationOptionsExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RotateOptions Rotate + { + get + { + return this.rotateField; + } + set + { + this.rotateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public VideoSourceConfigurationOptionsExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IntRectangleRange + { + private IntRange xRangeField; + + private IntRange yRangeField; + + private IntRange widthRangeField; + + private IntRange heightRangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange XRange + { + get + { + return this.xRangeField; + } + set + { + this.xRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRange YRange + { + get + { + return this.yRangeField; + } + set + { + this.yRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public IntRange WidthRange + { + get + { + return this.widthRangeField; + } + set + { + this.widthRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IntRange HeightRange + { + get + { + return this.heightRangeField; + } + set + { + this.heightRangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfigurationOptions + { + private IntRectangleRange boundsRangeField; + + private string[] videoSourceTokensAvailableField; + + private VideoSourceConfigurationOptionsExtension extensionField; + + private int maximumNumberOfProfilesField; + + private bool maximumNumberOfProfilesFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRectangleRange BoundsRange + { + get + { + return this.boundsRangeField; + } + set + { + this.boundsRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("VideoSourceTokensAvailable", Order = 1)] + public string[] VideoSourceTokensAvailable + { + get + { + return this.videoSourceTokensAvailableField; + } + set + { + this.videoSourceTokensAvailableField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public VideoSourceConfigurationOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaximumNumberOfProfiles + { + get + { + return this.maximumNumberOfProfilesField; + } + set + { + this.maximumNumberOfProfilesField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaximumNumberOfProfilesSpecified + { + get + { + return this.maximumNumberOfProfilesFieldSpecified; + } + set + { + this.maximumNumberOfProfilesFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ProfileExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ProfileExtension + { + private System.Xml.Linq.XElement[] anyField; + + private AudioOutputConfiguration audioOutputConfigurationField; + + private AudioDecoderConfiguration audioDecoderConfigurationField; + + private ProfileExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AudioOutputConfiguration AudioOutputConfiguration + { + get + { + return this.audioOutputConfigurationField; + } + set + { + this.audioOutputConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public AudioDecoderConfiguration AudioDecoderConfiguration + { + get + { + return this.audioDecoderConfigurationField; + } + set + { + this.audioDecoderConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public ProfileExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioOutputConfiguration : ConfigurationEntity + { + private string outputTokenField; + + private string sendPrimacyField; + + private int outputLevelField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string OutputToken + { + get + { + return this.outputTokenField; + } + set + { + this.outputTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string SendPrimacy + { + get + { + return this.sendPrimacyField; + } + set + { + this.sendPrimacyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int OutputLevel + { + get + { + return this.outputLevelField; + } + set + { + this.outputLevelField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnalyticsEngineControl))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnalyticsEngineInput))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AnalyticsEngine))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(PTZConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioDecoderConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioOutputConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoOutputConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(MetadataConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoAnalyticsConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioEncoder2Configuration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioEncoderConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(AudioSourceConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoEncoder2Configuration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoEncoderConfiguration))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(VideoSourceConfiguration))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ConfigurationEntity + { + private string nameField; + + private int useCountField; + + private string tokenField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int UseCount + { + get + { + return this.useCountField; + } + set + { + this.useCountField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineControl : ConfigurationEntity + { + private string engineTokenField; + + private string engineConfigTokenField; + + private string[] inputTokenField; + + private string[] receiverTokenField; + + private MulticastConfiguration multicastField; + + private Config subscriptionField; + + private ModeOfOperation modeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string EngineToken + { + get + { + return this.engineTokenField; + } + set + { + this.engineTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string EngineConfigToken + { + get + { + return this.engineConfigTokenField; + } + set + { + this.engineConfigTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("InputToken", Order = 2)] + public string[] InputToken + { + get + { + return this.inputTokenField; + } + set + { + this.inputTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ReceiverToken", Order = 3)] + public string[] ReceiverToken + { + get + { + return this.receiverTokenField; + } + set + { + this.receiverTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public Config Subscription + { + get + { + return this.subscriptionField; + } + set + { + this.subscriptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public ModeOfOperation Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 7)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MulticastConfiguration + { + private IPAddress addressField; + + private int portField; + + private int tTLField; + + private bool autoStartField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IPAddress Address + { + get + { + return this.addressField; + } + set + { + this.addressField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Port + { + get + { + return this.portField; + } + set + { + this.portField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int TTL + { + get + { + return this.tTLField; + } + set + { + this.tTLField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool AutoStart + { + get + { + return this.autoStartField; + } + set + { + this.autoStartField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Config + { + private ItemList parametersField; + + private string nameField; + + private System.Xml.XmlQualifiedName typeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ItemList Parameters + { + get + { + return this.parametersField; + } + set + { + this.parametersField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public System.Xml.XmlQualifiedName Type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ItemList + { + private ItemListSimpleItem[] simpleItemField; + + private ItemListElementItem[] elementItemField; + + private ItemListExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("SimpleItem", Order = 0)] + public ItemListSimpleItem[] SimpleItem + { + get + { + return this.simpleItemField; + } + set + { + this.simpleItemField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ElementItem", Order = 1)] + public ItemListElementItem[] ElementItem + { + get + { + return this.elementItemField; + } + set + { + this.elementItemField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ItemListExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ItemListSimpleItem + { + private string nameField; + + private string valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Value + { + get + { + return this.valueField; + } + set + { + this.valueField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ItemListElementItem + { + private System.Xml.Linq.XElement anyField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ItemListExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ModeOfOperation + { + /// + Idle, + + /// + Active, + + /// + Unknown, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineInput : ConfigurationEntity + { + private SourceIdentification sourceIdentificationField; + + private VideoEncoderConfiguration videoInputField; + + private MetadataInput metadataInputField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public SourceIdentification SourceIdentification + { + get + { + return this.sourceIdentificationField; + } + set + { + this.sourceIdentificationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoEncoderConfiguration VideoInput + { + get + { + return this.videoInputField; + } + set + { + this.videoInputField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public MetadataInput MetadataInput + { + get + { + return this.metadataInputField; + } + set + { + this.metadataInputField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SourceIdentification + { + private string nameField; + + private string[] tokenField; + + private SourceIdentificationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Token", Order = 1)] + public string[] Token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public SourceIdentificationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SourceIdentificationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoEncoderConfiguration : ConfigurationEntity + { + private VideoEncoding encodingField; + + private VideoResolution resolutionField; + + private float qualityField; + + private VideoRateControl rateControlField; + + private Mpeg4Configuration mPEG4Field; + + private H264Configuration h264Field; + + private MulticastConfiguration multicastField; + + private string sessionTimeoutField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public VideoEncoding Encoding + { + get + { + return this.encodingField; + } + set + { + this.encodingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoResolution Resolution + { + get + { + return this.resolutionField; + } + set + { + this.resolutionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float Quality + { + get + { + return this.qualityField; + } + set + { + this.qualityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public VideoRateControl RateControl + { + get + { + return this.rateControlField; + } + set + { + this.rateControlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public Mpeg4Configuration MPEG4 + { + get + { + return this.mPEG4Field; + } + set + { + this.mPEG4Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public H264Configuration H264 + { + get + { + return this.h264Field; + } + set + { + this.h264Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 7)] + public string SessionTimeout + { + get + { + return this.sessionTimeoutField; + } + set + { + this.sessionTimeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 8)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum VideoEncoding + { + /// + JPEG, + + /// + MPEG4, + + /// + H264, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoRateControl + { + private int frameRateLimitField; + + private int encodingIntervalField; + + private int bitrateLimitField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int FrameRateLimit + { + get + { + return this.frameRateLimitField; + } + set + { + this.frameRateLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int EncodingInterval + { + get + { + return this.encodingIntervalField; + } + set + { + this.encodingIntervalField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int BitrateLimit + { + get + { + return this.bitrateLimitField; + } + set + { + this.bitrateLimitField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Mpeg4Configuration + { + private int govLengthField; + + private Mpeg4Profile mpeg4ProfileField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int GovLength + { + get + { + return this.govLengthField; + } + set + { + this.govLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Mpeg4Profile Mpeg4Profile + { + get + { + return this.mpeg4ProfileField; + } + set + { + this.mpeg4ProfileField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class H264Configuration + { + private int govLengthField; + + private H264Profile h264ProfileField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int GovLength + { + get + { + return this.govLengthField; + } + set + { + this.govLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public H264Profile H264Profile + { + get + { + return this.h264ProfileField; + } + set + { + this.h264ProfileField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataInput + { + private Config[] metadataConfigField; + + private MetadataInputExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("MetadataConfig", Order = 0)] + public Config[] MetadataConfig + { + get + { + return this.metadataConfigField; + } + set + { + this.metadataConfigField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public MetadataInputExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataInputExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngine : ConfigurationEntity + { + private AnalyticsDeviceEngineConfiguration analyticsEngineConfigurationField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AnalyticsDeviceEngineConfiguration AnalyticsEngineConfiguration + { + get + { + return this.analyticsEngineConfigurationField; + } + set + { + this.analyticsEngineConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsDeviceEngineConfiguration + { + private EngineConfiguration[] engineConfigurationField; + + private AnalyticsDeviceEngineConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("EngineConfiguration", Order = 0)] + public EngineConfiguration[] EngineConfiguration + { + get + { + return this.engineConfigurationField; + } + set + { + this.engineConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AnalyticsDeviceEngineConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EngineConfiguration + { + private VideoAnalyticsConfiguration videoAnalyticsConfigurationField; + + private AnalyticsEngineInputInfo analyticsEngineInputInfoField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public VideoAnalyticsConfiguration VideoAnalyticsConfiguration + { + get + { + return this.videoAnalyticsConfigurationField; + } + set + { + this.videoAnalyticsConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AnalyticsEngineInputInfo AnalyticsEngineInputInfo + { + get + { + return this.analyticsEngineInputInfoField; + } + set + { + this.analyticsEngineInputInfoField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoAnalyticsConfiguration : ConfigurationEntity + { + private AnalyticsEngineConfiguration analyticsEngineConfigurationField; + + private RuleEngineConfiguration ruleEngineConfigurationField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AnalyticsEngineConfiguration AnalyticsEngineConfiguration + { + get + { + return this.analyticsEngineConfigurationField; + } + set + { + this.analyticsEngineConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RuleEngineConfiguration RuleEngineConfiguration + { + get + { + return this.ruleEngineConfigurationField; + } + set + { + this.ruleEngineConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineConfiguration + { + private Config[] analyticsModuleField; + + private AnalyticsEngineConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("AnalyticsModule", Order = 0)] + public Config[] AnalyticsModule + { + get + { + return this.analyticsModuleField; + } + set + { + this.analyticsModuleField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AnalyticsEngineConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RuleEngineConfiguration + { + private Config[] ruleField; + + private RuleEngineConfigurationExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Rule", Order = 0)] + public Config[] Rule + { + get + { + return this.ruleField; + } + set + { + this.ruleField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RuleEngineConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RuleEngineConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineInputInfo + { + private Config inputInfoField; + + private AnalyticsEngineInputInfoExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Config InputInfo + { + get + { + return this.inputInfoField; + } + set + { + this.inputInfoField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public AnalyticsEngineInputInfoExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsEngineInputInfoExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AnalyticsDeviceEngineConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZConfiguration : ConfigurationEntity + { + private string nodeTokenField; + + private string defaultAbsolutePantTiltPositionSpaceField; + + private string defaultAbsoluteZoomPositionSpaceField; + + private string defaultRelativePanTiltTranslationSpaceField; + + private string defaultRelativeZoomTranslationSpaceField; + + private string defaultContinuousPanTiltVelocitySpaceField; + + private string defaultContinuousZoomVelocitySpaceField; + + private PTZSpeed defaultPTZSpeedField; + + private string defaultPTZTimeoutField; + + private PanTiltLimits panTiltLimitsField; + + private ZoomLimits zoomLimitsField; + + private PTZConfigurationExtension extensionField; + + private int moveRampField; + + private bool moveRampFieldSpecified; + + private int presetRampField; + + private bool presetRampFieldSpecified; + + private int presetTourRampField; + + private bool presetTourRampFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string NodeToken + { + get + { + return this.nodeTokenField; + } + set + { + this.nodeTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string DefaultAbsolutePantTiltPositionSpace + { + get + { + return this.defaultAbsolutePantTiltPositionSpaceField; + } + set + { + this.defaultAbsolutePantTiltPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 2)] + public string DefaultAbsoluteZoomPositionSpace + { + get + { + return this.defaultAbsoluteZoomPositionSpaceField; + } + set + { + this.defaultAbsoluteZoomPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 3)] + public string DefaultRelativePanTiltTranslationSpace + { + get + { + return this.defaultRelativePanTiltTranslationSpaceField; + } + set + { + this.defaultRelativePanTiltTranslationSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 4)] + public string DefaultRelativeZoomTranslationSpace + { + get + { + return this.defaultRelativeZoomTranslationSpaceField; + } + set + { + this.defaultRelativeZoomTranslationSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 5)] + public string DefaultContinuousPanTiltVelocitySpace + { + get + { + return this.defaultContinuousPanTiltVelocitySpaceField; + } + set + { + this.defaultContinuousPanTiltVelocitySpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 6)] + public string DefaultContinuousZoomVelocitySpace + { + get + { + return this.defaultContinuousZoomVelocitySpaceField; + } + set + { + this.defaultContinuousZoomVelocitySpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public PTZSpeed DefaultPTZSpeed + { + get + { + return this.defaultPTZSpeedField; + } + set + { + this.defaultPTZSpeedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 8)] + public string DefaultPTZTimeout + { + get + { + return this.defaultPTZTimeoutField; + } + set + { + this.defaultPTZTimeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public PanTiltLimits PanTiltLimits + { + get + { + return this.panTiltLimitsField; + } + set + { + this.panTiltLimitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public ZoomLimits ZoomLimits + { + get + { + return this.zoomLimitsField; + } + set + { + this.zoomLimitsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 11)] + public PTZConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MoveRamp + { + get + { + return this.moveRampField; + } + set + { + this.moveRampField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MoveRampSpecified + { + get + { + return this.moveRampFieldSpecified; + } + set + { + this.moveRampFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int PresetRamp + { + get + { + return this.presetRampField; + } + set + { + this.presetRampField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PresetRampSpecified + { + get + { + return this.presetRampFieldSpecified; + } + set + { + this.presetRampFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int PresetTourRamp + { + get + { + return this.presetTourRampField; + } + set + { + this.presetTourRampField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PresetTourRampSpecified + { + get + { + return this.presetTourRampFieldSpecified; + } + set + { + this.presetTourRampFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZSpeed + { + private Vector2D panTiltField; + + private Vector1D zoomField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Vector2D PanTilt + { + get + { + return this.panTiltField; + } + set + { + this.panTiltField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Vector1D Zoom + { + get + { + return this.zoomField; + } + set + { + this.zoomField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Vector2D + { + private float xField; + + private float yField; + + private string spaceField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")] + public string space + { + get + { + return this.spaceField; + } + set + { + this.spaceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Vector1D + { + private float xField; + + private string spaceField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")] + public string space + { + get + { + return this.spaceField; + } + set + { + this.spaceField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PanTiltLimits + { + private Space2DDescription rangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Space2DDescription Range + { + get + { + return this.rangeField; + } + set + { + this.rangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ZoomLimits + { + private Space1DDescription rangeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Space1DDescription Range + { + get + { + return this.rangeField; + } + set + { + this.rangeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + private PTControlDirection pTControlDirectionField; + + private PTZConfigurationExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTControlDirection PTControlDirection + { + get + { + return this.pTControlDirectionField; + } + set + { + this.pTControlDirectionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZConfigurationExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTControlDirection + { + private EFlip eFlipField; + + private Reverse reverseField; + + private PTControlDirectionExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public EFlip EFlip + { + get + { + return this.eFlipField; + } + set + { + this.eFlipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Reverse Reverse + { + get + { + return this.reverseField; + } + set + { + this.reverseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTControlDirectionExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EFlip + { + private EFlipMode modeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public EFlipMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum EFlipMode + { + /// + OFF, + + /// + ON, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Reverse + { + private ReverseMode modeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ReverseMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum ReverseMode + { + /// + OFF, + + /// + ON, + + /// + AUTO, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTControlDirectionExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZConfigurationExtension2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioDecoderConfiguration : ConfigurationEntity + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoOutputConfiguration : ConfigurationEntity + { + private string outputTokenField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string OutputToken + { + get + { + return this.outputTokenField; + } + set + { + this.outputTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataConfiguration : ConfigurationEntity + { + private PTZFilter pTZStatusField; + + private EventSubscription eventsField; + + private bool analyticsField; + + private bool analyticsFieldSpecified; + + private MulticastConfiguration multicastField; + + private string sessionTimeoutField; + + private System.Xml.Linq.XElement[] anyField; + + private AnalyticsEngineConfiguration analyticsEngineConfigurationField; + + private MetadataConfigurationExtension extensionField; + + private string compressionTypeField; + + private bool geoLocationField; + + private bool geoLocationFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZFilter PTZStatus + { + get + { + return this.pTZStatusField; + } + set + { + this.pTZStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public EventSubscription Events + { + get + { + return this.eventsField; + } + set + { + this.eventsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool Analytics + { + get + { + return this.analyticsField; + } + set + { + this.analyticsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AnalyticsSpecified + { + get + { + return this.analyticsFieldSpecified; + } + set + { + this.analyticsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 4)] + public string SessionTimeout + { + get + { + return this.sessionTimeoutField; + } + set + { + this.sessionTimeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 5)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public AnalyticsEngineConfiguration AnalyticsEngineConfiguration + { + get + { + return this.analyticsEngineConfigurationField; + } + set + { + this.analyticsEngineConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public MetadataConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string CompressionType + { + get + { + return this.compressionTypeField; + } + set + { + this.compressionTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool GeoLocation + { + get + { + return this.geoLocationField; + } + set + { + this.geoLocationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GeoLocationSpecified + { + get + { + return this.geoLocationFieldSpecified; + } + set + { + this.geoLocationFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZFilter + { + private bool statusField; + + private bool positionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EventSubscription + { + private FilterType filterField; + + private EventSubscriptionSubscriptionPolicy subscriptionPolicyField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FilterType Filter + { + get + { + return this.filterField; + } + set + { + this.filterField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public EventSubscriptionSubscriptionPolicy SubscriptionPolicy + { + get + { + return this.subscriptionPolicyField; + } + set + { + this.subscriptionPolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(EventFilter))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/wsn/b-2")] + public partial class FilterType + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EventFilter : FilterType + { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EventSubscriptionSubscriptionPolicy + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MetadataConfigurationExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioEncoder2Configuration : ConfigurationEntity + { + private string encodingField; + + private MulticastConfiguration multicastField; + + private int bitrateField; + + private int sampleRateField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Encoding + { + get + { + return this.encodingField; + } + set + { + this.encodingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int Bitrate + { + get + { + return this.bitrateField; + } + set + { + this.bitrateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public int SampleRate + { + get + { + return this.sampleRateField; + } + set + { + this.sampleRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioEncoderConfiguration : ConfigurationEntity + { + private AudioEncoding encodingField; + + private int bitrateField; + + private int sampleRateField; + + private MulticastConfiguration multicastField; + + private string sessionTimeoutField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AudioEncoding Encoding + { + get + { + return this.encodingField; + } + set + { + this.encodingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Bitrate + { + get + { + return this.bitrateField; + } + set + { + this.bitrateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public int SampleRate + { + get + { + return this.sampleRateField; + } + set + { + this.sampleRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 4)] + public string SessionTimeout + { + get + { + return this.sessionTimeoutField; + } + set + { + this.sessionTimeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 5)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AudioSourceConfiguration : ConfigurationEntity + { + private string sourceTokenField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string SourceToken + { + get + { + return this.sourceTokenField; + } + set + { + this.sourceTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoEncoder2Configuration : ConfigurationEntity + { + private string encodingField; + + private VideoResolution2 resolutionField; + + private VideoRateControl2 rateControlField; + + private MulticastConfiguration multicastField; + + private float qualityField; + + private System.Xml.Linq.XElement[] anyField; + + private int govLengthField; + + private bool govLengthFieldSpecified; + + private string profileField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Encoding + { + get + { + return this.encodingField; + } + set + { + this.encodingField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoResolution2 Resolution + { + get + { + return this.resolutionField; + } + set + { + this.resolutionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public VideoRateControl2 RateControl + { + get + { + return this.rateControlField; + } + set + { + this.rateControlField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public MulticastConfiguration Multicast + { + get + { + return this.multicastField; + } + set + { + this.multicastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public float Quality + { + get + { + return this.qualityField; + } + set + { + this.qualityField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 5)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int GovLength + { + get + { + return this.govLengthField; + } + set + { + this.govLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GovLengthSpecified + { + get + { + return this.govLengthFieldSpecified; + } + set + { + this.govLengthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Profile + { + get + { + return this.profileField; + } + set + { + this.profileField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoResolution2 + { + private int widthField; + + private int heightField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int Width + { + get + { + return this.widthField; + } + set + { + this.widthField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Height + { + get + { + return this.heightField; + } + set + { + this.heightField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoRateControl2 + { + private float frameRateLimitField; + + private int bitrateLimitField; + + private System.Xml.Linq.XElement[] anyField; + + private bool constantBitRateField; + + private bool constantBitRateFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float FrameRateLimit + { + get + { + return this.frameRateLimitField; + } + set + { + this.frameRateLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int BitrateLimit + { + get + { + return this.bitrateLimitField; + } + set + { + this.bitrateLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool ConstantBitRate + { + get + { + return this.constantBitRateField; + } + set + { + this.constantBitRateField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ConstantBitRateSpecified + { + get + { + return this.constantBitRateFieldSpecified; + } + set + { + this.constantBitRateFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfiguration : ConfigurationEntity + { + private string sourceTokenField; + + private IntRectangle boundsField; + + private System.Xml.Linq.XElement[] anyField; + + private VideoSourceConfigurationExtension extensionField; + + private string viewModeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string SourceToken + { + get + { + return this.sourceTokenField; + } + set + { + this.sourceTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public IntRectangle Bounds + { + get + { + return this.boundsField; + } + set + { + this.boundsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public VideoSourceConfigurationExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string ViewMode + { + get + { + return this.viewModeField; + } + set + { + this.viewModeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IntRectangle + { + private int xField; + + private int yField; + + private int widthField; + + private int heightField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int width + { + get + { + return this.widthField; + } + set + { + this.widthField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int height + { + get + { + return this.heightField; + } + set + { + this.heightField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfigurationExtension + { + private Rotate rotateField; + + private VideoSourceConfigurationExtension2 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Rotate Rotate + { + get + { + return this.rotateField; + } + set + { + this.rotateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoSourceConfigurationExtension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Rotate + { + private RotateMode modeField; + + private int degreeField; + + private bool degreeFieldSpecified; + + private RotateExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public RotateMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public int Degree + { + get + { + return this.degreeField; + } + set + { + this.degreeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DegreeSpecified + { + get + { + return this.degreeFieldSpecified; + } + set + { + this.degreeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public RotateExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RotateExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class VideoSourceConfigurationExtension2 + { + private LensDescription[] lensDescriptionField; + + private SceneOrientation sceneOrientationField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("LensDescription", Order = 0)] + public LensDescription[] LensDescription + { + get + { + return this.lensDescriptionField; + } + set + { + this.lensDescriptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public SceneOrientation SceneOrientation + { + get + { + return this.sceneOrientationField; + } + set + { + this.sceneOrientationField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LensDescription + { + private LensOffset offsetField; + + private LensProjection[] projectionField; + + private float xFactorField; + + private System.Xml.Linq.XElement[] anyField; + + private float focalLengthField; + + private bool focalLengthFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public LensOffset Offset + { + get + { + return this.offsetField; + } + set + { + this.offsetField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Projection", Order = 1)] + public LensProjection[] Projection + { + get + { + return this.projectionField; + } + set + { + this.projectionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float XFactor + { + get + { + return this.xFactorField; + } + set + { + this.xFactorField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float FocalLength + { + get + { + return this.focalLengthField; + } + set + { + this.focalLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FocalLengthSpecified + { + get + { + return this.focalLengthFieldSpecified; + } + set + { + this.focalLengthFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LensOffset + { + private float xField; + + private bool xFieldSpecified; + + private float yField; + + private bool yFieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float x + { + get + { + return this.xField; + } + set + { + this.xField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool xSpecified + { + get + { + return this.xFieldSpecified; + } + set + { + this.xFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public float y + { + get + { + return this.yField; + } + set + { + this.yField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ySpecified + { + get + { + return this.yFieldSpecified; + } + set + { + this.yFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class LensProjection + { + private float angleField; + + private float radiusField; + + private float transmittanceField; + + private bool transmittanceFieldSpecified; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Angle + { + get + { + return this.angleField; + } + set + { + this.angleField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Radius + { + get + { + return this.radiusField; + } + set + { + this.radiusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public float Transmittance + { + get + { + return this.transmittanceField; + } + set + { + this.transmittanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TransmittanceSpecified + { + get + { + return this.transmittanceFieldSpecified; + } + set + { + this.transmittanceFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class SceneOrientation + { + private SceneOrientationMode modeField; + + private string orientationField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public SceneOrientationMode Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Orientation + { + get + { + return this.orientationField; + } + set + { + this.orientationField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class Profile + { + private string nameField; + + private VideoSourceConfiguration videoSourceConfigurationField; + + private AudioSourceConfiguration audioSourceConfigurationField; + + private VideoEncoderConfiguration videoEncoderConfigurationField; + + private AudioEncoderConfiguration audioEncoderConfigurationField; + + private VideoAnalyticsConfiguration videoAnalyticsConfigurationField; + + private PTZConfiguration pTZConfigurationField; + + private MetadataConfiguration metadataConfigurationField; + + private ProfileExtension extensionField; + + private string tokenField; + + private bool fixedField; + + private bool fixedFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoSourceConfiguration VideoSourceConfiguration + { + get + { + return this.videoSourceConfigurationField; + } + set + { + this.videoSourceConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public AudioSourceConfiguration AudioSourceConfiguration + { + get + { + return this.audioSourceConfigurationField; + } + set + { + this.audioSourceConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public VideoEncoderConfiguration VideoEncoderConfiguration + { + get + { + return this.videoEncoderConfigurationField; + } + set + { + this.videoEncoderConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public AudioEncoderConfiguration AudioEncoderConfiguration + { + get + { + return this.audioEncoderConfigurationField; + } + set + { + this.audioEncoderConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public VideoAnalyticsConfiguration VideoAnalyticsConfiguration + { + get + { + return this.videoAnalyticsConfigurationField; + } + set + { + this.videoAnalyticsConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public PTZConfiguration PTZConfiguration + { + get + { + return this.pTZConfigurationField; + } + set + { + this.pTZConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public MetadataConfiguration MetadataConfiguration + { + get + { + return this.metadataConfigurationField; + } + set + { + this.metadataConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public ProfileExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool @fixed + { + get + { + return this.fixedField; + } + set + { + this.fixedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool fixedSpecified + { + get + { + return this.fixedFieldSpecified; + } + set + { + this.fixedFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourPresetDetailOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourPresetDetailOptions + { + private string[] presetTokenField; + + private bool homeField; + + private bool homeFieldSpecified; + + private Space2DDescription panTiltPositionSpaceField; + + private Space1DDescription zoomPositionSpaceField; + + private PTZPresetTourPresetDetailOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("PresetToken", Order = 0)] + public string[] PresetToken + { + get + { + return this.presetTokenField; + } + set + { + this.presetTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Home + { + get + { + return this.homeField; + } + set + { + this.homeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HomeSpecified + { + get + { + return this.homeFieldSpecified; + } + set + { + this.homeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public Space2DDescription PanTiltPositionSpace + { + get + { + return this.panTiltPositionSpaceField; + } + set + { + this.panTiltPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public Space1DDescription ZoomPositionSpace + { + get + { + return this.zoomPositionSpaceField; + } + set + { + this.zoomPositionSpaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public PTZPresetTourPresetDetailOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourSpotOptions + { + private PTZPresetTourPresetDetailOptions presetDetailField; + + private DurationRange stayTimeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZPresetTourPresetDetailOptions PresetDetail + { + get + { + return this.presetDetailField; + } + set + { + this.presetDetailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DurationRange StayTime + { + get + { + return this.stayTimeField; + } + set + { + this.stayTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DurationRange + { + private string minField; + + private string maxField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 0)] + public string Min + { + get + { + return this.minField; + } + set + { + this.minField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 1)] + public string Max + { + get + { + return this.maxField; + } + set + { + this.maxField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStartingConditionOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStartingConditionOptions + { + private IntRange recurringTimeField; + + private DurationRange recurringDurationField; + + private PTZPresetTourDirection[] directionField; + + private PTZPresetTourStartingConditionOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IntRange RecurringTime + { + get + { + return this.recurringTimeField; + } + set + { + this.recurringTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DurationRange RecurringDuration + { + get + { + return this.recurringDurationField; + } + set + { + this.recurringDurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Direction", Order = 2)] + public PTZPresetTourDirection[] Direction + { + get + { + return this.directionField; + } + set + { + this.directionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public PTZPresetTourStartingConditionOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum PTZPresetTourDirection + { + /// + Forward, + + /// + Backward, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourOptions + { + private bool autoStartField; + + private PTZPresetTourStartingConditionOptions startingConditionField; + + private PTZPresetTourSpotOptions tourSpotField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool AutoStart + { + get + { + return this.autoStartField; + } + set + { + this.autoStartField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZPresetTourStartingConditionOptions StartingCondition + { + get + { + return this.startingConditionField; + } + set + { + this.startingConditionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZPresetTourSpotOptions TourSpot + { + get + { + return this.tourSpotField; + } + set + { + this.tourSpotField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStartingConditionExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStartingCondition + { + private int recurringTimeField; + + private bool recurringTimeFieldSpecified; + + private string recurringDurationField; + + private PTZPresetTourDirection directionField; + + private bool directionFieldSpecified; + + private PTZPresetTourStartingConditionExtension extensionField; + + private bool randomPresetOrderField; + + private bool randomPresetOrderFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public int RecurringTime + { + get + { + return this.recurringTimeField; + } + set + { + this.recurringTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RecurringTimeSpecified + { + get + { + return this.recurringTimeFieldSpecified; + } + set + { + this.recurringTimeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 1)] + public string RecurringDuration + { + get + { + return this.recurringDurationField; + } + set + { + this.recurringDurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZPresetTourDirection Direction + { + get + { + return this.directionField; + } + set + { + this.directionField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DirectionSpecified + { + get + { + return this.directionFieldSpecified; + } + set + { + this.directionFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public PTZPresetTourStartingConditionExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RandomPresetOrder + { + get + { + return this.randomPresetOrderField; + } + set + { + this.randomPresetOrderField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RandomPresetOrderSpecified + { + get + { + return this.randomPresetOrderFieldSpecified; + } + set + { + this.randomPresetOrderFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStatusExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourSpotExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourTypeExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourPresetDetail + { + private object itemField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Home", typeof(bool), Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PTZPosition", typeof(PTZVector), Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PresetToken", typeof(string), Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("TypeExtension", typeof(PTZPresetTourTypeExtension), Order = 0)] + public object Item + { + get + { + return this.itemField; + } + set + { + this.itemField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZVector + { + private Vector2D panTiltField; + + private Vector1D zoomField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public Vector2D PanTilt + { + get + { + return this.panTiltField; + } + set + { + this.panTiltField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public Vector1D Zoom + { + get + { + return this.zoomField; + } + set + { + this.zoomField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourSpot + { + private PTZPresetTourPresetDetail presetDetailField; + + private PTZSpeed speedField; + + private string stayTimeField; + + private PTZPresetTourSpotExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZPresetTourPresetDetail PresetDetail + { + get + { + return this.presetDetailField; + } + set + { + this.presetDetailField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZSpeed Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration", Order = 2)] + public string StayTime + { + get + { + return this.stayTimeField; + } + set + { + this.stayTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public PTZPresetTourSpotExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPresetTourStatus + { + private PTZPresetTourState stateField; + + private PTZPresetTourSpot currentTourSpotField; + + private PTZPresetTourStatusExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZPresetTourState State + { + get + { + return this.stateField; + } + set + { + this.stateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZPresetTourSpot CurrentTourSpot + { + get + { + return this.currentTourSpotField; + } + set + { + this.currentTourSpotField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTZPresetTourStatusExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum PTZPresetTourState + { + /// + Idle, + + /// + Touring, + + /// + Paused, + + /// + Extended, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PresetTour + { + private string nameField; + + private PTZPresetTourStatus statusField; + + private bool autoStartField; + + private PTZPresetTourStartingCondition startingConditionField; + + private PTZPresetTourSpot[] tourSpotField; + + private PTZPresetTourExtension extensionField; + + private string tokenField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZPresetTourStatus Status + { + get + { + return this.statusField; + } + set + { + this.statusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public bool AutoStart + { + get + { + return this.autoStartField; + } + set + { + this.autoStartField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public PTZPresetTourStartingCondition StartingCondition + { + get + { + return this.startingConditionField; + } + set + { + this.startingConditionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("TourSpot", Order = 4)] + public PTZPresetTourSpot[] TourSpot + { + get + { + return this.tourSpotField; + } + set + { + this.tourSpotField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public PTZPresetTourExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZMoveStatus + { + private MoveStatus panTiltField; + + private bool panTiltFieldSpecified; + + private MoveStatus zoomField; + + private bool zoomFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public MoveStatus PanTilt + { + get + { + return this.panTiltField; + } + set + { + this.panTiltField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PanTiltSpecified + { + get + { + return this.panTiltFieldSpecified; + } + set + { + this.panTiltFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public MoveStatus Zoom + { + get + { + return this.zoomField; + } + set + { + this.zoomField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ZoomSpecified + { + get + { + return this.zoomFieldSpecified; + } + set + { + this.zoomFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public enum MoveStatus + { + /// + IDLE, + + /// + MOVING, + + /// + UNKNOWN, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZStatus + { + private PTZVector positionField; + + private PTZMoveStatus moveStatusField; + + private string errorField; + + private System.DateTime utcTimeField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZVector Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZMoveStatus MoveStatus + { + get + { + return this.moveStatusField; + } + set + { + this.moveStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string Error + { + get + { + return this.errorField; + } + set + { + this.errorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public System.DateTime UtcTime + { + get + { + return this.utcTimeField; + } + set + { + this.utcTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZPreset + { + private string nameField; + + private PTZVector pTZPositionField; + + private string tokenField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public PTZVector PTZPosition + { + get + { + return this.pTZPositionField; + } + set + { + this.pTZPositionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZConfigurationOptions2 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTControlDirectionOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ReverseOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ReverseOptions + { + private ReverseMode[] modeField; + + private ReverseOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public ReverseMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ReverseOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EFlipOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class EFlipOptions + { + private EFlipMode[] modeField; + + private EFlipOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public EFlipMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public EFlipOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTControlDirectionOptions + { + private EFlipOptions eFlipField; + + private ReverseOptions reverseField; + + private PTControlDirectionOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public EFlipOptions EFlip + { + get + { + return this.eFlipField; + } + set + { + this.eFlipField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ReverseOptions Reverse + { + get + { + return this.reverseField; + } + set + { + this.reverseField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public PTControlDirectionOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class PTZConfigurationOptions + { + private PTZSpaces spacesField; + + private DurationRange pTZTimeoutField; + + private System.Xml.Linq.XElement[] anyField; + + private PTControlDirectionOptions pTControlDirectionField; + + private PTZConfigurationOptions2 extensionField; + + private int[] pTZRampsField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public PTZSpaces Spaces + { + get + { + return this.spacesField; + } + set + { + this.spacesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DurationRange PTZTimeout + { + get + { + return this.pTZTimeoutField; + } + set + { + this.pTZTimeoutField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public PTControlDirectionOptions PTControlDirection + { + get + { + return this.pTControlDirectionField; + } + set + { + this.pTControlDirectionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public PTZConfigurationOptions2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int[] PTZRamps + { + get + { + return this.pTZRampsField; + } + set + { + this.pTZRampsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingStatus20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusStatus20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusStatus20 + { + private float positionField; + + private MoveStatus moveStatusField; + + private string errorField; + + private FocusStatus20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public MoveStatus MoveStatus + { + get + { + return this.moveStatusField; + } + set + { + this.moveStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string Error + { + get + { + return this.errorField; + } + set + { + this.errorField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public FocusStatus20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingStatus20 + { + private FocusStatus20 focusStatus20Field; + + private ImagingStatus20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FocusStatus20 FocusStatus20 + { + get + { + return this.focusStatus20Field; + } + set + { + this.focusStatus20Field = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImagingStatus20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ContinuousFocusOptions + { + private FloatRange speedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FloatRange Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RelativeFocusOptions20 + { + private FloatRange distanceField; + + private FloatRange speedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FloatRange Distance + { + get + { + return this.distanceField; + } + set + { + this.distanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AbsoluteFocusOptions + { + private FloatRange positionField; + + private FloatRange speedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public FloatRange Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class MoveOptions20 + { + private AbsoluteFocusOptions absoluteField; + + private RelativeFocusOptions20 relativeField; + + private ContinuousFocusOptions continuousField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AbsoluteFocusOptions Absolute + { + get + { + return this.absoluteField; + } + set + { + this.absoluteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RelativeFocusOptions20 Relative + { + get + { + return this.relativeField; + } + set + { + this.relativeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ContinuousFocusOptions Continuous + { + get + { + return this.continuousField; + } + set + { + this.continuousField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ContinuousFocus + { + private float speedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class RelativeFocus + { + private float distanceField; + + private float speedField; + + private bool speedFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Distance + { + get + { + return this.distanceField; + } + set + { + this.distanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SpeedSpecified + { + get + { + return this.speedFieldSpecified; + } + set + { + this.speedFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class AbsoluteFocus + { + private float positionField; + + private float speedField; + + private bool speedFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float Position + { + get + { + return this.positionField; + } + set + { + this.positionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public float Speed + { + get + { + return this.speedField; + } + set + { + this.speedField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SpeedSpecified + { + get + { + return this.speedFieldSpecified; + } + set + { + this.speedFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusMove + { + private AbsoluteFocus absoluteField; + + private RelativeFocus relativeField; + + private ContinuousFocus continuousField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public AbsoluteFocus Absolute + { + get + { + return this.absoluteField; + } + set + { + this.absoluteField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public RelativeFocus Relative + { + get + { + return this.relativeField; + } + set + { + this.relativeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ContinuousFocus Continuous + { + get + { + return this.continuousField; + } + set + { + this.continuousField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingOptions20Extension4 + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class NoiseReductionOptions + { + private bool levelField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public bool Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class DefoggingOptions + { + private string[] modeField; + + private bool levelField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public string[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ToneCompensationOptions + { + private string[] modeField; + + private bool levelField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public string[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingOptions20Extension3 + { + private ToneCompensationOptions toneCompensationOptionsField; + + private DefoggingOptions defoggingOptionsField; + + private NoiseReductionOptions noiseReductionOptionsField; + + private ImagingOptions20Extension4 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ToneCompensationOptions ToneCompensationOptions + { + get + { + return this.toneCompensationOptionsField; + } + set + { + this.toneCompensationOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public DefoggingOptions DefoggingOptions + { + get + { + return this.defoggingOptionsField; + } + set + { + this.defoggingOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public NoiseReductionOptions NoiseReductionOptions + { + get + { + return this.noiseReductionOptionsField; + } + set + { + this.noiseReductionOptionsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public ImagingOptions20Extension4 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IrCutFilterAutoAdjustmentOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Namespace = "http://www.onvif.org/ver10/schema", Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class IrCutFilterAutoAdjustmentOptions + { + private string[] boundaryTypeField; + + private bool boundaryOffsetField; + + private bool boundaryOffsetFieldSpecified; + + private DurationRange responseTimeRangeField; + + private IrCutFilterAutoAdjustmentOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("BoundaryType", Order = 0)] + public string[] BoundaryType + { + get + { + return this.boundaryTypeField; + } + set + { + this.boundaryTypeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public bool BoundaryOffset + { + get + { + return this.boundaryOffsetField; + } + set + { + this.boundaryOffsetField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool BoundaryOffsetSpecified + { + get + { + return this.boundaryOffsetFieldSpecified; + } + set + { + this.boundaryOffsetFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public DurationRange ResponseTimeRange + { + get + { + return this.responseTimeRangeField; + } + set + { + this.responseTimeRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public IrCutFilterAutoAdjustmentOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingOptions20Extension2 + { + private IrCutFilterAutoAdjustmentOptions irCutFilterAutoAdjustmentField; + + private ImagingOptions20Extension3 extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public IrCutFilterAutoAdjustmentOptions IrCutFilterAutoAdjustment + { + get + { + return this.irCutFilterAutoAdjustmentField; + } + set + { + this.irCutFilterAutoAdjustmentField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImagingOptions20Extension3 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImageStabilizationOptionsExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImageStabilizationOptions + { + private ImageStabilizationMode[] modeField; + + private FloatRange levelField; + + private ImageStabilizationOptionsExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public ImageStabilizationMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ImageStabilizationOptionsExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingOptions20Extension + { + private System.Xml.Linq.XElement[] anyField; + + private ImageStabilizationOptions imageStabilizationField; + + private ImagingOptions20Extension2 extensionField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public ImageStabilizationOptions ImageStabilization + { + get + { + return this.imageStabilizationField; + } + set + { + this.imageStabilizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public ImagingOptions20Extension2 Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WhiteBalanceOptions20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WhiteBalanceOptions20 + { + private WhiteBalanceMode[] modeField; + + private FloatRange yrGainField; + + private FloatRange ybGainField; + + private WhiteBalanceOptions20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public WhiteBalanceMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange YrGain + { + get + { + return this.yrGainField; + } + set + { + this.yrGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange YbGain + { + get + { + return this.ybGainField; + } + set + { + this.ybGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public WhiteBalanceOptions20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class WideDynamicRangeOptions20 + { + private WideDynamicMode[] modeField; + + private FloatRange levelField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public WideDynamicMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusOptions20Extension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class FocusOptions20 + { + private AutoFocusMode[] autoFocusModesField; + + private FloatRange defaultSpeedField; + + private FloatRange nearLimitField; + + private FloatRange farLimitField; + + private FocusOptions20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("AutoFocusModes", Order = 0)] + public AutoFocusMode[] AutoFocusModes + { + get + { + return this.autoFocusModesField; + } + set + { + this.autoFocusModesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange DefaultSpeed + { + get + { + return this.defaultSpeedField; + } + set + { + this.defaultSpeedField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange NearLimit + { + get + { + return this.nearLimitField; + } + set + { + this.nearLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public FloatRange FarLimit + { + get + { + return this.farLimitField; + } + set + { + this.farLimitField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public FocusOptions20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ExposureOptions20 + { + private ExposureMode[] modeField; + + private ExposurePriority[] priorityField; + + private FloatRange minExposureTimeField; + + private FloatRange maxExposureTimeField; + + private FloatRange minGainField; + + private FloatRange maxGainField; + + private FloatRange minIrisField; + + private FloatRange maxIrisField; + + private FloatRange exposureTimeField; + + private FloatRange gainField; + + private FloatRange irisField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public ExposureMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Priority", Order = 1)] + public ExposurePriority[] Priority + { + get + { + return this.priorityField; + } + set + { + this.priorityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange MinExposureTime + { + get + { + return this.minExposureTimeField; + } + set + { + this.minExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public FloatRange MaxExposureTime + { + get + { + return this.maxExposureTimeField; + } + set + { + this.maxExposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public FloatRange MinGain + { + get + { + return this.minGainField; + } + set + { + this.minGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public FloatRange MaxGain + { + get + { + return this.maxGainField; + } + set + { + this.maxGainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 6)] + public FloatRange MinIris + { + get + { + return this.minIrisField; + } + set + { + this.minIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public FloatRange MaxIris + { + get + { + return this.maxIrisField; + } + set + { + this.maxIrisField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public FloatRange ExposureTime + { + get + { + return this.exposureTimeField; + } + set + { + this.exposureTimeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public FloatRange Gain + { + get + { + return this.gainField; + } + set + { + this.gainField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public FloatRange Iris + { + get + { + return this.irisField; + } + set + { + this.irisField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class BacklightCompensationOptions20 + { + private BacklightCompensationMode[] modeField; + + private FloatRange levelField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Mode", Order = 0)] + public BacklightCompensationMode[] Mode + { + get + { + return this.modeField; + } + set + { + this.modeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Level + { + get + { + return this.levelField; + } + set + { + this.levelField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/schema")] + public partial class ImagingOptions20 + { + private BacklightCompensationOptions20 backlightCompensationField; + + private FloatRange brightnessField; + + private FloatRange colorSaturationField; + + private FloatRange contrastField; + + private ExposureOptions20 exposureField; + + private FocusOptions20 focusField; + + private IrCutFilterMode[] irCutFilterModesField; + + private FloatRange sharpnessField; + + private WideDynamicRangeOptions20 wideDynamicRangeField; + + private WhiteBalanceOptions20 whiteBalanceField; + + private ImagingOptions20Extension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public BacklightCompensationOptions20 BacklightCompensation + { + get + { + return this.backlightCompensationField; + } + set + { + this.backlightCompensationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public FloatRange Brightness + { + get + { + return this.brightnessField; + } + set + { + this.brightnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public FloatRange ColorSaturation + { + get + { + return this.colorSaturationField; + } + set + { + this.colorSaturationField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public FloatRange Contrast + { + get + { + return this.contrastField; + } + set + { + this.contrastField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public ExposureOptions20 Exposure + { + get + { + return this.exposureField; + } + set + { + this.exposureField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public FocusOptions20 Focus + { + get + { + return this.focusField; + } + set + { + this.focusField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("IrCutFilterModes", Order = 6)] + public IrCutFilterMode[] IrCutFilterModes + { + get + { + return this.irCutFilterModesField; + } + set + { + this.irCutFilterModesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 7)] + public FloatRange Sharpness + { + get + { + return this.sharpnessField; + } + set + { + this.sharpnessField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 8)] + public WideDynamicRangeOptions20 WideDynamicRange + { + get + { + return this.wideDynamicRangeField; + } + set + { + this.wideDynamicRangeField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 9)] + public WhiteBalanceOptions20 WhiteBalance + { + get + { + return this.whiteBalanceField; + } + set + { + this.whiteBalanceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 10)] + public ImagingOptions20Extension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Device/DataTypes.cs b/BaseModule/EC.Onvif/Device/DataTypes.cs new file mode 100644 index 0000000..61bceb3 --- /dev/null +++ b/BaseModule/EC.Onvif/Device/DataTypes.cs @@ -0,0 +1,1736 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.Device +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class Service + { + private string namespaceField; + + private string xAddrField; + + private System.Xml.Linq.XElement capabilitiesField; + + private OnvifVersion versionField; + + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string Namespace + { + get + { + return this.namespaceField; + } + set + { + this.namespaceField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string XAddr + { + get + { + return this.xAddrField; + } + set + { + this.xAddrField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public System.Xml.Linq.XElement Capabilities + { + get + { + return this.capabilitiesField; + } + set + { + this.capabilitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public OnvifVersion Version + { + get + { + return this.versionField; + } + set + { + this.versionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class UserCredential + { + private string userNameField; + + private string passwordField; + + private UserCredentialExtension extensionField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string UserName + { + get + { + return this.userNameField; + } + set + { + this.userNameField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public string Password + { + get + { + return this.passwordField; + } + set + { + this.passwordField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public UserCredentialExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class UserCredentialExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class StorageConfigurationData + { + private string localPathField; + + private string storageUriField; + + private UserCredential userField; + + private StorageConfigurationDataExtension extensionField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 0)] + public string LocalPath + { + get + { + return this.localPathField; + } + set + { + this.localPathField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 1)] + public string StorageUri + { + get + { + return this.storageUriField; + } + set + { + this.storageUriField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public UserCredential User + { + get + { + return this.userField; + } + set + { + this.userField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public StorageConfigurationDataExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class StorageConfigurationDataExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class StorageConfiguration : DeviceEntity + { + private StorageConfigurationData dataField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public StorageConfigurationData Data + { + get + { + return this.dataField; + } + set + { + this.dataField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class MiscCapabilities + { + private string[] auxiliaryCommandsField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string[] AuxiliaryCommands + { + get + { + return this.auxiliaryCommandsField; + } + set + { + this.auxiliaryCommandsField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class SystemCapabilities + { + private bool discoveryResolveField; + + private bool discoveryResolveFieldSpecified; + + private bool discoveryByeField; + + private bool discoveryByeFieldSpecified; + + private bool remoteDiscoveryField; + + private bool remoteDiscoveryFieldSpecified; + + private bool systemBackupField; + + private bool systemBackupFieldSpecified; + + private bool systemLoggingField; + + private bool systemLoggingFieldSpecified; + + private bool firmwareUpgradeField; + + private bool firmwareUpgradeFieldSpecified; + + private bool httpFirmwareUpgradeField; + + private bool httpFirmwareUpgradeFieldSpecified; + + private bool httpSystemBackupField; + + private bool httpSystemBackupFieldSpecified; + + private bool httpSystemLoggingField; + + private bool httpSystemLoggingFieldSpecified; + + private bool httpSupportInformationField; + + private bool httpSupportInformationFieldSpecified; + + private bool storageConfigurationField; + + private bool storageConfigurationFieldSpecified; + + private int maxStorageConfigurationsField; + + private bool maxStorageConfigurationsFieldSpecified; + + private int geoLocationEntriesField; + + private bool geoLocationEntriesFieldSpecified; + + private string[] autoGeoField; + + private string[] storageTypesSupportedField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool DiscoveryResolve + { + get + { + return this.discoveryResolveField; + } + set + { + this.discoveryResolveField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DiscoveryResolveSpecified + { + get + { + return this.discoveryResolveFieldSpecified; + } + set + { + this.discoveryResolveFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool DiscoveryBye + { + get + { + return this.discoveryByeField; + } + set + { + this.discoveryByeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DiscoveryByeSpecified + { + get + { + return this.discoveryByeFieldSpecified; + } + set + { + this.discoveryByeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RemoteDiscovery + { + get + { + return this.remoteDiscoveryField; + } + set + { + this.remoteDiscoveryField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RemoteDiscoverySpecified + { + get + { + return this.remoteDiscoveryFieldSpecified; + } + set + { + this.remoteDiscoveryFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool SystemBackup + { + get + { + return this.systemBackupField; + } + set + { + this.systemBackupField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SystemBackupSpecified + { + get + { + return this.systemBackupFieldSpecified; + } + set + { + this.systemBackupFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool SystemLogging + { + get + { + return this.systemLoggingField; + } + set + { + this.systemLoggingField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SystemLoggingSpecified + { + get + { + return this.systemLoggingFieldSpecified; + } + set + { + this.systemLoggingFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool FirmwareUpgrade + { + get + { + return this.firmwareUpgradeField; + } + set + { + this.firmwareUpgradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool FirmwareUpgradeSpecified + { + get + { + return this.firmwareUpgradeFieldSpecified; + } + set + { + this.firmwareUpgradeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HttpFirmwareUpgrade + { + get + { + return this.httpFirmwareUpgradeField; + } + set + { + this.httpFirmwareUpgradeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpFirmwareUpgradeSpecified + { + get + { + return this.httpFirmwareUpgradeFieldSpecified; + } + set + { + this.httpFirmwareUpgradeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HttpSystemBackup + { + get + { + return this.httpSystemBackupField; + } + set + { + this.httpSystemBackupField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSystemBackupSpecified + { + get + { + return this.httpSystemBackupFieldSpecified; + } + set + { + this.httpSystemBackupFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HttpSystemLogging + { + get + { + return this.httpSystemLoggingField; + } + set + { + this.httpSystemLoggingField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSystemLoggingSpecified + { + get + { + return this.httpSystemLoggingFieldSpecified; + } + set + { + this.httpSystemLoggingFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HttpSupportInformation + { + get + { + return this.httpSupportInformationField; + } + set + { + this.httpSupportInformationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpSupportInformationSpecified + { + get + { + return this.httpSupportInformationFieldSpecified; + } + set + { + this.httpSupportInformationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool StorageConfiguration + { + get + { + return this.storageConfigurationField; + } + set + { + this.storageConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool StorageConfigurationSpecified + { + get + { + return this.storageConfigurationFieldSpecified; + } + set + { + this.storageConfigurationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxStorageConfigurations + { + get + { + return this.maxStorageConfigurationsField; + } + set + { + this.maxStorageConfigurationsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxStorageConfigurationsSpecified + { + get + { + return this.maxStorageConfigurationsFieldSpecified; + } + set + { + this.maxStorageConfigurationsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int GeoLocationEntries + { + get + { + return this.geoLocationEntriesField; + } + set + { + this.geoLocationEntriesField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GeoLocationEntriesSpecified + { + get + { + return this.geoLocationEntriesFieldSpecified; + } + set + { + this.geoLocationEntriesFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string[] AutoGeo + { + get + { + return this.autoGeoField; + } + set + { + this.autoGeoField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string[] StorageTypesSupported + { + get + { + return this.storageTypesSupportedField; + } + set + { + this.storageTypesSupportedField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class SecurityCapabilities + { + private bool tLS10Field; + + private bool tLS10FieldSpecified; + + private bool tLS11Field; + + private bool tLS11FieldSpecified; + + private bool tLS12Field; + + private bool tLS12FieldSpecified; + + private bool onboardKeyGenerationField; + + private bool onboardKeyGenerationFieldSpecified; + + private bool accessPolicyConfigField; + + private bool accessPolicyConfigFieldSpecified; + + private bool defaultAccessPolicyField; + + private bool defaultAccessPolicyFieldSpecified; + + private bool dot1XField; + + private bool dot1XFieldSpecified; + + private bool remoteUserHandlingField; + + private bool remoteUserHandlingFieldSpecified; + + private bool x509TokenField; + + private bool x509TokenFieldSpecified; + + private bool sAMLTokenField; + + private bool sAMLTokenFieldSpecified; + + private bool kerberosTokenField; + + private bool kerberosTokenFieldSpecified; + + private bool usernameTokenField; + + private bool usernameTokenFieldSpecified; + + private bool httpDigestField; + + private bool httpDigestFieldSpecified; + + private bool rELTokenField; + + private bool rELTokenFieldSpecified; + + private int[] supportedEAPMethodsField; + + private int maxUsersField; + + private bool maxUsersFieldSpecified; + + private int maxUserNameLengthField; + + private bool maxUserNameLengthFieldSpecified; + + private int maxPasswordLengthField; + + private bool maxPasswordLengthFieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute("TLS1.0")] + public bool TLS10 + { + get + { + return this.tLS10Field; + } + set + { + this.tLS10Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TLS10Specified + { + get + { + return this.tLS10FieldSpecified; + } + set + { + this.tLS10FieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute("TLS1.1")] + public bool TLS11 + { + get + { + return this.tLS11Field; + } + set + { + this.tLS11Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TLS11Specified + { + get + { + return this.tLS11FieldSpecified; + } + set + { + this.tLS11FieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute("TLS1.2")] + public bool TLS12 + { + get + { + return this.tLS12Field; + } + set + { + this.tLS12Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TLS12Specified + { + get + { + return this.tLS12FieldSpecified; + } + set + { + this.tLS12FieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool OnboardKeyGeneration + { + get + { + return this.onboardKeyGenerationField; + } + set + { + this.onboardKeyGenerationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool OnboardKeyGenerationSpecified + { + get + { + return this.onboardKeyGenerationFieldSpecified; + } + set + { + this.onboardKeyGenerationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool AccessPolicyConfig + { + get + { + return this.accessPolicyConfigField; + } + set + { + this.accessPolicyConfigField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool AccessPolicyConfigSpecified + { + get + { + return this.accessPolicyConfigFieldSpecified; + } + set + { + this.accessPolicyConfigFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool DefaultAccessPolicy + { + get + { + return this.defaultAccessPolicyField; + } + set + { + this.defaultAccessPolicyField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DefaultAccessPolicySpecified + { + get + { + return this.defaultAccessPolicyFieldSpecified; + } + set + { + this.defaultAccessPolicyFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Dot1X + { + get + { + return this.dot1XField; + } + set + { + this.dot1XField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Dot1XSpecified + { + get + { + return this.dot1XFieldSpecified; + } + set + { + this.dot1XFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RemoteUserHandling + { + get + { + return this.remoteUserHandlingField; + } + set + { + this.remoteUserHandlingField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RemoteUserHandlingSpecified + { + get + { + return this.remoteUserHandlingFieldSpecified; + } + set + { + this.remoteUserHandlingFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute("X.509Token")] + public bool X509Token + { + get + { + return this.x509TokenField; + } + set + { + this.x509TokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool X509TokenSpecified + { + get + { + return this.x509TokenFieldSpecified; + } + set + { + this.x509TokenFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool SAMLToken + { + get + { + return this.sAMLTokenField; + } + set + { + this.sAMLTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SAMLTokenSpecified + { + get + { + return this.sAMLTokenFieldSpecified; + } + set + { + this.sAMLTokenFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool KerberosToken + { + get + { + return this.kerberosTokenField; + } + set + { + this.kerberosTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool KerberosTokenSpecified + { + get + { + return this.kerberosTokenFieldSpecified; + } + set + { + this.kerberosTokenFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool UsernameToken + { + get + { + return this.usernameTokenField; + } + set + { + this.usernameTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool UsernameTokenSpecified + { + get + { + return this.usernameTokenFieldSpecified; + } + set + { + this.usernameTokenFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HttpDigest + { + get + { + return this.httpDigestField; + } + set + { + this.httpDigestField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HttpDigestSpecified + { + get + { + return this.httpDigestFieldSpecified; + } + set + { + this.httpDigestFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RELToken + { + get + { + return this.rELTokenField; + } + set + { + this.rELTokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RELTokenSpecified + { + get + { + return this.rELTokenFieldSpecified; + } + set + { + this.rELTokenFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int[] SupportedEAPMethods + { + get + { + return this.supportedEAPMethodsField; + } + set + { + this.supportedEAPMethodsField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxUsers + { + get + { + return this.maxUsersField; + } + set + { + this.maxUsersField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxUsersSpecified + { + get + { + return this.maxUsersFieldSpecified; + } + set + { + this.maxUsersFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxUserNameLength + { + get + { + return this.maxUserNameLengthField; + } + set + { + this.maxUserNameLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxUserNameLengthSpecified + { + get + { + return this.maxUserNameLengthFieldSpecified; + } + set + { + this.maxUserNameLengthFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaxPasswordLength + { + get + { + return this.maxPasswordLengthField; + } + set + { + this.maxPasswordLengthField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaxPasswordLengthSpecified + { + get + { + return this.maxPasswordLengthFieldSpecified; + } + set + { + this.maxPasswordLengthFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class NetworkCapabilities + { + private bool iPFilterField; + + private bool iPFilterFieldSpecified; + + private bool zeroConfigurationField; + + private bool zeroConfigurationFieldSpecified; + + private bool iPVersion6Field; + + private bool iPVersion6FieldSpecified; + + private bool dynDNSField; + + private bool dynDNSFieldSpecified; + + private bool dot11ConfigurationField; + + private bool dot11ConfigurationFieldSpecified; + + private int dot1XConfigurationsField; + + private bool dot1XConfigurationsFieldSpecified; + + private bool hostnameFromDHCPField; + + private bool hostnameFromDHCPFieldSpecified; + + private int nTPField; + + private bool nTPFieldSpecified; + + private bool dHCPv6Field; + + private bool dHCPv6FieldSpecified; + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool IPFilter + { + get + { + return this.iPFilterField; + } + set + { + this.iPFilterField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IPFilterSpecified + { + get + { + return this.iPFilterFieldSpecified; + } + set + { + this.iPFilterFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool ZeroConfiguration + { + get + { + return this.zeroConfigurationField; + } + set + { + this.zeroConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ZeroConfigurationSpecified + { + get + { + return this.zeroConfigurationFieldSpecified; + } + set + { + this.zeroConfigurationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool IPVersion6 + { + get + { + return this.iPVersion6Field; + } + set + { + this.iPVersion6Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool IPVersion6Specified + { + get + { + return this.iPVersion6FieldSpecified; + } + set + { + this.iPVersion6FieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool DynDNS + { + get + { + return this.dynDNSField; + } + set + { + this.dynDNSField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DynDNSSpecified + { + get + { + return this.dynDNSFieldSpecified; + } + set + { + this.dynDNSFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Dot11Configuration + { + get + { + return this.dot11ConfigurationField; + } + set + { + this.dot11ConfigurationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Dot11ConfigurationSpecified + { + get + { + return this.dot11ConfigurationFieldSpecified; + } + set + { + this.dot11ConfigurationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int Dot1XConfigurations + { + get + { + return this.dot1XConfigurationsField; + } + set + { + this.dot1XConfigurationsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool Dot1XConfigurationsSpecified + { + get + { + return this.dot1XConfigurationsFieldSpecified; + } + set + { + this.dot1XConfigurationsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool HostnameFromDHCP + { + get + { + return this.hostnameFromDHCPField; + } + set + { + this.hostnameFromDHCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool HostnameFromDHCPSpecified + { + get + { + return this.hostnameFromDHCPFieldSpecified; + } + set + { + this.hostnameFromDHCPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int NTP + { + get + { + return this.nTPField; + } + set + { + this.nTPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NTPSpecified + { + get + { + return this.nTPFieldSpecified; + } + set + { + this.nTPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool DHCPv6 + { + get + { + return this.dHCPv6Field; + } + set + { + this.dHCPv6Field = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool DHCPv6Specified + { + get + { + return this.dHCPv6FieldSpecified; + } + set + { + this.dHCPv6FieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class DeviceServiceCapabilities + { + private NetworkCapabilities networkField; + + private SecurityCapabilities securityField; + + private SystemCapabilities systemField; + + private MiscCapabilities miscField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public NetworkCapabilities Network + { + get + { + return this.networkField; + } + set + { + this.networkField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public SecurityCapabilities Security + { + get + { + return this.securityField; + } + set + { + this.securityField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public SystemCapabilities System + { + get + { + return this.systemField; + } + set + { + this.systemField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public MiscCapabilities Misc + { + get + { + return this.miscField; + } + set + { + this.miscField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.onvif.org/ver10/device/wsdl")] + public partial class GetSystemUrisResponseExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Device/DeviceClient.cs b/BaseModule/EC.Onvif/Device/DeviceClient.cs new file mode 100644 index 0000000..4c0e019 --- /dev/null +++ b/BaseModule/EC.Onvif/Device/DeviceClient.cs @@ -0,0 +1,2934 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.Device +{ + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", ConfigurationName = "EC.Onvif.Device.Device")] + public interface Device + { + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetServices", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetServicesAsync(GetServicesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetServiceCapabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Capabilities")] + System.Threading.Tasks.Task GetServiceCapabilitiesAsync(); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDeviceInformation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetDeviceInformationAsync(GetDeviceInformationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetSystemDateAndTime", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetSystemDateAndTimeAsync(SetDateTimeType DateTimeType, bool DaylightSavings, TimeZone TimeZone, DateTime UTCDateTime); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetSystemDateAndTime", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "SystemDateAndTime")] + System.Threading.Tasks.Task GetSystemDateAndTimeAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetSystemFactoryDefault", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetSystemFactoryDefaultAsync(FactoryDefaultType FactoryDefault); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/UpgradeSystemFirmware", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Message")] + System.Threading.Tasks.Task UpgradeSystemFirmwareAsync(AttachmentData Firmware); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SystemReboot", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Message")] + System.Threading.Tasks.Task SystemRebootAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/RestoreSystem", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RestoreSystemAsync(RestoreSystemRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetSystemBackup", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetSystemBackupAsync(GetSystemBackupRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetSystemLog", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "SystemLog")] + System.Threading.Tasks.Task GetSystemLogAsync(SystemLogType LogType); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetSystemSupportInformation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "SupportInformation")] + System.Threading.Tasks.Task GetSystemSupportInformationAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetScopes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetScopesAsync(GetScopesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetScopes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetScopesAsync(SetScopesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/AddScopes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddScopesAsync(AddScopesRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/RemoveScopes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveScopesAsync(RemoveScopesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDiscoveryMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "DiscoveryMode")] + System.Threading.Tasks.Task GetDiscoveryModeAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetDiscoveryMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetDiscoveryModeAsync(DiscoveryMode DiscoveryMode); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteDiscoveryMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "RemoteDiscoveryMode")] + System.Threading.Tasks.Task GetRemoteDiscoveryModeAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteDiscoveryMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetRemoteDiscoveryModeAsync(DiscoveryMode RemoteDiscoveryMode); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDPAddresses", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetDPAddressesAsync(GetDPAddressesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetDPAddresses", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetDPAddressesAsync(SetDPAddressesRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetEndpointReference", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetEndpointReferenceAsync(GetEndpointReferenceRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetRemoteUser", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "RemoteUser")] + System.Threading.Tasks.Task GetRemoteUserAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetRemoteUser", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetRemoteUserAsync(RemoteUser RemoteUser); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetUsers", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetUsersAsync(GetUsersRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/CreateUsers", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task CreateUsersAsync(CreateUsersRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/DeleteUsers", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteUsersAsync(DeleteUsersRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetUser", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetUserAsync(SetUserRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetWsdlUrl", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetWsdlUrlAsync(GetWsdlUrlRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetCapabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCapabilitiesAsync(GetCapabilitiesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetHostname", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "HostnameInformation")] + System.Threading.Tasks.Task GetHostnameAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetHostname", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetHostnameAsync(SetHostnameRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetHostnameFromDHCP", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "RebootNeeded")] + System.Threading.Tasks.Task SetHostnameFromDHCPAsync(bool FromDHCP); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDNS", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "DNSInformation")] + System.Threading.Tasks.Task GetDNSAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetDNS", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetDNSAsync(SetDNSRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetNTP", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "NTPInformation")] + System.Threading.Tasks.Task GetNTPAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetNTP", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetNTPAsync(SetNTPRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDynamicDNS", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "DynamicDNSInformation")] + System.Threading.Tasks.Task GetDynamicDNSAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetDynamicDNS", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetDynamicDNSAsync(SetDynamicDNSRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkInterfaces", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetNetworkInterfacesAsync(GetNetworkInterfacesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkInterfaces", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "RebootNeeded")] + System.Threading.Tasks.Task SetNetworkInterfacesAsync(string InterfaceToken, NetworkInterfaceSetConfiguration NetworkInterface); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkProtocols", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetNetworkProtocolsAsync(GetNetworkProtocolsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkProtocols", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetNetworkProtocolsAsync(SetNetworkProtocolsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetNetworkDefaultGateway", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "NetworkGateway")] + System.Threading.Tasks.Task GetNetworkDefaultGatewayAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetNetworkDefaultGateway", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetNetworkDefaultGatewayAsync(SetNetworkDefaultGatewayRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetZeroConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "ZeroConfiguration")] + System.Threading.Tasks.Task GetZeroConfigurationAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetZeroConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetZeroConfigurationAsync(string InterfaceToken, bool Enabled); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetIPAddressFilter", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "IPAddressFilter")] + System.Threading.Tasks.Task GetIPAddressFilterAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetIPAddressFilter", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetIPAddressFilterAsync(IPAddressFilter IPAddressFilter); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/AddIPAddressFilter", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddIPAddressFilterAsync(IPAddressFilter IPAddressFilter); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/RemoveIPAddressFilter", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveIPAddressFilterAsync(IPAddressFilter IPAddressFilter); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetAccessPolicy", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PolicyFile")] + System.Threading.Tasks.Task GetAccessPolicyAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetAccessPolicy", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetAccessPolicyAsync(BinaryData PolicyFile); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/CreateCertificate", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task CreateCertificateAsync(CreateCertificateRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetCertificates", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCertificatesAsync(GetCertificatesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetCertificatesStatus", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCertificatesStatusAsync(GetCertificatesStatusRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetCertificatesStatus", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetCertificatesStatusAsync(SetCertificatesStatusRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/DeleteCertificates", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteCertificatesAsync(DeleteCertificatesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetPkcs10Request", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetPkcs10RequestAsync(GetPkcs10RequestRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificates", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task LoadCertificatesAsync(LoadCertificatesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetClientCertificateMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Enabled")] + System.Threading.Tasks.Task GetClientCertificateModeAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetClientCertificateMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetClientCertificateModeAsync(bool Enabled); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetRelayOutputs", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetRelayOutputsAsync(GetRelayOutputsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputSettings", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetRelayOutputSettingsAsync(string RelayOutputToken, RelayOutputSettings Properties); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetRelayOutputState", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetRelayOutputStateAsync(string RelayOutputToken, RelayLogicalState LogicalState); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SendAuxiliaryCommand", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "AuxiliaryCommandResponse")] + System.Threading.Tasks.Task SendAuxiliaryCommandAsync(string AuxiliaryCommand); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetCACertificates", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCACertificatesAsync(GetCACertificatesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/LoadCertificateWithPrivateKey", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task LoadCertificateWithPrivateKeyAsync(LoadCertificateWithPrivateKeyRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetCertificateInformation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCertificateInformationAsync(GetCertificateInformationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/LoadCACertificates", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task LoadCACertificatesAsync(LoadCACertificatesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/CreateDot1XConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task CreateDot1XConfigurationAsync(Dot1XConfiguration Dot1XConfiguration); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetDot1XConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetDot1XConfigurationAsync(Dot1XConfiguration Dot1XConfiguration); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Dot1XConfiguration")] + System.Threading.Tasks.Task GetDot1XConfigurationAsync(string Dot1XConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDot1XConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetDot1XConfigurationsAsync(GetDot1XConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/DeleteDot1XConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteDot1XConfigurationAsync(DeleteDot1XConfigurationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Capabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetDot11CapabilitiesAsync(GetDot11CapabilitiesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetDot11Status", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Status")] + System.Threading.Tasks.Task GetDot11StatusAsync(string InterfaceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/ScanAvailableDot11Networks", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task ScanAvailableDot11NetworksAsync(ScanAvailableDot11NetworksRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetSystemUris", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetSystemUrisAsync(GetSystemUrisRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/StartFirmwareUpgrade", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task StartFirmwareUpgradeAsync(StartFirmwareUpgradeRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/StartSystemRestore", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task StartSystemRestoreAsync(StartSystemRestoreRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetStorageConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetStorageConfigurationsAsync(GetStorageConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/CreateStorageConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Token")] + System.Threading.Tasks.Task CreateStorageConfigurationAsync(StorageConfigurationData StorageConfiguration); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetStorageConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "StorageConfiguration")] + System.Threading.Tasks.Task GetStorageConfigurationAsync(string Token); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetStorageConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetStorageConfigurationAsync(StorageConfiguration StorageConfiguration); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/DeleteStorageConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteStorageConfigurationAsync(string Token); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/GetGeoLocation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetGeoLocationAsync(GetGeoLocationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/SetGeoLocation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetGeoLocationAsync(SetGeoLocationRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/device/wsdl/DeleteGeoLocation", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteGeoLocationAsync(DeleteGeoLocationRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetServices", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetServicesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public bool IncludeCapability; + + public GetServicesRequest() + { + } + + public GetServicesRequest(bool IncludeCapability) + { + this.IncludeCapability = IncludeCapability; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetServicesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetServicesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Service")] + public Service[] Service; + + public GetServicesResponse() + { + } + + public GetServicesResponse(Service[] Service) + { + this.Service = Service; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDeviceInformation", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDeviceInformationRequest + { + public GetDeviceInformationRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDeviceInformationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDeviceInformationResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public string Manufacturer; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + public string Model; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + public string FirmwareVersion; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 3)] + public string SerialNumber; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 4)] + public string HardwareId; + + public GetDeviceInformationResponse() + { + } + + public GetDeviceInformationResponse(string Manufacturer, string Model, string FirmwareVersion, string SerialNumber, string HardwareId) + { + this.Manufacturer = Manufacturer; + this.Model = Model; + this.FirmwareVersion = FirmwareVersion; + this.SerialNumber = SerialNumber; + this.HardwareId = HardwareId; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "RestoreSystem", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class RestoreSystemRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("BackupFiles")] + public BackupFile[] BackupFiles; + + public RestoreSystemRequest() + { + } + + public RestoreSystemRequest(BackupFile[] BackupFiles) + { + this.BackupFiles = BackupFiles; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "RestoreSystemResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class RestoreSystemResponse + { + public RestoreSystemResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetSystemBackup", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetSystemBackupRequest + { + public GetSystemBackupRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetSystemBackupResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetSystemBackupResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("BackupFiles")] + public BackupFile[] BackupFiles; + + public GetSystemBackupResponse() + { + } + + public GetSystemBackupResponse(BackupFile[] BackupFiles) + { + this.BackupFiles = BackupFiles; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetScopes", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetScopesRequest + { + public GetScopesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetScopesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetScopesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Scopes")] + public Scope[] Scopes; + + public GetScopesResponse() + { + } + + public GetScopesResponse(Scope[] Scopes) + { + this.Scopes = Scopes; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetScopes", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetScopesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Scopes", DataType = "anyURI")] + public string[] Scopes; + + public SetScopesRequest() + { + } + + public SetScopesRequest(string[] Scopes) + { + this.Scopes = Scopes; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetScopesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetScopesResponse + { + public SetScopesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "AddScopes", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class AddScopesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("ScopeItem", DataType = "anyURI")] + public string[] ScopeItem; + + public AddScopesRequest() + { + } + + public AddScopesRequest(string[] ScopeItem) + { + this.ScopeItem = ScopeItem; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "AddScopesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class AddScopesResponse + { + public AddScopesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "RemoveScopes", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class RemoveScopesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("ScopeItem", DataType = "anyURI")] + public string[] ScopeItem; + + public RemoveScopesRequest() + { + } + + public RemoveScopesRequest(string[] ScopeItem) + { + this.ScopeItem = ScopeItem; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "RemoveScopesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class RemoveScopesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("ScopeItem", DataType = "anyURI")] + public string[] ScopeItem; + + public RemoveScopesResponse() + { + } + + public RemoveScopesResponse(string[] ScopeItem) + { + this.ScopeItem = ScopeItem; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDPAddresses", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDPAddressesRequest + { + public GetDPAddressesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDPAddressesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDPAddressesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("DPAddress")] + public NetworkHost[] DPAddress; + + public GetDPAddressesResponse() + { + } + + public GetDPAddressesResponse(NetworkHost[] DPAddress) + { + this.DPAddress = DPAddress; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDPAddresses", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDPAddressesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("DPAddress")] + public NetworkHost[] DPAddress; + + public SetDPAddressesRequest() + { + } + + public SetDPAddressesRequest(NetworkHost[] DPAddress) + { + this.DPAddress = DPAddress; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDPAddressesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDPAddressesResponse + { + public SetDPAddressesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetEndpointReference", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetEndpointReferenceRequest + { + public GetEndpointReferenceRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetEndpointReferenceResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetEndpointReferenceResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public string GUID; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetEndpointReferenceResponse() + { + } + + public GetEndpointReferenceResponse(string GUID, System.Xml.Linq.XElement[] Any) + { + this.GUID = GUID; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetUsers", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetUsersRequest + { + public GetUsersRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetUsersResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetUsersResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("User")] + public User[] User; + + public GetUsersResponse() + { + } + + public GetUsersResponse(User[] User) + { + this.User = User; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateUsers", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class CreateUsersRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("User")] + public User[] User; + + public CreateUsersRequest() + { + } + + public CreateUsersRequest(User[] User) + { + this.User = User; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateUsersResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class CreateUsersResponse + { + public CreateUsersResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteUsers", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteUsersRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Username")] + public string[] Username; + + public DeleteUsersRequest() + { + } + + public DeleteUsersRequest(string[] Username) + { + this.Username = Username; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteUsersResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteUsersResponse + { + public DeleteUsersResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetUser", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetUserRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("User")] + public User[] User; + + public SetUserRequest() + { + } + + public SetUserRequest(User[] User) + { + this.User = User; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetUserResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetUserResponse + { + public SetUserResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetWsdlUrl", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetWsdlUrlRequest + { + public GetWsdlUrlRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetWsdlUrlResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetWsdlUrlResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI")] + public string WsdlUrl; + + public GetWsdlUrlResponse() + { + } + + public GetWsdlUrlResponse(string WsdlUrl) + { + this.WsdlUrl = WsdlUrl; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCapabilities", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCapabilitiesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Category")] + public CapabilityCategory[] Category; + + public GetCapabilitiesRequest() + { + } + + public GetCapabilitiesRequest(CapabilityCategory[] Category) + { + this.Category = Category; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCapabilitiesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCapabilitiesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public Capabilities Capabilities; + + public GetCapabilitiesResponse() + { + } + + public GetCapabilitiesResponse(Capabilities Capabilities) + { + this.Capabilities = Capabilities; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetHostname", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetHostnameRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "token")] + public string Name; + + public SetHostnameRequest() + { + } + + public SetHostnameRequest(string Name) + { + this.Name = Name; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetHostnameResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetHostnameResponse + { + public SetHostnameResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDNS", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDNSRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public bool FromDHCP; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute("SearchDomain", DataType = "token")] + public string[] SearchDomain; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + [System.Xml.Serialization.XmlElementAttribute("DNSManual")] + public IPAddress[] DNSManual; + + public SetDNSRequest() + { + } + + public SetDNSRequest(bool FromDHCP, string[] SearchDomain, IPAddress[] DNSManual) + { + this.FromDHCP = FromDHCP; + this.SearchDomain = SearchDomain; + this.DNSManual = DNSManual; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDNSResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDNSResponse + { + public SetDNSResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNTP", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNTPRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public bool FromDHCP; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute("NTPManual")] + public NetworkHost[] NTPManual; + + public SetNTPRequest() + { + } + + public SetNTPRequest(bool FromDHCP, NetworkHost[] NTPManual) + { + this.FromDHCP = FromDHCP; + this.NTPManual = NTPManual; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNTPResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNTPResponse + { + public SetNTPResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDynamicDNS", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDynamicDNSRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public DynamicDNSType Type; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "token")] + public string Name; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration")] + public string TTL; + + public SetDynamicDNSRequest() + { + } + + public SetDynamicDNSRequest(DynamicDNSType Type, string Name, string TTL) + { + this.Type = Type; + this.Name = Name; + this.TTL = TTL; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetDynamicDNSResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetDynamicDNSResponse + { + public SetDynamicDNSResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNetworkInterfaces", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetNetworkInterfacesRequest + { + public GetNetworkInterfacesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNetworkInterfacesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetNetworkInterfacesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("NetworkInterfaces")] + public NetworkInterface[] NetworkInterfaces; + + public GetNetworkInterfacesResponse() + { + } + + public GetNetworkInterfacesResponse(NetworkInterface[] NetworkInterfaces) + { + this.NetworkInterfaces = NetworkInterfaces; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNetworkProtocols", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetNetworkProtocolsRequest + { + public GetNetworkProtocolsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNetworkProtocolsResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetNetworkProtocolsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("NetworkProtocols")] + public NetworkProtocol[] NetworkProtocols; + + public GetNetworkProtocolsResponse() + { + } + + public GetNetworkProtocolsResponse(NetworkProtocol[] NetworkProtocols) + { + this.NetworkProtocols = NetworkProtocols; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNetworkProtocols", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNetworkProtocolsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("NetworkProtocols")] + public NetworkProtocol[] NetworkProtocols; + + public SetNetworkProtocolsRequest() + { + } + + public SetNetworkProtocolsRequest(NetworkProtocol[] NetworkProtocols) + { + this.NetworkProtocols = NetworkProtocols; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNetworkProtocolsResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNetworkProtocolsResponse + { + public SetNetworkProtocolsResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNetworkDefaultGateway", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNetworkDefaultGatewayRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("IPv4Address", DataType = "token")] + public string[] IPv4Address; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute("IPv6Address", DataType = "token")] + public string[] IPv6Address; + + public SetNetworkDefaultGatewayRequest() + { + } + + public SetNetworkDefaultGatewayRequest(string[] IPv4Address, string[] IPv6Address) + { + this.IPv4Address = IPv4Address; + this.IPv6Address = IPv6Address; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetNetworkDefaultGatewayResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetNetworkDefaultGatewayResponse + { + public SetNetworkDefaultGatewayResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateCertificate", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class CreateCertificateRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "token")] + public string CertificateID; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + public string Subject; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + public System.DateTime ValidNotBefore; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 3)] + public System.DateTime ValidNotAfter; + + public CreateCertificateRequest() + { + } + + public CreateCertificateRequest(string CertificateID, string Subject, System.DateTime ValidNotBefore, System.DateTime ValidNotAfter) + { + this.CertificateID = CertificateID; + this.Subject = Subject; + this.ValidNotBefore = ValidNotBefore; + this.ValidNotAfter = ValidNotAfter; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateCertificateResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class CreateCertificateResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public Certificate NvtCertificate; + + public CreateCertificateResponse() + { + } + + public CreateCertificateResponse(Certificate NvtCertificate) + { + this.NvtCertificate = NvtCertificate; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificates", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificatesRequest + { + public GetCertificatesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificatesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificatesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("NvtCertificate")] + public Certificate[] NvtCertificate; + + public GetCertificatesResponse() + { + } + + public GetCertificatesResponse(Certificate[] NvtCertificate) + { + this.NvtCertificate = NvtCertificate; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificatesStatus", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificatesStatusRequest + { + public GetCertificatesStatusRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificatesStatusResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificatesStatusResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CertificateStatus")] + public CertificateStatus[] CertificateStatus; + + public GetCertificatesStatusResponse() + { + } + + public GetCertificatesStatusResponse(CertificateStatus[] CertificateStatus) + { + this.CertificateStatus = CertificateStatus; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetCertificatesStatus", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetCertificatesStatusRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CertificateStatus")] + public CertificateStatus[] CertificateStatus; + + public SetCertificatesStatusRequest() + { + } + + public SetCertificatesStatusRequest(CertificateStatus[] CertificateStatus) + { + this.CertificateStatus = CertificateStatus; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetCertificatesStatusResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetCertificatesStatusResponse + { + public SetCertificatesStatusResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteCertificates", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteCertificatesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CertificateID", DataType = "token")] + public string[] CertificateID; + + public DeleteCertificatesRequest() + { + } + + public DeleteCertificatesRequest(string[] CertificateID) + { + this.CertificateID = CertificateID; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteCertificatesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteCertificatesResponse + { + public DeleteCertificatesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPkcs10Request", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetPkcs10RequestRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "token")] + public string CertificateID; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + public string Subject; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + public BinaryData Attributes; + + public GetPkcs10RequestRequest() + { + } + + public GetPkcs10RequestRequest(string CertificateID, string Subject, BinaryData Attributes) + { + this.CertificateID = CertificateID; + this.Subject = Subject; + this.Attributes = Attributes; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPkcs10RequestResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetPkcs10RequestResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public BinaryData Pkcs10Request; + + public GetPkcs10RequestResponse() + { + } + + public GetPkcs10RequestResponse(BinaryData Pkcs10Request) + { + this.Pkcs10Request = Pkcs10Request; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCertificates", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCertificatesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("NVTCertificate")] + public Certificate[] NVTCertificate; + + public LoadCertificatesRequest() + { + } + + public LoadCertificatesRequest(Certificate[] NVTCertificate) + { + this.NVTCertificate = NVTCertificate; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCertificatesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCertificatesResponse + { + public LoadCertificatesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetRelayOutputs", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetRelayOutputsRequest + { + public GetRelayOutputsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetRelayOutputsResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetRelayOutputsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("RelayOutputs")] + public RelayOutput[] RelayOutputs; + + public GetRelayOutputsResponse() + { + } + + public GetRelayOutputsResponse(RelayOutput[] RelayOutputs) + { + this.RelayOutputs = RelayOutputs; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCACertificates", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCACertificatesRequest + { + public GetCACertificatesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCACertificatesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCACertificatesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CACertificate")] + public Certificate[] CACertificate; + + public GetCACertificatesResponse() + { + } + + public GetCACertificatesResponse(Certificate[] CACertificate) + { + this.CACertificate = CACertificate; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCertificateWithPrivateKey", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCertificateWithPrivateKeyRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CertificateWithPrivateKey")] + public CertificateWithPrivateKey[] CertificateWithPrivateKey; + + public LoadCertificateWithPrivateKeyRequest() + { + } + + public LoadCertificateWithPrivateKeyRequest(CertificateWithPrivateKey[] CertificateWithPrivateKey) + { + this.CertificateWithPrivateKey = CertificateWithPrivateKey; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCertificateWithPrivateKeyResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCertificateWithPrivateKeyResponse + { + public LoadCertificateWithPrivateKeyResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificateInformation", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificateInformationRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "token")] + public string CertificateID; + + public GetCertificateInformationRequest() + { + } + + public GetCertificateInformationRequest(string CertificateID) + { + this.CertificateID = CertificateID; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCertificateInformationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetCertificateInformationResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public CertificateInformation CertificateInformation; + + public GetCertificateInformationResponse() + { + } + + public GetCertificateInformationResponse(CertificateInformation CertificateInformation) + { + this.CertificateInformation = CertificateInformation; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCACertificates", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCACertificatesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("CACertificate")] + public Certificate[] CACertificate; + + public LoadCACertificatesRequest() + { + } + + public LoadCACertificatesRequest(Certificate[] CACertificate) + { + this.CACertificate = CACertificate; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "LoadCACertificatesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class LoadCACertificatesResponse + { + public LoadCACertificatesResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDot1XConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDot1XConfigurationsRequest + { + public GetDot1XConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDot1XConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDot1XConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Dot1XConfiguration")] + public Dot1XConfiguration[] Dot1XConfiguration; + + public GetDot1XConfigurationsResponse() + { + } + + public GetDot1XConfigurationsResponse(Dot1XConfiguration[] Dot1XConfiguration) + { + this.Dot1XConfiguration = Dot1XConfiguration; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteDot1XConfiguration", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteDot1XConfigurationRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Dot1XConfigurationToken")] + public string[] Dot1XConfigurationToken; + + public DeleteDot1XConfigurationRequest() + { + } + + public DeleteDot1XConfigurationRequest(string[] Dot1XConfigurationToken) + { + this.Dot1XConfigurationToken = Dot1XConfigurationToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteDot1XConfigurationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteDot1XConfigurationResponse + { + public DeleteDot1XConfigurationResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDot11Capabilities", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDot11CapabilitiesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 0)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetDot11CapabilitiesRequest() + { + } + + public GetDot11CapabilitiesRequest(System.Xml.Linq.XElement[] Any) + { + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetDot11CapabilitiesResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetDot11CapabilitiesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public Dot11Capabilities Capabilities; + + public GetDot11CapabilitiesResponse() + { + } + + public GetDot11CapabilitiesResponse(Dot11Capabilities Capabilities) + { + this.Capabilities = Capabilities; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "ScanAvailableDot11Networks", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class ScanAvailableDot11NetworksRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + public string InterfaceToken; + + public ScanAvailableDot11NetworksRequest() + { + } + + public ScanAvailableDot11NetworksRequest(string InterfaceToken) + { + this.InterfaceToken = InterfaceToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "ScanAvailableDot11NetworksResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class ScanAvailableDot11NetworksResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Networks")] + public Dot11AvailableNetworks[] Networks; + + public ScanAvailableDot11NetworksResponse() + { + } + + public ScanAvailableDot11NetworksResponse(Dot11AvailableNetworks[] Networks) + { + this.Networks = Networks; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetSystemUris", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetSystemUrisRequest + { + public GetSystemUrisRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetSystemUrisResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetSystemUrisResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlArrayItemAttribute("SystemLog", Namespace = "http://www.onvif.org/ver10/schema", IsNullable = false)] + public SystemLogUri[] SystemLogUris; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI")] + public string SupportInfoUri; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI")] + public string SystemBackupUri; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 3)] + public GetSystemUrisResponseExtension Extension; + + public GetSystemUrisResponse() + { + } + + public GetSystemUrisResponse(SystemLogUri[] SystemLogUris, string SupportInfoUri, string SystemBackupUri, GetSystemUrisResponseExtension Extension) + { + this.SystemLogUris = SystemLogUris; + this.SupportInfoUri = SupportInfoUri; + this.SystemBackupUri = SystemBackupUri; + this.Extension = Extension; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "StartFirmwareUpgrade", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class StartFirmwareUpgradeRequest + { + public StartFirmwareUpgradeRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "StartFirmwareUpgradeResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class StartFirmwareUpgradeResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI")] + public string UploadUri; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration")] + public string UploadDelay; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 2)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration")] + public string ExpectedDownTime; + + public StartFirmwareUpgradeResponse() + { + } + + public StartFirmwareUpgradeResponse(string UploadUri, string UploadDelay, string ExpectedDownTime) + { + this.UploadUri = UploadUri; + this.UploadDelay = UploadDelay; + this.ExpectedDownTime = ExpectedDownTime; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "StartSystemRestore", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class StartSystemRestoreRequest + { + public StartSystemRestoreRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "StartSystemRestoreResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class StartSystemRestoreResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI")] + public string UploadUri; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 1)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration")] + public string ExpectedDownTime; + + public StartSystemRestoreResponse() + { + } + + public StartSystemRestoreResponse(string UploadUri, string ExpectedDownTime) + { + this.UploadUri = UploadUri; + this.ExpectedDownTime = ExpectedDownTime; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetStorageConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetStorageConfigurationsRequest + { + public GetStorageConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetStorageConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetStorageConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("StorageConfigurations")] + public StorageConfiguration[] StorageConfigurations; + + public GetStorageConfigurationsResponse() + { + } + + public GetStorageConfigurationsResponse(StorageConfiguration[] StorageConfigurations) + { + this.StorageConfigurations = StorageConfigurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetGeoLocation", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetGeoLocationRequest + { + public GetGeoLocationRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetGeoLocationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class GetGeoLocationResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Location")] + public LocationEntity[] Location; + + public GetGeoLocationResponse() + { + } + + public GetGeoLocationResponse(LocationEntity[] Location) + { + this.Location = Location; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetGeoLocation", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetGeoLocationRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Location")] + public LocationEntity[] Location; + + public SetGeoLocationRequest() + { + } + + public SetGeoLocationRequest(LocationEntity[] Location) + { + this.Location = Location; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetGeoLocationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class SetGeoLocationResponse + { + public SetGeoLocationResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteGeoLocation", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteGeoLocationRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/device/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Location")] + public LocationEntity[] Location; + + public DeleteGeoLocationRequest() + { + } + + public DeleteGeoLocationRequest(LocationEntity[] Location) + { + this.Location = Location; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteGeoLocationResponse", WrapperNamespace = "http://www.onvif.org/ver10/device/wsdl", IsWrapped = true)] + public partial class DeleteGeoLocationResponse + { + public DeleteGeoLocationResponse() + { + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public interface DeviceChannel : Device, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public partial class DeviceClient : System.ServiceModel.ClientBase, Device + { + internal DeviceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetServicesAsync(GetServicesRequest request) + { + return base.Channel.GetServicesAsync(request); + } + + public System.Threading.Tasks.Task GetServicesAsync(bool IncludeCapability) + { + GetServicesRequest inValue = new GetServicesRequest(); + inValue.IncludeCapability = IncludeCapability; + return ((Device)(this)).GetServicesAsync(inValue); + } + + public System.Threading.Tasks.Task GetServiceCapabilitiesAsync() + { + return base.Channel.GetServiceCapabilitiesAsync(); + } + + public System.Threading.Tasks.Task GetDeviceInformationAsync(GetDeviceInformationRequest request) + { + return base.Channel.GetDeviceInformationAsync(request); + } + + public System.Threading.Tasks.Task SetSystemDateAndTimeAsync(SetDateTimeType DateTimeType, bool DaylightSavings, TimeZone TimeZone, DateTime UTCDateTime) + { + return base.Channel.SetSystemDateAndTimeAsync(DateTimeType, DaylightSavings, TimeZone, UTCDateTime); + } + + public System.Threading.Tasks.Task GetSystemDateAndTimeAsync() + { + return base.Channel.GetSystemDateAndTimeAsync(); + } + + public System.Threading.Tasks.Task SetSystemFactoryDefaultAsync(FactoryDefaultType FactoryDefault) + { + return base.Channel.SetSystemFactoryDefaultAsync(FactoryDefault); + } + + public System.Threading.Tasks.Task UpgradeSystemFirmwareAsync(AttachmentData Firmware) + { + return base.Channel.UpgradeSystemFirmwareAsync(Firmware); + } + + public System.Threading.Tasks.Task SystemRebootAsync() + { + return base.Channel.SystemRebootAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.RestoreSystemAsync(RestoreSystemRequest request) + { + return base.Channel.RestoreSystemAsync(request); + } + + public System.Threading.Tasks.Task RestoreSystemAsync(BackupFile[] BackupFiles) + { + RestoreSystemRequest inValue = new RestoreSystemRequest(); + inValue.BackupFiles = BackupFiles; + return ((Device)(this)).RestoreSystemAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetSystemBackupAsync(GetSystemBackupRequest request) + { + return base.Channel.GetSystemBackupAsync(request); + } + + public System.Threading.Tasks.Task GetSystemBackupAsync() + { + GetSystemBackupRequest inValue = new GetSystemBackupRequest(); + return ((Device)(this)).GetSystemBackupAsync(inValue); + } + + public System.Threading.Tasks.Task GetSystemLogAsync(SystemLogType LogType) + { + return base.Channel.GetSystemLogAsync(LogType); + } + + public System.Threading.Tasks.Task GetSystemSupportInformationAsync() + { + return base.Channel.GetSystemSupportInformationAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetScopesAsync(GetScopesRequest request) + { + return base.Channel.GetScopesAsync(request); + } + + public System.Threading.Tasks.Task GetScopesAsync() + { + GetScopesRequest inValue = new GetScopesRequest(); + return ((Device)(this)).GetScopesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetScopesAsync(SetScopesRequest request) + { + return base.Channel.SetScopesAsync(request); + } + + public System.Threading.Tasks.Task SetScopesAsync(string[] Scopes) + { + SetScopesRequest inValue = new SetScopesRequest(); + inValue.Scopes = Scopes; + return ((Device)(this)).SetScopesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.AddScopesAsync(AddScopesRequest request) + { + return base.Channel.AddScopesAsync(request); + } + + public System.Threading.Tasks.Task AddScopesAsync(string[] ScopeItem) + { + AddScopesRequest inValue = new AddScopesRequest(); + inValue.ScopeItem = ScopeItem; + return ((Device)(this)).AddScopesAsync(inValue); + } + + public System.Threading.Tasks.Task RemoveScopesAsync(RemoveScopesRequest request) + { + return base.Channel.RemoveScopesAsync(request); + } + + public System.Threading.Tasks.Task GetDiscoveryModeAsync() + { + return base.Channel.GetDiscoveryModeAsync(); + } + + public System.Threading.Tasks.Task SetDiscoveryModeAsync(DiscoveryMode DiscoveryMode) + { + return base.Channel.SetDiscoveryModeAsync(DiscoveryMode); + } + + public System.Threading.Tasks.Task GetRemoteDiscoveryModeAsync() + { + return base.Channel.GetRemoteDiscoveryModeAsync(); + } + + public System.Threading.Tasks.Task SetRemoteDiscoveryModeAsync(DiscoveryMode RemoteDiscoveryMode) + { + return base.Channel.SetRemoteDiscoveryModeAsync(RemoteDiscoveryMode); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetDPAddressesAsync(GetDPAddressesRequest request) + { + return base.Channel.GetDPAddressesAsync(request); + } + + public System.Threading.Tasks.Task GetDPAddressesAsync() + { + GetDPAddressesRequest inValue = new GetDPAddressesRequest(); + return ((Device)(this)).GetDPAddressesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetDPAddressesAsync(SetDPAddressesRequest request) + { + return base.Channel.SetDPAddressesAsync(request); + } + + public System.Threading.Tasks.Task SetDPAddressesAsync(NetworkHost[] DPAddress) + { + SetDPAddressesRequest inValue = new SetDPAddressesRequest(); + inValue.DPAddress = DPAddress; + return ((Device)(this)).SetDPAddressesAsync(inValue); + } + + public System.Threading.Tasks.Task GetEndpointReferenceAsync(GetEndpointReferenceRequest request) + { + return base.Channel.GetEndpointReferenceAsync(request); + } + + public System.Threading.Tasks.Task GetRemoteUserAsync() + { + return base.Channel.GetRemoteUserAsync(); + } + + public System.Threading.Tasks.Task SetRemoteUserAsync(RemoteUser RemoteUser) + { + return base.Channel.SetRemoteUserAsync(RemoteUser); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetUsersAsync(GetUsersRequest request) + { + return base.Channel.GetUsersAsync(request); + } + + public System.Threading.Tasks.Task GetUsersAsync() + { + GetUsersRequest inValue = new GetUsersRequest(); + return ((Device)(this)).GetUsersAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.CreateUsersAsync(CreateUsersRequest request) + { + return base.Channel.CreateUsersAsync(request); + } + + public System.Threading.Tasks.Task CreateUsersAsync(User[] User) + { + CreateUsersRequest inValue = new CreateUsersRequest(); + inValue.User = User; + return ((Device)(this)).CreateUsersAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.DeleteUsersAsync(DeleteUsersRequest request) + { + return base.Channel.DeleteUsersAsync(request); + } + + public System.Threading.Tasks.Task DeleteUsersAsync(string[] Username) + { + DeleteUsersRequest inValue = new DeleteUsersRequest(); + inValue.Username = Username; + return ((Device)(this)).DeleteUsersAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetUserAsync(SetUserRequest request) + { + return base.Channel.SetUserAsync(request); + } + + public System.Threading.Tasks.Task SetUserAsync(User[] User) + { + SetUserRequest inValue = new SetUserRequest(); + inValue.User = User; + return ((Device)(this)).SetUserAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetWsdlUrlAsync(GetWsdlUrlRequest request) + { + return base.Channel.GetWsdlUrlAsync(request); + } + + public System.Threading.Tasks.Task GetWsdlUrlAsync() + { + GetWsdlUrlRequest inValue = new GetWsdlUrlRequest(); + return ((Device)(this)).GetWsdlUrlAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetCapabilitiesAsync(GetCapabilitiesRequest request) + { + return base.Channel.GetCapabilitiesAsync(request); + } + + public System.Threading.Tasks.Task GetCapabilitiesAsync(CapabilityCategory[] Category) + { + GetCapabilitiesRequest inValue = new GetCapabilitiesRequest(); + inValue.Category = Category; + return ((Device)(this)).GetCapabilitiesAsync(inValue); + } + + public System.Threading.Tasks.Task GetHostnameAsync() + { + return base.Channel.GetHostnameAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetHostnameAsync(SetHostnameRequest request) + { + return base.Channel.SetHostnameAsync(request); + } + + public System.Threading.Tasks.Task SetHostnameAsync(string Name) + { + SetHostnameRequest inValue = new SetHostnameRequest(); + inValue.Name = Name; + return ((Device)(this)).SetHostnameAsync(inValue); + } + + public System.Threading.Tasks.Task SetHostnameFromDHCPAsync(bool FromDHCP) + { + return base.Channel.SetHostnameFromDHCPAsync(FromDHCP); + } + + public System.Threading.Tasks.Task GetDNSAsync() + { + return base.Channel.GetDNSAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetDNSAsync(SetDNSRequest request) + { + return base.Channel.SetDNSAsync(request); + } + + public System.Threading.Tasks.Task SetDNSAsync(bool FromDHCP, string[] SearchDomain, IPAddress[] DNSManual) + { + SetDNSRequest inValue = new SetDNSRequest(); + inValue.FromDHCP = FromDHCP; + inValue.SearchDomain = SearchDomain; + inValue.DNSManual = DNSManual; + return ((Device)(this)).SetDNSAsync(inValue); + } + + public System.Threading.Tasks.Task GetNTPAsync() + { + return base.Channel.GetNTPAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetNTPAsync(SetNTPRequest request) + { + return base.Channel.SetNTPAsync(request); + } + + public System.Threading.Tasks.Task SetNTPAsync(bool FromDHCP, NetworkHost[] NTPManual) + { + SetNTPRequest inValue = new SetNTPRequest(); + inValue.FromDHCP = FromDHCP; + inValue.NTPManual = NTPManual; + return ((Device)(this)).SetNTPAsync(inValue); + } + + public System.Threading.Tasks.Task GetDynamicDNSAsync() + { + return base.Channel.GetDynamicDNSAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetDynamicDNSAsync(SetDynamicDNSRequest request) + { + return base.Channel.SetDynamicDNSAsync(request); + } + + public System.Threading.Tasks.Task SetDynamicDNSAsync(DynamicDNSType Type, string Name, string TTL) + { + SetDynamicDNSRequest inValue = new SetDynamicDNSRequest(); + inValue.Type = Type; + inValue.Name = Name; + inValue.TTL = TTL; + return ((Device)(this)).SetDynamicDNSAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetNetworkInterfacesAsync(GetNetworkInterfacesRequest request) + { + return base.Channel.GetNetworkInterfacesAsync(request); + } + + public System.Threading.Tasks.Task GetNetworkInterfacesAsync() + { + GetNetworkInterfacesRequest inValue = new GetNetworkInterfacesRequest(); + return ((Device)(this)).GetNetworkInterfacesAsync(inValue); + } + + public System.Threading.Tasks.Task SetNetworkInterfacesAsync(string InterfaceToken, NetworkInterfaceSetConfiguration NetworkInterface) + { + return base.Channel.SetNetworkInterfacesAsync(InterfaceToken, NetworkInterface); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetNetworkProtocolsAsync(GetNetworkProtocolsRequest request) + { + return base.Channel.GetNetworkProtocolsAsync(request); + } + + public System.Threading.Tasks.Task GetNetworkProtocolsAsync() + { + GetNetworkProtocolsRequest inValue = new GetNetworkProtocolsRequest(); + return ((Device)(this)).GetNetworkProtocolsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetNetworkProtocolsAsync(SetNetworkProtocolsRequest request) + { + return base.Channel.SetNetworkProtocolsAsync(request); + } + + public System.Threading.Tasks.Task SetNetworkProtocolsAsync(NetworkProtocol[] NetworkProtocols) + { + SetNetworkProtocolsRequest inValue = new SetNetworkProtocolsRequest(); + inValue.NetworkProtocols = NetworkProtocols; + return ((Device)(this)).SetNetworkProtocolsAsync(inValue); + } + + public System.Threading.Tasks.Task GetNetworkDefaultGatewayAsync() + { + return base.Channel.GetNetworkDefaultGatewayAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetNetworkDefaultGatewayAsync(SetNetworkDefaultGatewayRequest request) + { + return base.Channel.SetNetworkDefaultGatewayAsync(request); + } + + public System.Threading.Tasks.Task SetNetworkDefaultGatewayAsync(string[] IPv4Address, string[] IPv6Address) + { + SetNetworkDefaultGatewayRequest inValue = new SetNetworkDefaultGatewayRequest(); + inValue.IPv4Address = IPv4Address; + inValue.IPv6Address = IPv6Address; + return ((Device)(this)).SetNetworkDefaultGatewayAsync(inValue); + } + + public System.Threading.Tasks.Task GetZeroConfigurationAsync() + { + return base.Channel.GetZeroConfigurationAsync(); + } + + public System.Threading.Tasks.Task SetZeroConfigurationAsync(string InterfaceToken, bool Enabled) + { + return base.Channel.SetZeroConfigurationAsync(InterfaceToken, Enabled); + } + + public System.Threading.Tasks.Task GetIPAddressFilterAsync() + { + return base.Channel.GetIPAddressFilterAsync(); + } + + public System.Threading.Tasks.Task SetIPAddressFilterAsync(IPAddressFilter IPAddressFilter) + { + return base.Channel.SetIPAddressFilterAsync(IPAddressFilter); + } + + public System.Threading.Tasks.Task AddIPAddressFilterAsync(IPAddressFilter IPAddressFilter) + { + return base.Channel.AddIPAddressFilterAsync(IPAddressFilter); + } + + public System.Threading.Tasks.Task RemoveIPAddressFilterAsync(IPAddressFilter IPAddressFilter) + { + return base.Channel.RemoveIPAddressFilterAsync(IPAddressFilter); + } + + public System.Threading.Tasks.Task GetAccessPolicyAsync() + { + return base.Channel.GetAccessPolicyAsync(); + } + + public System.Threading.Tasks.Task SetAccessPolicyAsync(BinaryData PolicyFile) + { + return base.Channel.SetAccessPolicyAsync(PolicyFile); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.CreateCertificateAsync(CreateCertificateRequest request) + { + return base.Channel.CreateCertificateAsync(request); + } + + public System.Threading.Tasks.Task CreateCertificateAsync(string CertificateID, string Subject, System.DateTime ValidNotBefore, System.DateTime ValidNotAfter) + { + CreateCertificateRequest inValue = new CreateCertificateRequest(); + inValue.CertificateID = CertificateID; + inValue.Subject = Subject; + inValue.ValidNotBefore = ValidNotBefore; + inValue.ValidNotAfter = ValidNotAfter; + return ((Device)(this)).CreateCertificateAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetCertificatesAsync(GetCertificatesRequest request) + { + return base.Channel.GetCertificatesAsync(request); + } + + public System.Threading.Tasks.Task GetCertificatesAsync() + { + GetCertificatesRequest inValue = new GetCertificatesRequest(); + return ((Device)(this)).GetCertificatesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetCertificatesStatusAsync(GetCertificatesStatusRequest request) + { + return base.Channel.GetCertificatesStatusAsync(request); + } + + public System.Threading.Tasks.Task GetCertificatesStatusAsync() + { + GetCertificatesStatusRequest inValue = new GetCertificatesStatusRequest(); + return ((Device)(this)).GetCertificatesStatusAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetCertificatesStatusAsync(SetCertificatesStatusRequest request) + { + return base.Channel.SetCertificatesStatusAsync(request); + } + + public System.Threading.Tasks.Task SetCertificatesStatusAsync(CertificateStatus[] CertificateStatus) + { + SetCertificatesStatusRequest inValue = new SetCertificatesStatusRequest(); + inValue.CertificateStatus = CertificateStatus; + return ((Device)(this)).SetCertificatesStatusAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.DeleteCertificatesAsync(DeleteCertificatesRequest request) + { + return base.Channel.DeleteCertificatesAsync(request); + } + + public System.Threading.Tasks.Task DeleteCertificatesAsync(string[] CertificateID) + { + DeleteCertificatesRequest inValue = new DeleteCertificatesRequest(); + inValue.CertificateID = CertificateID; + return ((Device)(this)).DeleteCertificatesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetPkcs10RequestAsync(GetPkcs10RequestRequest request) + { + return base.Channel.GetPkcs10RequestAsync(request); + } + + public System.Threading.Tasks.Task GetPkcs10RequestAsync(string CertificateID, string Subject, BinaryData Attributes) + { + GetPkcs10RequestRequest inValue = new GetPkcs10RequestRequest(); + inValue.CertificateID = CertificateID; + inValue.Subject = Subject; + inValue.Attributes = Attributes; + return ((Device)(this)).GetPkcs10RequestAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.LoadCertificatesAsync(LoadCertificatesRequest request) + { + return base.Channel.LoadCertificatesAsync(request); + } + + public System.Threading.Tasks.Task LoadCertificatesAsync(Certificate[] NVTCertificate) + { + LoadCertificatesRequest inValue = new LoadCertificatesRequest(); + inValue.NVTCertificate = NVTCertificate; + return ((Device)(this)).LoadCertificatesAsync(inValue); + } + + public System.Threading.Tasks.Task GetClientCertificateModeAsync() + { + return base.Channel.GetClientCertificateModeAsync(); + } + + public System.Threading.Tasks.Task SetClientCertificateModeAsync(bool Enabled) + { + return base.Channel.SetClientCertificateModeAsync(Enabled); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetRelayOutputsAsync(GetRelayOutputsRequest request) + { + return base.Channel.GetRelayOutputsAsync(request); + } + + public System.Threading.Tasks.Task GetRelayOutputsAsync() + { + GetRelayOutputsRequest inValue = new GetRelayOutputsRequest(); + return ((Device)(this)).GetRelayOutputsAsync(inValue); + } + + public System.Threading.Tasks.Task SetRelayOutputSettingsAsync(string RelayOutputToken, RelayOutputSettings Properties) + { + return base.Channel.SetRelayOutputSettingsAsync(RelayOutputToken, Properties); + } + + public System.Threading.Tasks.Task SetRelayOutputStateAsync(string RelayOutputToken, RelayLogicalState LogicalState) + { + return base.Channel.SetRelayOutputStateAsync(RelayOutputToken, LogicalState); + } + + public System.Threading.Tasks.Task SendAuxiliaryCommandAsync(string AuxiliaryCommand) + { + return base.Channel.SendAuxiliaryCommandAsync(AuxiliaryCommand); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetCACertificatesAsync(GetCACertificatesRequest request) + { + return base.Channel.GetCACertificatesAsync(request); + } + + public System.Threading.Tasks.Task GetCACertificatesAsync() + { + GetCACertificatesRequest inValue = new GetCACertificatesRequest(); + return ((Device)(this)).GetCACertificatesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.LoadCertificateWithPrivateKeyAsync(LoadCertificateWithPrivateKeyRequest request) + { + return base.Channel.LoadCertificateWithPrivateKeyAsync(request); + } + + public System.Threading.Tasks.Task LoadCertificateWithPrivateKeyAsync(CertificateWithPrivateKey[] CertificateWithPrivateKey) + { + LoadCertificateWithPrivateKeyRequest inValue = new LoadCertificateWithPrivateKeyRequest(); + inValue.CertificateWithPrivateKey = CertificateWithPrivateKey; + return ((Device)(this)).LoadCertificateWithPrivateKeyAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetCertificateInformationAsync(GetCertificateInformationRequest request) + { + return base.Channel.GetCertificateInformationAsync(request); + } + + public System.Threading.Tasks.Task GetCertificateInformationAsync(string CertificateID) + { + GetCertificateInformationRequest inValue = new GetCertificateInformationRequest(); + inValue.CertificateID = CertificateID; + return ((Device)(this)).GetCertificateInformationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.LoadCACertificatesAsync(LoadCACertificatesRequest request) + { + return base.Channel.LoadCACertificatesAsync(request); + } + + public System.Threading.Tasks.Task LoadCACertificatesAsync(Certificate[] CACertificate) + { + LoadCACertificatesRequest inValue = new LoadCACertificatesRequest(); + inValue.CACertificate = CACertificate; + return ((Device)(this)).LoadCACertificatesAsync(inValue); + } + + public System.Threading.Tasks.Task CreateDot1XConfigurationAsync(Dot1XConfiguration Dot1XConfiguration) + { + return base.Channel.CreateDot1XConfigurationAsync(Dot1XConfiguration); + } + + public System.Threading.Tasks.Task SetDot1XConfigurationAsync(Dot1XConfiguration Dot1XConfiguration) + { + return base.Channel.SetDot1XConfigurationAsync(Dot1XConfiguration); + } + + public System.Threading.Tasks.Task GetDot1XConfigurationAsync(string Dot1XConfigurationToken) + { + return base.Channel.GetDot1XConfigurationAsync(Dot1XConfigurationToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetDot1XConfigurationsAsync(GetDot1XConfigurationsRequest request) + { + return base.Channel.GetDot1XConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetDot1XConfigurationsAsync() + { + GetDot1XConfigurationsRequest inValue = new GetDot1XConfigurationsRequest(); + return ((Device)(this)).GetDot1XConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.DeleteDot1XConfigurationAsync(DeleteDot1XConfigurationRequest request) + { + return base.Channel.DeleteDot1XConfigurationAsync(request); + } + + public System.Threading.Tasks.Task DeleteDot1XConfigurationAsync(string[] Dot1XConfigurationToken) + { + DeleteDot1XConfigurationRequest inValue = new DeleteDot1XConfigurationRequest(); + inValue.Dot1XConfigurationToken = Dot1XConfigurationToken; + return ((Device)(this)).DeleteDot1XConfigurationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetDot11CapabilitiesAsync(GetDot11CapabilitiesRequest request) + { + return base.Channel.GetDot11CapabilitiesAsync(request); + } + + public System.Threading.Tasks.Task GetDot11CapabilitiesAsync(System.Xml.Linq.XElement[] Any) + { + GetDot11CapabilitiesRequest inValue = new GetDot11CapabilitiesRequest(); + inValue.Any = Any; + return ((Device)(this)).GetDot11CapabilitiesAsync(inValue); + } + + public System.Threading.Tasks.Task GetDot11StatusAsync(string InterfaceToken) + { + return base.Channel.GetDot11StatusAsync(InterfaceToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.ScanAvailableDot11NetworksAsync(ScanAvailableDot11NetworksRequest request) + { + return base.Channel.ScanAvailableDot11NetworksAsync(request); + } + + public System.Threading.Tasks.Task ScanAvailableDot11NetworksAsync(string InterfaceToken) + { + ScanAvailableDot11NetworksRequest inValue = new ScanAvailableDot11NetworksRequest(); + inValue.InterfaceToken = InterfaceToken; + return ((Device)(this)).ScanAvailableDot11NetworksAsync(inValue); + } + + public System.Threading.Tasks.Task GetSystemUrisAsync(GetSystemUrisRequest request) + { + return base.Channel.GetSystemUrisAsync(request); + } + + public System.Threading.Tasks.Task StartFirmwareUpgradeAsync(StartFirmwareUpgradeRequest request) + { + return base.Channel.StartFirmwareUpgradeAsync(request); + } + + public System.Threading.Tasks.Task StartSystemRestoreAsync(StartSystemRestoreRequest request) + { + return base.Channel.StartSystemRestoreAsync(request); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetStorageConfigurationsAsync(GetStorageConfigurationsRequest request) + { + return base.Channel.GetStorageConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetStorageConfigurationsAsync() + { + GetStorageConfigurationsRequest inValue = new GetStorageConfigurationsRequest(); + return ((Device)(this)).GetStorageConfigurationsAsync(inValue); + } + + public System.Threading.Tasks.Task CreateStorageConfigurationAsync(StorageConfigurationData StorageConfiguration) + { + return base.Channel.CreateStorageConfigurationAsync(StorageConfiguration); + } + + public System.Threading.Tasks.Task GetStorageConfigurationAsync(string Token) + { + return base.Channel.GetStorageConfigurationAsync(Token); + } + + public System.Threading.Tasks.Task SetStorageConfigurationAsync(StorageConfiguration StorageConfiguration) + { + return base.Channel.SetStorageConfigurationAsync(StorageConfiguration); + } + + public System.Threading.Tasks.Task DeleteStorageConfigurationAsync(string Token) + { + return base.Channel.DeleteStorageConfigurationAsync(Token); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.GetGeoLocationAsync(GetGeoLocationRequest request) + { + return base.Channel.GetGeoLocationAsync(request); + } + + public System.Threading.Tasks.Task GetGeoLocationAsync() + { + GetGeoLocationRequest inValue = new GetGeoLocationRequest(); + return ((Device)(this)).GetGeoLocationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.SetGeoLocationAsync(SetGeoLocationRequest request) + { + return base.Channel.SetGeoLocationAsync(request); + } + + public System.Threading.Tasks.Task SetGeoLocationAsync(LocationEntity[] Location) + { + SetGeoLocationRequest inValue = new SetGeoLocationRequest(); + inValue.Location = Location; + return ((Device)(this)).SetGeoLocationAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Device.DeleteGeoLocationAsync(DeleteGeoLocationRequest request) + { + return base.Channel.DeleteGeoLocationAsync(request); + } + + public System.Threading.Tasks.Task DeleteGeoLocationAsync(LocationEntity[] Location) + { + DeleteGeoLocationRequest inValue = new DeleteGeoLocationRequest(); + inValue.Location = Location; + return ((Device)(this)).DeleteGeoLocationAsync(inValue); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/EC.Onvif.csproj b/BaseModule/EC.Onvif/EC.Onvif.csproj new file mode 100644 index 0000000..6a19250 --- /dev/null +++ b/BaseModule/EC.Onvif/EC.Onvif.csproj @@ -0,0 +1,12 @@ + + + + net5.0 + + + + + + + + diff --git a/BaseModule/EC.Onvif/Imaging/DataTypes.cs b/BaseModule/EC.Onvif/Imaging/DataTypes.cs new file mode 100644 index 0000000..4dcb03c --- /dev/null +++ b/BaseModule/EC.Onvif/Imaging/DataTypes.cs @@ -0,0 +1,144 @@ +namespace EC.Onvif.Imaging +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver20/imaging/wsdl")] + public partial class Capabilities + { + private System.Xml.Linq.XElement[] anyField; + + private bool imageStabilizationField; + + private bool imageStabilizationFieldSpecified; + + private bool presetsField; + + private bool presetsFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool ImageStabilization + { + get + { + return this.imageStabilizationField; + } + set + { + this.imageStabilizationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ImageStabilizationSpecified + { + get + { + return this.imageStabilizationFieldSpecified; + } + set + { + this.imageStabilizationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Presets + { + get + { + return this.presetsField; + } + set + { + this.presetsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool PresetsSpecified + { + get + { + return this.presetsFieldSpecified; + } + set + { + this.presetsFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver20/imaging/wsdl")] + public partial class ImagingPreset + { + private string nameField; + + private string tokenField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public string Name + { + get + { + return this.nameField; + } + set + { + this.nameField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string type + { + get + { + return this.typeField; + } + set + { + this.typeField = value; + } + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Imaging/ImagingClient.cs b/BaseModule/EC.Onvif/Imaging/ImagingClient.cs new file mode 100644 index 0000000..a6a625d --- /dev/null +++ b/BaseModule/EC.Onvif/Imaging/ImagingClient.cs @@ -0,0 +1,186 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.Imaging +{ + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.onvif.org/ver20/imaging/wsdl", ConfigurationName = "EC.Onvif.Imaging.Imaging")] + public interface Imaging + { + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetServiceCapabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Capabilities")] + System.Threading.Tasks.Task GetServiceCapabilitiesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetImagingSettings", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "ImagingSettings")] + System.Threading.Tasks.Task GetImagingSettingsAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/SetImagingSettings", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + System.Threading.Tasks.Task SetImagingSettingsAsync(string VideoSourceToken, ImagingSettings20 ImagingSettings, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "ImagingOptions")] + System.Threading.Tasks.Task GetOptionsAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/Move", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + System.Threading.Tasks.Task MoveAsync(string VideoSourceToken, FocusMove Focus); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetMoveOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "MoveOptions")] + System.Threading.Tasks.Task GetMoveOptionsAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/FocusStop", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + System.Threading.Tasks.Task StopAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetStatus", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Status")] + System.Threading.Tasks.Task GetStatusAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetPresets", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + System.Threading.Tasks.Task GetPresetsAsync(GetPresetsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/GetCurrentPreset", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Preset")] + System.Threading.Tasks.Task GetCurrentPresetAsync(string VideoSourceToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/imaging/wsdl/SetCurrentPreset", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + System.Threading.Tasks.Task SetCurrentPresetAsync(string VideoSourceToken, string PresetToken); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresets", WrapperNamespace = "http://www.onvif.org/ver20/imaging/wsdl", IsWrapped = true)] + public partial class GetPresetsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/imaging/wsdl", Order = 0)] + public string VideoSourceToken; + + public GetPresetsRequest() + { + } + + public GetPresetsRequest(string VideoSourceToken) + { + this.VideoSourceToken = VideoSourceToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresetsResponse", WrapperNamespace = "http://www.onvif.org/ver20/imaging/wsdl", IsWrapped = true)] + public partial class GetPresetsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/imaging/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Preset")] + public ImagingPreset[] Preset; + + public GetPresetsResponse() + { + } + + public GetPresetsResponse(ImagingPreset[] Preset) + { + this.Preset = Preset; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public interface ImagingChannel : Imaging, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public partial class ImagingClient : System.ServiceModel.ClientBase, Imaging + { + internal ImagingClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + public System.Threading.Tasks.Task GetServiceCapabilitiesAsync() + { + return base.Channel.GetServiceCapabilitiesAsync(); + } + + public System.Threading.Tasks.Task GetImagingSettingsAsync(string VideoSourceToken) + { + return base.Channel.GetImagingSettingsAsync(VideoSourceToken); + } + + public System.Threading.Tasks.Task SetImagingSettingsAsync(string VideoSourceToken, ImagingSettings20 ImagingSettings, bool ForcePersistence) + { + return base.Channel.SetImagingSettingsAsync(VideoSourceToken, ImagingSettings, ForcePersistence); + } + + public System.Threading.Tasks.Task GetOptionsAsync(string VideoSourceToken) + { + return base.Channel.GetOptionsAsync(VideoSourceToken); + } + + public System.Threading.Tasks.Task MoveAsync(string VideoSourceToken, FocusMove Focus) + { + return base.Channel.MoveAsync(VideoSourceToken, Focus); + } + + public System.Threading.Tasks.Task GetMoveOptionsAsync(string VideoSourceToken) + { + return base.Channel.GetMoveOptionsAsync(VideoSourceToken); + } + + public System.Threading.Tasks.Task StopAsync(string VideoSourceToken) + { + return base.Channel.StopAsync(VideoSourceToken); + } + + public System.Threading.Tasks.Task GetStatusAsync(string VideoSourceToken) + { + return base.Channel.GetStatusAsync(VideoSourceToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Imaging.GetPresetsAsync(GetPresetsRequest request) + { + return base.Channel.GetPresetsAsync(request); + } + + public System.Threading.Tasks.Task GetPresetsAsync(string VideoSourceToken) + { + GetPresetsRequest inValue = new GetPresetsRequest(); + inValue.VideoSourceToken = VideoSourceToken; + return ((Imaging)(this)).GetPresetsAsync(inValue); + } + + public System.Threading.Tasks.Task GetCurrentPresetAsync(string VideoSourceToken) + { + return base.Channel.GetCurrentPresetAsync(VideoSourceToken); + } + + public System.Threading.Tasks.Task SetCurrentPresetAsync(string VideoSourceToken, string PresetToken) + { + return base.Channel.SetCurrentPresetAsync(VideoSourceToken, PresetToken); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Media/DataTypes.cs b/BaseModule/EC.Onvif/Media/DataTypes.cs new file mode 100644 index 0000000..aa6ab7b --- /dev/null +++ b/BaseModule/EC.Onvif/Media/DataTypes.cs @@ -0,0 +1,663 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.Media +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl")] + public partial class Capabilities + { + private ProfileCapabilities profileCapabilitiesField; + + private StreamingCapabilities streamingCapabilitiesField; + + private System.Xml.Linq.XElement[] anyField; + + private bool snapshotUriField; + + private bool snapshotUriFieldSpecified; + + private bool rotationField; + + private bool rotationFieldSpecified; + + private bool videoSourceModeField; + + private bool videoSourceModeFieldSpecified; + + private bool oSDField; + + private bool oSDFieldSpecified; + + private bool temporaryOSDTextField; + + private bool temporaryOSDTextFieldSpecified; + + private bool eXICompressionField; + + private bool eXICompressionFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public ProfileCapabilities ProfileCapabilities + { + get + { + return this.profileCapabilitiesField; + } + set + { + this.profileCapabilitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public StreamingCapabilities StreamingCapabilities + { + get + { + return this.streamingCapabilitiesField; + } + set + { + this.streamingCapabilitiesField = value; + } + } + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool SnapshotUri + { + get + { + return this.snapshotUriField; + } + set + { + this.snapshotUriField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool SnapshotUriSpecified + { + get + { + return this.snapshotUriFieldSpecified; + } + set + { + this.snapshotUriFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Rotation + { + get + { + return this.rotationField; + } + set + { + this.rotationField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RotationSpecified + { + get + { + return this.rotationFieldSpecified; + } + set + { + this.rotationFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool VideoSourceMode + { + get + { + return this.videoSourceModeField; + } + set + { + this.videoSourceModeField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool VideoSourceModeSpecified + { + get + { + return this.videoSourceModeFieldSpecified; + } + set + { + this.videoSourceModeFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool OSD + { + get + { + return this.oSDField; + } + set + { + this.oSDField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool OSDSpecified + { + get + { + return this.oSDFieldSpecified; + } + set + { + this.oSDFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool TemporaryOSDText + { + get + { + return this.temporaryOSDTextField; + } + set + { + this.temporaryOSDTextField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool TemporaryOSDTextSpecified + { + get + { + return this.temporaryOSDTextFieldSpecified; + } + set + { + this.temporaryOSDTextFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool EXICompression + { + get + { + return this.eXICompressionField; + } + set + { + this.eXICompressionField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EXICompressionSpecified + { + get + { + return this.eXICompressionFieldSpecified; + } + set + { + this.eXICompressionFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl")] + public partial class ProfileCapabilities + { + private System.Xml.Linq.XElement[] anyField; + + private int maximumNumberOfProfilesField; + + private bool maximumNumberOfProfilesFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public int MaximumNumberOfProfiles + { + get + { + return this.maximumNumberOfProfilesField; + } + set + { + this.maximumNumberOfProfilesField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MaximumNumberOfProfilesSpecified + { + get + { + return this.maximumNumberOfProfilesFieldSpecified; + } + set + { + this.maximumNumberOfProfilesFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl")] + public partial class VideoSourceModeExtension + { + private System.Xml.Linq.XElement[] anyField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl")] + public partial class VideoSourceMode + { + private float maxFramerateField; + + private VideoResolution maxResolutionField; + + private string encodingsField; + + private bool rebootField; + + private string descriptionField; + + private VideoSourceModeExtension extensionField; + + private string tokenField; + + private bool enabledField; + + private bool enabledFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 0)] + public float MaxFramerate + { + get + { + return this.maxFramerateField; + } + set + { + this.maxFramerateField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 1)] + public VideoResolution MaxResolution + { + get + { + return this.maxResolutionField; + } + set + { + this.maxResolutionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 2)] + public string Encodings + { + get + { + return this.encodingsField; + } + set + { + this.encodingsField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 3)] + public bool Reboot + { + get + { + return this.rebootField; + } + set + { + this.rebootField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 4)] + public string Description + { + get + { + return this.descriptionField; + } + set + { + this.descriptionField = value; + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order = 5)] + public VideoSourceModeExtension Extension + { + get + { + return this.extensionField; + } + set + { + this.extensionField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string token + { + get + { + return this.tokenField; + } + set + { + this.tokenField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Enabled + { + get + { + return this.enabledField; + } + set + { + this.enabledField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EnabledSpecified + { + get + { + return this.enabledFieldSpecified; + } + set + { + this.enabledFieldSpecified = value; + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl")] + public partial class StreamingCapabilities + { + private System.Xml.Linq.XElement[] anyField; + + private bool rTPMulticastField; + + private bool rTPMulticastFieldSpecified; + + private bool rTP_TCPField; + + private bool rTP_TCPFieldSpecified; + + private bool rTP_RTSP_TCPField; + + private bool rTP_RTSP_TCPFieldSpecified; + + private bool nonAggregateControlField; + + private bool nonAggregateControlFieldSpecified; + + private bool noRTSPStreamingField; + + private bool noRTSPStreamingFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RTPMulticast + { + get + { + return this.rTPMulticastField; + } + set + { + this.rTPMulticastField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTPMulticastSpecified + { + get + { + return this.rTPMulticastFieldSpecified; + } + set + { + this.rTPMulticastFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RTP_TCP + { + get + { + return this.rTP_TCPField; + } + set + { + this.rTP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTP_TCPSpecified + { + get + { + return this.rTP_TCPFieldSpecified; + } + set + { + this.rTP_TCPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool RTP_RTSP_TCP + { + get + { + return this.rTP_RTSP_TCPField; + } + set + { + this.rTP_RTSP_TCPField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool RTP_RTSP_TCPSpecified + { + get + { + return this.rTP_RTSP_TCPFieldSpecified; + } + set + { + this.rTP_RTSP_TCPFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool NonAggregateControl + { + get + { + return this.nonAggregateControlField; + } + set + { + this.nonAggregateControlField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NonAggregateControlSpecified + { + get + { + return this.nonAggregateControlFieldSpecified; + } + set + { + this.nonAggregateControlFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool NoRTSPStreaming + { + get + { + return this.noRTSPStreamingField; + } + set + { + this.noRTSPStreamingField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool NoRTSPStreamingSpecified + { + get + { + return this.noRTSPStreamingFieldSpecified; + } + set + { + this.noRTSPStreamingFieldSpecified = value; + } + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Media/MediaClient.cs b/BaseModule/EC.Onvif/Media/MediaClient.cs new file mode 100644 index 0000000..c5d8c0e --- /dev/null +++ b/BaseModule/EC.Onvif/Media/MediaClient.cs @@ -0,0 +1,2126 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.Media +{ + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", ConfigurationName = "EC.Onvif.Media.Media")] + public interface Media + { + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetServiceCapabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Capabilities")] + System.Threading.Tasks.Task GetServiceCapabilitiesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdlGetVideoSources/", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetVideoSourcesAsync(Onvif.Media.GetVideoSourcesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioSources", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioSourcesAsync(Onvif.Media.GetAudioSourcesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioOutputs", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioOutputsAsync(Onvif.Media.GetAudioOutputsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/CreateProfile", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Profile")] + System.Threading.Tasks.Task CreateProfileAsync(string Name, string Token); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdlGetProfile/", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Profile")] + System.Threading.Tasks.Task GetProfileAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetProfiles", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetProfilesAsync(Onvif.Media.GetProfilesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddVideoEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddVideoEncoderConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveVideoEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveVideoEncoderConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddVideoSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddVideoSourceConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveVideoSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveVideoSourceConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddAudioEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddAudioEncoderConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveAudioEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveAudioEncoderConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddAudioSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddAudioSourceConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveAudioSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveAudioSourceConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddPTZConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddPTZConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemovePTZConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemovePTZConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddVideoAnalyticsConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddVideoAnalyticsConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveVideoAnalyticsConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveVideoAnalyticsConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddMetadataConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddMetadataConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveMetadataConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveMetadataConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddAudioOutputConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddAudioOutputConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveAudioOutputConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveAudioOutputConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/AddAudioDecoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AddAudioDecoderConfigurationAsync(string ProfileToken, string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/RemoveAudioDecoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemoveAudioDecoderConfigurationAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/DeleteProfile", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteProfileAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoSourceConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetVideoSourceConfigurationsAsync(Onvif.Media.GetVideoSourceConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoEncoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetVideoEncoderConfigurationsAsync(Onvif.Media.GetVideoEncoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdlGetAudioSourceConfigurations/", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioSourceConfigurationsAsync(Onvif.Media.GetAudioSourceConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioEncoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioEncoderConfigurationsAsync(Onvif.Media.GetAudioEncoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoAnalyticsConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetVideoAnalyticsConfigurationsAsync(Onvif.Media.GetVideoAnalyticsConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetMetadataConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetMetadataConfigurationsAsync(Onvif.Media.GetMetadataConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioOutputConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioOutputConfigurationsAsync(Onvif.Media.GetAudioOutputConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioDecoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetAudioDecoderConfigurationsAsync(Onvif.Media.GetAudioDecoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetVideoSourceConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetVideoEncoderConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetAudioSourceConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetAudioEncoderConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoAnalyticsConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetVideoAnalyticsConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetMetadataConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetMetadataConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioOutputConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetAudioOutputConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioDecoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Configuration")] + System.Threading.Tasks.Task GetAudioDecoderConfigurationAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleVideoEncoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleVideoEncoderConfigurationsAsync(Onvif.Media.GetCompatibleVideoEncoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleVideoSourceConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleVideoSourceConfigurationsAsync(Onvif.Media.GetCompatibleVideoSourceConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleAudioEncoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleAudioEncoderConfigurationsAsync(Onvif.Media.GetCompatibleAudioEncoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleAudioSourceConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleAudioSourceConfigurationsAsync(Onvif.Media.GetCompatibleAudioSourceConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleVideoAnalyticsConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleVideoAnalyticsConfigurationsAsync(Onvif.Media.GetCompatibleVideoAnalyticsConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleMetadataConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleMetadataConfigurationsAsync(Onvif.Media.GetCompatibleMetadataConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleAudioOutputConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleAudioOutputConfigurationsAsync(Onvif.Media.GetCompatibleAudioOutputConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetCompatibleAudioDecoderConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleAudioDecoderConfigurationsAsync(Onvif.Media.GetCompatibleAudioDecoderConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetVideoSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetVideoSourceConfigurationAsync(VideoSourceConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetVideoEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetVideoEncoderConfigurationAsync(VideoEncoderConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetAudioSourceConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetAudioSourceConfigurationAsync(AudioSourceConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetAudioEncoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetAudioEncoderConfigurationAsync(AudioEncoderConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetVideoAnalyticsConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetVideoAnalyticsConfigurationAsync(VideoAnalyticsConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetMetadataConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetMetadataConfigurationAsync(MetadataConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetAudioOutputConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetAudioOutputConfigurationAsync(AudioOutputConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetAudioDecoderConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetAudioDecoderConfigurationAsync(AudioDecoderConfiguration Configuration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdlGetVideoSourceConfigurationOptions/", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetVideoSourceConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoEncoderConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetVideoEncoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioSourceConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetAudioSourceConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioEncoderConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetAudioEncoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetMetadataConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetMetadataConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioOutputConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetAudioOutputConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetAudioDecoderConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetAudioDecoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetGuaranteedNumberOfVideoEncoderInstances", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetGuaranteedNumberOfVideoEncoderInstancesAsync(Onvif.Media.GetGuaranteedNumberOfVideoEncoderInstancesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetStreamUri", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "MediaUri")] + System.Threading.Tasks.Task GetStreamUriAsync(StreamSetup StreamSetup, string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/StartMulticastStreaming", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task StartMulticastStreamingAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/StopMulticastStreaming", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task StopMulticastStreamingAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetSynchronizationPoint", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetSynchronizationPointAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetSnapshotUri", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "MediaUri")] + System.Threading.Tasks.Task GetSnapshotUriAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetVideoSourceModes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetVideoSourceModesAsync(Onvif.Media.GetVideoSourceModesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetVideoSourceMode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Reboot")] + System.Threading.Tasks.Task SetVideoSourceModeAsync(string VideoSourceToken, string VideoSourceModeToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetOSDs", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetOSDsAsync(Onvif.Media.GetOSDsRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetOSD", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetOSDAsync(Onvif.Media.GetOSDRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/GetOSDOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetOSDOptionsAsync(Onvif.Media.GetOSDOptionsRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/SetOSD", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetOSDAsync(Onvif.Media.SetOSDRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/CreateOSD", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task CreateOSDAsync(Onvif.Media.CreateOSDRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver10/media/wsdl/DeleteOSD", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task DeleteOSDAsync(Onvif.Media.DeleteOSDRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSources", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourcesRequest + { + public GetVideoSourcesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSourcesResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourcesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("VideoSources")] + public VideoSource[] VideoSources; + + public GetVideoSourcesResponse() + { + } + + public GetVideoSourcesResponse(VideoSource[] VideoSources) + { + this.VideoSources = VideoSources; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioSources", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioSourcesRequest + { + public GetAudioSourcesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioSourcesResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioSourcesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("AudioSources")] + public AudioSource[] AudioSources; + + public GetAudioSourcesResponse() + { + } + + public GetAudioSourcesResponse(AudioSource[] AudioSources) + { + this.AudioSources = AudioSources; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioOutputs", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioOutputsRequest + { + public GetAudioOutputsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioOutputsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioOutputsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("AudioOutputs")] + public AudioOutput[] AudioOutputs; + + public GetAudioOutputsResponse() + { + } + + public GetAudioOutputsResponse(AudioOutput[] AudioOutputs) + { + this.AudioOutputs = AudioOutputs; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetProfiles", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetProfilesRequest + { + public GetProfilesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetProfilesResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetProfilesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Profiles")] + public Profile[] Profiles; + + public GetProfilesResponse() + { + } + + public GetProfilesResponse(Profile[] Profiles) + { + this.Profiles = Profiles; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSourceConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourceConfigurationsRequest + { + public GetVideoSourceConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSourceConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourceConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoSourceConfiguration[] Configurations; + + public GetVideoSourceConfigurationsResponse() + { + } + + public GetVideoSourceConfigurationsResponse(VideoSourceConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoEncoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoEncoderConfigurationsRequest + { + public GetVideoEncoderConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoEncoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoEncoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoEncoderConfiguration[] Configurations; + + public GetVideoEncoderConfigurationsResponse() + { + } + + public GetVideoEncoderConfigurationsResponse(VideoEncoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioSourceConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioSourceConfigurationsRequest + { + public GetAudioSourceConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioSourceConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioSourceConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioSourceConfiguration[] Configurations; + + public GetAudioSourceConfigurationsResponse() + { + } + + public GetAudioSourceConfigurationsResponse(AudioSourceConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioEncoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioEncoderConfigurationsRequest + { + public GetAudioEncoderConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioEncoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioEncoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioEncoderConfiguration[] Configurations; + + public GetAudioEncoderConfigurationsResponse() + { + } + + public GetAudioEncoderConfigurationsResponse(AudioEncoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoAnalyticsConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoAnalyticsConfigurationsRequest + { + public GetVideoAnalyticsConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoAnalyticsConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoAnalyticsConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoAnalyticsConfiguration[] Configurations; + + public GetVideoAnalyticsConfigurationsResponse() + { + } + + public GetVideoAnalyticsConfigurationsResponse(VideoAnalyticsConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetMetadataConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetMetadataConfigurationsRequest + { + public GetMetadataConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetMetadataConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetMetadataConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public MetadataConfiguration[] Configurations; + + public GetMetadataConfigurationsResponse() + { + } + + public GetMetadataConfigurationsResponse(MetadataConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioOutputConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioOutputConfigurationsRequest + { + public GetAudioOutputConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioOutputConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioOutputConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioOutputConfiguration[] Configurations; + + public GetAudioOutputConfigurationsResponse() + { + } + + public GetAudioOutputConfigurationsResponse(AudioOutputConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioDecoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioDecoderConfigurationsRequest + { + public GetAudioDecoderConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetAudioDecoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetAudioDecoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioDecoderConfiguration[] Configurations; + + public GetAudioDecoderConfigurationsResponse() + { + } + + public GetAudioDecoderConfigurationsResponse(AudioDecoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoEncoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoEncoderConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleVideoEncoderConfigurationsRequest() + { + } + + public GetCompatibleVideoEncoderConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoEncoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoEncoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoEncoderConfiguration[] Configurations; + + public GetCompatibleVideoEncoderConfigurationsResponse() + { + } + + public GetCompatibleVideoEncoderConfigurationsResponse(VideoEncoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoSourceConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoSourceConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleVideoSourceConfigurationsRequest() + { + } + + public GetCompatibleVideoSourceConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoSourceConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoSourceConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoSourceConfiguration[] Configurations; + + public GetCompatibleVideoSourceConfigurationsResponse() + { + } + + public GetCompatibleVideoSourceConfigurationsResponse(VideoSourceConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioEncoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioEncoderConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleAudioEncoderConfigurationsRequest() + { + } + + public GetCompatibleAudioEncoderConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioEncoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioEncoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioEncoderConfiguration[] Configurations; + + public GetCompatibleAudioEncoderConfigurationsResponse() + { + } + + public GetCompatibleAudioEncoderConfigurationsResponse(AudioEncoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioSourceConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioSourceConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleAudioSourceConfigurationsRequest() + { + } + + public GetCompatibleAudioSourceConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioSourceConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioSourceConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioSourceConfiguration[] Configurations; + + public GetCompatibleAudioSourceConfigurationsResponse() + { + } + + public GetCompatibleAudioSourceConfigurationsResponse(AudioSourceConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoAnalyticsConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoAnalyticsConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleVideoAnalyticsConfigurationsRequest() + { + } + + public GetCompatibleVideoAnalyticsConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleVideoAnalyticsConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleVideoAnalyticsConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public VideoAnalyticsConfiguration[] Configurations; + + public GetCompatibleVideoAnalyticsConfigurationsResponse() + { + } + + public GetCompatibleVideoAnalyticsConfigurationsResponse(VideoAnalyticsConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleMetadataConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleMetadataConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleMetadataConfigurationsRequest() + { + } + + public GetCompatibleMetadataConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleMetadataConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleMetadataConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public MetadataConfiguration[] Configurations; + + public GetCompatibleMetadataConfigurationsResponse() + { + } + + public GetCompatibleMetadataConfigurationsResponse(MetadataConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioOutputConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioOutputConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleAudioOutputConfigurationsRequest() + { + } + + public GetCompatibleAudioOutputConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioOutputConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioOutputConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioOutputConfiguration[] Configurations; + + public GetCompatibleAudioOutputConfigurationsResponse() + { + } + + public GetCompatibleAudioOutputConfigurationsResponse(AudioOutputConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioDecoderConfigurations", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioDecoderConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleAudioDecoderConfigurationsRequest() + { + } + + public GetCompatibleAudioDecoderConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleAudioDecoderConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetCompatibleAudioDecoderConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Configurations")] + public AudioDecoderConfiguration[] Configurations; + + public GetCompatibleAudioDecoderConfigurationsResponse() + { + } + + public GetCompatibleAudioDecoderConfigurationsResponse(AudioDecoderConfiguration[] Configurations) + { + this.Configurations = Configurations; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetGuaranteedNumberOfVideoEncoderInstances", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetGuaranteedNumberOfVideoEncoderInstancesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ConfigurationToken; + + public GetGuaranteedNumberOfVideoEncoderInstancesRequest() + { + } + + public GetGuaranteedNumberOfVideoEncoderInstancesRequest(string ConfigurationToken) + { + this.ConfigurationToken = ConfigurationToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetGuaranteedNumberOfVideoEncoderInstancesResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetGuaranteedNumberOfVideoEncoderInstancesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public int TotalNumber; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 1)] + public int JPEG; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 2)] + public int H264; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 3)] + public int MPEG4; + + public GetGuaranteedNumberOfVideoEncoderInstancesResponse() + { + } + + public GetGuaranteedNumberOfVideoEncoderInstancesResponse(int TotalNumber, int JPEG, int H264, int MPEG4) + { + this.TotalNumber = TotalNumber; + this.JPEG = JPEG; + this.H264 = H264; + this.MPEG4 = MPEG4; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSourceModes", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourceModesRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string VideoSourceToken; + + public GetVideoSourceModesRequest() + { + } + + public GetVideoSourceModesRequest(string VideoSourceToken) + { + this.VideoSourceToken = VideoSourceToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetVideoSourceModesResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetVideoSourceModesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("VideoSourceModes")] + public VideoSourceMode[] VideoSourceModes; + + public GetVideoSourceModesResponse() + { + } + + public GetVideoSourceModesResponse(VideoSourceMode[] VideoSourceModes) + { + this.VideoSourceModes = VideoSourceModes; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSDs", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ConfigurationToken; + + public GetOSDsRequest() + { + } + + public GetOSDsRequest(string ConfigurationToken) + { + this.ConfigurationToken = ConfigurationToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSDsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("OSDs")] + public OSDConfiguration[] OSDs; + + public GetOSDsResponse() + { + } + + public GetOSDsResponse(OSDConfiguration[] OSDs) + { + this.OSDs = OSDs; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSD", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string OSDToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetOSDRequest() + { + } + + public GetOSDRequest(string OSDToken, System.Xml.Linq.XElement[] Any) + { + this.OSDToken = OSDToken; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSDResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public OSDConfiguration OSD; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetOSDResponse() + { + } + + public GetOSDResponse(OSDConfiguration OSD, System.Xml.Linq.XElement[] Any) + { + this.OSD = OSD; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSDOptions", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDOptionsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string ConfigurationToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetOSDOptionsRequest() + { + } + + public GetOSDOptionsRequest(string ConfigurationToken, System.Xml.Linq.XElement[] Any) + { + this.ConfigurationToken = ConfigurationToken; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetOSDOptionsResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class GetOSDOptionsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public OSDConfigurationOptions OSDOptions; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public GetOSDOptionsResponse() + { + } + + public GetOSDOptionsResponse(OSDConfigurationOptions OSDOptions, System.Xml.Linq.XElement[] Any) + { + this.OSDOptions = OSDOptions; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetOSD", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class SetOSDRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public OSDConfiguration OSD; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public SetOSDRequest() + { + } + + public SetOSDRequest(OSDConfiguration OSD, System.Xml.Linq.XElement[] Any) + { + this.OSD = OSD; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetOSDResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class SetOSDResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 0)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public SetOSDResponse() + { + } + + public SetOSDResponse(System.Xml.Linq.XElement[] Any) + { + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateOSD", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class CreateOSDRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public OSDConfiguration OSD; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public CreateOSDRequest() + { + } + + public CreateOSDRequest(OSDConfiguration OSD, System.Xml.Linq.XElement[] Any) + { + this.OSD = OSD; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "CreateOSDResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class CreateOSDResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string OSDToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public CreateOSDResponse() + { + } + + public CreateOSDResponse(string OSDToken, System.Xml.Linq.XElement[] Any) + { + this.OSDToken = OSDToken; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteOSD", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class DeleteOSDRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver10/media/wsdl", Order = 0)] + public string OSDToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 1)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public DeleteOSDRequest() + { + } + + public DeleteOSDRequest(string OSDToken, System.Xml.Linq.XElement[] Any) + { + this.OSDToken = OSDToken; + this.Any = Any; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "DeleteOSDResponse", WrapperNamespace = "http://www.onvif.org/ver10/media/wsdl", IsWrapped = true)] + public partial class DeleteOSDResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "", Order = 0)] + [System.Xml.Serialization.XmlAnyElementAttribute()] + public System.Xml.Linq.XElement[] Any; + + public DeleteOSDResponse() + { + } + + public DeleteOSDResponse(System.Xml.Linq.XElement[] Any) + { + this.Any = Any; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public interface MediaChannel : Onvif.Media.Media, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public partial class MediaClient : System.ServiceModel.ClientBase, Onvif.Media.Media + { + internal MediaClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + public System.Threading.Tasks.Task GetServiceCapabilitiesAsync() + { + return base.Channel.GetServiceCapabilitiesAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetVideoSourcesAsync(Onvif.Media.GetVideoSourcesRequest request) + { + return base.Channel.GetVideoSourcesAsync(request); + } + + public System.Threading.Tasks.Task GetVideoSourcesAsync() + { + Onvif.Media.GetVideoSourcesRequest inValue = new Onvif.Media.GetVideoSourcesRequest(); + return ((Onvif.Media.Media)(this)).GetVideoSourcesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioSourcesAsync(Onvif.Media.GetAudioSourcesRequest request) + { + return base.Channel.GetAudioSourcesAsync(request); + } + + public System.Threading.Tasks.Task GetAudioSourcesAsync() + { + Onvif.Media.GetAudioSourcesRequest inValue = new Onvif.Media.GetAudioSourcesRequest(); + return ((Onvif.Media.Media)(this)).GetAudioSourcesAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioOutputsAsync(Onvif.Media.GetAudioOutputsRequest request) + { + return base.Channel.GetAudioOutputsAsync(request); + } + + public System.Threading.Tasks.Task GetAudioOutputsAsync() + { + Onvif.Media.GetAudioOutputsRequest inValue = new Onvif.Media.GetAudioOutputsRequest(); + return ((Onvif.Media.Media)(this)).GetAudioOutputsAsync(inValue); + } + + public System.Threading.Tasks.Task CreateProfileAsync(string Name, string Token) + { + return base.Channel.CreateProfileAsync(Name, Token); + } + + public System.Threading.Tasks.Task GetProfileAsync(string ProfileToken) + { + return base.Channel.GetProfileAsync(ProfileToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetProfilesAsync(Onvif.Media.GetProfilesRequest request) + { + return base.Channel.GetProfilesAsync(request); + } + + public System.Threading.Tasks.Task GetProfilesAsync() + { + Onvif.Media.GetProfilesRequest inValue = new Onvif.Media.GetProfilesRequest(); + return ((Onvif.Media.Media)(this)).GetProfilesAsync(inValue); + } + + public System.Threading.Tasks.Task AddVideoEncoderConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddVideoEncoderConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveVideoEncoderConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveVideoEncoderConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddVideoSourceConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddVideoSourceConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveVideoSourceConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveVideoSourceConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddAudioEncoderConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddAudioEncoderConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveAudioEncoderConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveAudioEncoderConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddAudioSourceConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddAudioSourceConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveAudioSourceConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveAudioSourceConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddPTZConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddPTZConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemovePTZConfigurationAsync(string ProfileToken) + { + return base.Channel.RemovePTZConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddVideoAnalyticsConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddVideoAnalyticsConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveVideoAnalyticsConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveVideoAnalyticsConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddMetadataConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddMetadataConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveMetadataConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveMetadataConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddAudioOutputConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddAudioOutputConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveAudioOutputConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveAudioOutputConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AddAudioDecoderConfigurationAsync(string ProfileToken, string ConfigurationToken) + { + return base.Channel.AddAudioDecoderConfigurationAsync(ProfileToken, ConfigurationToken); + } + + public System.Threading.Tasks.Task RemoveAudioDecoderConfigurationAsync(string ProfileToken) + { + return base.Channel.RemoveAudioDecoderConfigurationAsync(ProfileToken); + } + + public System.Threading.Tasks.Task DeleteProfileAsync(string ProfileToken) + { + return base.Channel.DeleteProfileAsync(ProfileToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetVideoSourceConfigurationsAsync(Onvif.Media.GetVideoSourceConfigurationsRequest request) + { + return base.Channel.GetVideoSourceConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetVideoSourceConfigurationsAsync() + { + Onvif.Media.GetVideoSourceConfigurationsRequest inValue = new Onvif.Media.GetVideoSourceConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetVideoSourceConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetVideoEncoderConfigurationsAsync(Onvif.Media.GetVideoEncoderConfigurationsRequest request) + { + return base.Channel.GetVideoEncoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetVideoEncoderConfigurationsAsync() + { + Onvif.Media.GetVideoEncoderConfigurationsRequest inValue = new Onvif.Media.GetVideoEncoderConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetVideoEncoderConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioSourceConfigurationsAsync(Onvif.Media.GetAudioSourceConfigurationsRequest request) + { + return base.Channel.GetAudioSourceConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetAudioSourceConfigurationsAsync() + { + Onvif.Media.GetAudioSourceConfigurationsRequest inValue = new Onvif.Media.GetAudioSourceConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetAudioSourceConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioEncoderConfigurationsAsync(Onvif.Media.GetAudioEncoderConfigurationsRequest request) + { + return base.Channel.GetAudioEncoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetAudioEncoderConfigurationsAsync() + { + Onvif.Media.GetAudioEncoderConfigurationsRequest inValue = new Onvif.Media.GetAudioEncoderConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetAudioEncoderConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetVideoAnalyticsConfigurationsAsync(Onvif.Media.GetVideoAnalyticsConfigurationsRequest request) + { + return base.Channel.GetVideoAnalyticsConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetVideoAnalyticsConfigurationsAsync() + { + Onvif.Media.GetVideoAnalyticsConfigurationsRequest inValue = new Onvif.Media.GetVideoAnalyticsConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetVideoAnalyticsConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetMetadataConfigurationsAsync(Onvif.Media.GetMetadataConfigurationsRequest request) + { + return base.Channel.GetMetadataConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetMetadataConfigurationsAsync() + { + Onvif.Media.GetMetadataConfigurationsRequest inValue = new Onvif.Media.GetMetadataConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetMetadataConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioOutputConfigurationsAsync(Onvif.Media.GetAudioOutputConfigurationsRequest request) + { + return base.Channel.GetAudioOutputConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetAudioOutputConfigurationsAsync() + { + Onvif.Media.GetAudioOutputConfigurationsRequest inValue = new Onvif.Media.GetAudioOutputConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetAudioOutputConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetAudioDecoderConfigurationsAsync(Onvif.Media.GetAudioDecoderConfigurationsRequest request) + { + return base.Channel.GetAudioDecoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetAudioDecoderConfigurationsAsync() + { + Onvif.Media.GetAudioDecoderConfigurationsRequest inValue = new Onvif.Media.GetAudioDecoderConfigurationsRequest(); + return ((Onvif.Media.Media)(this)).GetAudioDecoderConfigurationsAsync(inValue); + } + + public System.Threading.Tasks.Task GetVideoSourceConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetVideoSourceConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetVideoEncoderConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetVideoEncoderConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetAudioSourceConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetAudioSourceConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetAudioEncoderConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetAudioEncoderConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetVideoAnalyticsConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetVideoAnalyticsConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetMetadataConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetMetadataConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetAudioOutputConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetAudioOutputConfigurationAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task GetAudioDecoderConfigurationAsync(string ConfigurationToken) + { + return base.Channel.GetAudioDecoderConfigurationAsync(ConfigurationToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleVideoEncoderConfigurationsAsync(Onvif.Media.GetCompatibleVideoEncoderConfigurationsRequest request) + { + return base.Channel.GetCompatibleVideoEncoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleVideoEncoderConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleVideoEncoderConfigurationsRequest inValue = new Onvif.Media.GetCompatibleVideoEncoderConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleVideoEncoderConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleVideoSourceConfigurationsAsync(Onvif.Media.GetCompatibleVideoSourceConfigurationsRequest request) + { + return base.Channel.GetCompatibleVideoSourceConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleVideoSourceConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleVideoSourceConfigurationsRequest inValue = new Onvif.Media.GetCompatibleVideoSourceConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleVideoSourceConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleAudioEncoderConfigurationsAsync(Onvif.Media.GetCompatibleAudioEncoderConfigurationsRequest request) + { + return base.Channel.GetCompatibleAudioEncoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleAudioEncoderConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleAudioEncoderConfigurationsRequest inValue = new Onvif.Media.GetCompatibleAudioEncoderConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleAudioEncoderConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleAudioSourceConfigurationsAsync(Onvif.Media.GetCompatibleAudioSourceConfigurationsRequest request) + { + return base.Channel.GetCompatibleAudioSourceConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleAudioSourceConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleAudioSourceConfigurationsRequest inValue = new Onvif.Media.GetCompatibleAudioSourceConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleAudioSourceConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleVideoAnalyticsConfigurationsAsync(Onvif.Media.GetCompatibleVideoAnalyticsConfigurationsRequest request) + { + return base.Channel.GetCompatibleVideoAnalyticsConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleVideoAnalyticsConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleVideoAnalyticsConfigurationsRequest inValue = new Onvif.Media.GetCompatibleVideoAnalyticsConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleVideoAnalyticsConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleMetadataConfigurationsAsync(Onvif.Media.GetCompatibleMetadataConfigurationsRequest request) + { + return base.Channel.GetCompatibleMetadataConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleMetadataConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleMetadataConfigurationsRequest inValue = new Onvif.Media.GetCompatibleMetadataConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleMetadataConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleAudioOutputConfigurationsAsync(Onvif.Media.GetCompatibleAudioOutputConfigurationsRequest request) + { + return base.Channel.GetCompatibleAudioOutputConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleAudioOutputConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleAudioOutputConfigurationsRequest inValue = new Onvif.Media.GetCompatibleAudioOutputConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleAudioOutputConfigurationsAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetCompatibleAudioDecoderConfigurationsAsync(Onvif.Media.GetCompatibleAudioDecoderConfigurationsRequest request) + { + return base.Channel.GetCompatibleAudioDecoderConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleAudioDecoderConfigurationsAsync(string ProfileToken) + { + Onvif.Media.GetCompatibleAudioDecoderConfigurationsRequest inValue = new Onvif.Media.GetCompatibleAudioDecoderConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((Onvif.Media.Media)(this)).GetCompatibleAudioDecoderConfigurationsAsync(inValue); + } + + public System.Threading.Tasks.Task SetVideoSourceConfigurationAsync(VideoSourceConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetVideoSourceConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetVideoEncoderConfigurationAsync(VideoEncoderConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetVideoEncoderConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetAudioSourceConfigurationAsync(AudioSourceConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetAudioSourceConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetAudioEncoderConfigurationAsync(AudioEncoderConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetAudioEncoderConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetVideoAnalyticsConfigurationAsync(VideoAnalyticsConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetVideoAnalyticsConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetMetadataConfigurationAsync(MetadataConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetMetadataConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetAudioOutputConfigurationAsync(AudioOutputConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetAudioOutputConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task SetAudioDecoderConfigurationAsync(AudioDecoderConfiguration Configuration, bool ForcePersistence) + { + return base.Channel.SetAudioDecoderConfigurationAsync(Configuration, ForcePersistence); + } + + public System.Threading.Tasks.Task GetVideoSourceConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetVideoSourceConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetVideoEncoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetVideoEncoderConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetAudioSourceConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetAudioSourceConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetAudioEncoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetAudioEncoderConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetMetadataConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetMetadataConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetAudioOutputConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetAudioOutputConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetAudioDecoderConfigurationOptionsAsync(string ConfigurationToken, string ProfileToken) + { + return base.Channel.GetAudioDecoderConfigurationOptionsAsync(ConfigurationToken, ProfileToken); + } + + public System.Threading.Tasks.Task GetGuaranteedNumberOfVideoEncoderInstancesAsync(Onvif.Media.GetGuaranteedNumberOfVideoEncoderInstancesRequest request) + { + return base.Channel.GetGuaranteedNumberOfVideoEncoderInstancesAsync(request); + } + + public System.Threading.Tasks.Task GetStreamUriAsync(StreamSetup StreamSetup, string ProfileToken) + { + return base.Channel.GetStreamUriAsync(StreamSetup, ProfileToken); + } + + public System.Threading.Tasks.Task StartMulticastStreamingAsync(string ProfileToken) + { + return base.Channel.StartMulticastStreamingAsync(ProfileToken); + } + + public System.Threading.Tasks.Task StopMulticastStreamingAsync(string ProfileToken) + { + return base.Channel.StopMulticastStreamingAsync(ProfileToken); + } + + public System.Threading.Tasks.Task SetSynchronizationPointAsync(string ProfileToken) + { + return base.Channel.SetSynchronizationPointAsync(ProfileToken); + } + + public System.Threading.Tasks.Task GetSnapshotUriAsync(string ProfileToken) + { + return base.Channel.GetSnapshotUriAsync(ProfileToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetVideoSourceModesAsync(Onvif.Media.GetVideoSourceModesRequest request) + { + return base.Channel.GetVideoSourceModesAsync(request); + } + + public System.Threading.Tasks.Task GetVideoSourceModesAsync(string VideoSourceToken) + { + Onvif.Media.GetVideoSourceModesRequest inValue = new Onvif.Media.GetVideoSourceModesRequest(); + inValue.VideoSourceToken = VideoSourceToken; + return ((Onvif.Media.Media)(this)).GetVideoSourceModesAsync(inValue); + } + + public System.Threading.Tasks.Task SetVideoSourceModeAsync(string VideoSourceToken, string VideoSourceModeToken) + { + return base.Channel.SetVideoSourceModeAsync(VideoSourceToken, VideoSourceModeToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Onvif.Media.Media.GetOSDsAsync(Onvif.Media.GetOSDsRequest request) + { + return base.Channel.GetOSDsAsync(request); + } + + public System.Threading.Tasks.Task GetOSDsAsync(string ConfigurationToken) + { + Onvif.Media.GetOSDsRequest inValue = new Onvif.Media.GetOSDsRequest(); + inValue.ConfigurationToken = ConfigurationToken; + return ((Onvif.Media.Media)(this)).GetOSDsAsync(inValue); + } + + public System.Threading.Tasks.Task GetOSDAsync(Onvif.Media.GetOSDRequest request) + { + return base.Channel.GetOSDAsync(request); + } + + public System.Threading.Tasks.Task GetOSDOptionsAsync(Onvif.Media.GetOSDOptionsRequest request) + { + return base.Channel.GetOSDOptionsAsync(request); + } + + public System.Threading.Tasks.Task SetOSDAsync(Onvif.Media.SetOSDRequest request) + { + return base.Channel.SetOSDAsync(request); + } + + public System.Threading.Tasks.Task CreateOSDAsync(Onvif.Media.CreateOSDRequest request) + { + return base.Channel.CreateOSDAsync(request); + } + + public System.Threading.Tasks.Task DeleteOSDAsync(Onvif.Media.DeleteOSDRequest request) + { + return base.Channel.DeleteOSDAsync(request); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/OnvifClient.cs b/BaseModule/EC.Onvif/OnvifClient.cs new file mode 100644 index 0000000..b764945 --- /dev/null +++ b/BaseModule/EC.Onvif/OnvifClient.cs @@ -0,0 +1,191 @@ +using EC.Onvif.Common; +using EC.Onvif.Device; +using EC.Onvif.Imaging; +using EC.Onvif.Media; +using EC.Onvif.PTZ; +using System; +using System.Threading.Tasks; +using Capabilities = EC.Onvif.Common.Capabilities; + +namespace EC.Onvif +{ + public class OnvifClient + { + #region Attr + + private string Hostname { get; set; } + + private string Username { get; set; } + + private string Password { get; set; } + + public static float atomDist { get; set; } = 0.01f; + + public static float atomSpeed { get; set; } = 0.1f; + + #endregion Attr + + #region Client Attr + + private DeviceClient Device { get; set; } + + private MediaClient Media { get; set; } + + private PTZClient PTZ { get; set; } + + private ImagingClient Imaging { get; set; } + + private Capabilities Caps { get; set; } + + private string profileToken { get; set; } + + #endregion Client Attr + + public OnvifClient(string hostname, string username, string password) + { + Hostname = hostname; + Username = username; + Password = password; + } + + public async Task InitAsync() + { + try + { + Device = await OnvifClientFactory.CreateDeviceClientAsync(Hostname, Username, Password); + Media = await OnvifClientFactory.CreateMediaClientAsync(Hostname, Username, Password); + PTZ = await OnvifClientFactory.CreatePTZClientAsync(Hostname, Username, Password); + var profiles = await Media.GetProfilesAsync(); + foreach (var profile in profiles.Profiles) + { + if (string.IsNullOrEmpty(profileToken)) + { + profileToken = profile.token; + break; + } + } + Caps = (await Device.GetCapabilitiesAsync(new CapabilityCategory[] { CapabilityCategory.All })).Capabilities; + } + catch (Exception) + { + throw; + } + } + + #region DeviceClient + + public bool IsDeviceContected() + { + return Device != null; + } + + #endregion DeviceClient + + #region MediaClient + + public bool IsMediaContected() + { + var r = IsDeviceContected(); + return r; + } + + #endregion MediaClient + + #region PTZClient + + public bool IsPTZContected() + { + var r = IsDeviceContected() && (PTZ != null) && !string.IsNullOrEmpty(profileToken); + return r; + } + + /// + /// 绝对移动 + /// + /// + /// + /// + /// + public async Task AbsoluteMoveAsync(float pan, float tilt, float zoom) + { + await PTZ.AbsoluteMoveAsync(profileToken, new PTZVector + { + PanTilt = new Vector2D + { + x = pan, + y = tilt + }, + Zoom = new Vector1D + { + x = zoom + } + }, null); + } + + /// + /// 相对移动 + /// + /// + /// + /// + public async Task RelativeMoveAsync(float pan, float tilt, float zoom) + { + await PTZ.RelativeMoveAsync(profileToken, new PTZVector + { + PanTilt = new Vector2D + { + x = pan, + y = tilt + }, + Zoom = new Vector1D + { + x = zoom + } + }, null); + } + + /// + /// 持续移动 + /// + /// 0~100 + /// 0~100 + /// 0~100 + public async Task ContinuousMoveAsync(float pan, float tilt, float zoom) + { + await PTZ.ContinuousMoveAsync(profileToken, new PTZSpeed + { + PanTilt = new Vector2D + { + x = pan, + y = tilt + }, + Zoom = new Vector1D + { + x = zoom + } + }, null); + } + + public async Task StopMoveAsync() + { + await PTZ.StopAsync(profileToken, true, true); + } + + public async Task GetStatusAsync() + { + return await PTZ.GetStatusAsync(profileToken); + } + + #endregion PTZClient + + #region ImagingClient + + public bool IsImagingContected() + { + var r = IsDeviceContected(); + return r; + } + + #endregion ImagingClient + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/OnvifClientFactory.cs b/BaseModule/EC.Onvif/OnvifClientFactory.cs new file mode 100644 index 0000000..47bd5e4 --- /dev/null +++ b/BaseModule/EC.Onvif/OnvifClientFactory.cs @@ -0,0 +1,117 @@ +using EC.Onvif.Common; +using EC.Onvif.Device; +using EC.Onvif.Imaging; +using EC.Onvif.Media; +using EC.Onvif.PTZ; +using EC.Onvif.Security; +using System; +using System.ServiceModel; +using System.ServiceModel.Channels; +using System.Threading.Tasks; + +namespace EC.Onvif +{ + public static class OnvifClientFactory + { + private static Binding CreateBinding() + { + var binding = new CustomBinding(); + var textBindingElement = new TextMessageEncodingBindingElement + { + MessageVersion = MessageVersion.CreateVersion(EnvelopeVersion.Soap12, AddressingVersion.None) + }; + var httpBindingElement = new HttpTransportBindingElement + { + AllowCookies = true, + MaxBufferSize = int.MaxValue, + MaxReceivedMessageSize = int.MaxValue + }; + + binding.Elements.Add(textBindingElement); + binding.Elements.Add(httpBindingElement); + + return binding; + } + + public static async Task CreateDeviceClientAsync(string host, string username, string password) + { + return await CreateDeviceClientAsync(new Uri($"http://{host}/onvif/device_service"), username, password); + } + + public static async Task CreateDeviceClientAsync(Uri uri, string username, string password) + { + var binding = CreateBinding(); + var endpoint = new EndpointAddress(uri); + var device = new DeviceClient(binding, endpoint); + var time_shift = await GetDeviceTimeShift(device); + + device = new DeviceClient(binding, endpoint); + device.ChannelFactory.Endpoint.EndpointBehaviors.Clear(); + device.ChannelFactory.Endpoint.EndpointBehaviors.Add(new SoapSecurityHeaderBehavior(username, password, time_shift)); + + // Connectivity Test + await device.OpenAsync(); + + return device; + } + + public static async Task CreateMediaClientAsync(string host, string username, string password) + { + var binding = CreateBinding(); + var device = await CreateDeviceClientAsync(host, username, password); + var caps = await device.GetCapabilitiesAsync(new CapabilityCategory[] { CapabilityCategory.Media }); + var media = new MediaClient(binding, new EndpointAddress(new Uri(caps.Capabilities.Media.XAddr))); + + var time_shift = await GetDeviceTimeShift(device); + media.ChannelFactory.Endpoint.EndpointBehaviors.Clear(); + media.ChannelFactory.Endpoint.EndpointBehaviors.Add(new SoapSecurityHeaderBehavior(username, password, time_shift)); + + // Connectivity Test + await media.OpenAsync(); + + return media; + } + + public static async Task CreatePTZClientAsync(string host, string username, string password) + { + var binding = CreateBinding(); + var device = await CreateDeviceClientAsync(host, username, password); + var caps = await device.GetCapabilitiesAsync(new CapabilityCategory[] { CapabilityCategory.PTZ }); + var ptz = new PTZClient(binding, new EndpointAddress(new Uri(caps.Capabilities.PTZ.XAddr))); + + var time_shift = await GetDeviceTimeShift(device); + ptz.ChannelFactory.Endpoint.EndpointBehaviors.Clear(); + ptz.ChannelFactory.Endpoint.EndpointBehaviors.Add(new SoapSecurityHeaderBehavior(username, password, time_shift)); + + // Connectivity Test + await ptz.OpenAsync(); + + return ptz; + } + + public static async Task CreateImagingClientAsync(string host, string username, string password) + { + var binding = CreateBinding(); + var device = await CreateDeviceClientAsync(host, username, password); + var caps = await device.GetCapabilitiesAsync(new CapabilityCategory[] { CapabilityCategory.Imaging }); + var imaging = new ImagingClient(binding, new EndpointAddress(new Uri(caps.Capabilities.Imaging.XAddr))); + + var time_shift = await GetDeviceTimeShift(device); + imaging.ChannelFactory.Endpoint.EndpointBehaviors.Clear(); + imaging.ChannelFactory.Endpoint.EndpointBehaviors.Add(new SoapSecurityHeaderBehavior(username, password, time_shift)); + + // Connectivity Test + await imaging.OpenAsync(); + + return imaging; + } + + private static async Task GetDeviceTimeShift(DeviceClient device) + { + var utc = (await device.GetSystemDateAndTimeAsync()).UTCDateTime; + var dt = new System.DateTime(utc.Date.Year, utc.Date.Month, utc.Date.Day, + utc.Time.Hour, utc.Time.Minute, utc.Time.Second); + return dt - System.DateTime.UtcNow; + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/PTZ/DataTypes.cs b/BaseModule/EC.Onvif/PTZ/DataTypes.cs new file mode 100644 index 0000000..1eb1224 --- /dev/null +++ b/BaseModule/EC.Onvif/PTZ/DataTypes.cs @@ -0,0 +1,185 @@ +namespace EC.Onvif.PTZ +{ + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl")] + public partial class Capabilities + { + private System.Xml.Linq.XElement[] anyField; + + private bool eFlipField; + + private bool eFlipFieldSpecified; + + private bool reverseField; + + private bool reverseFieldSpecified; + + private bool getCompatibleConfigurationsField; + + private bool getCompatibleConfigurationsFieldSpecified; + + private bool moveStatusField; + + private bool moveStatusFieldSpecified; + + private bool statusPositionField; + + private bool statusPositionFieldSpecified; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] + public System.Xml.Linq.XElement[] Any + { + get + { + return this.anyField; + } + set + { + this.anyField = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool EFlip + { + get + { + return this.eFlipField; + } + set + { + this.eFlipField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool EFlipSpecified + { + get + { + return this.eFlipFieldSpecified; + } + set + { + this.eFlipFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool Reverse + { + get + { + return this.reverseField; + } + set + { + this.reverseField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ReverseSpecified + { + get + { + return this.reverseFieldSpecified; + } + set + { + this.reverseFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool GetCompatibleConfigurations + { + get + { + return this.getCompatibleConfigurationsField; + } + set + { + this.getCompatibleConfigurationsField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool GetCompatibleConfigurationsSpecified + { + get + { + return this.getCompatibleConfigurationsFieldSpecified; + } + set + { + this.getCompatibleConfigurationsFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool MoveStatus + { + get + { + return this.moveStatusField; + } + set + { + this.moveStatusField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool MoveStatusSpecified + { + get + { + return this.moveStatusFieldSpecified; + } + set + { + this.moveStatusFieldSpecified = value; + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public bool StatusPosition + { + get + { + return this.statusPositionField; + } + set + { + this.statusPositionField = value; + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool StatusPositionSpecified + { + get + { + return this.statusPositionFieldSpecified; + } + set + { + this.statusPositionFieldSpecified = value; + } + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/PTZ/PTZClient.cs b/BaseModule/EC.Onvif/PTZ/PTZClient.cs new file mode 100644 index 0000000..5855ca1 --- /dev/null +++ b/BaseModule/EC.Onvif/PTZ/PTZClient.cs @@ -0,0 +1,662 @@ +using EC.Onvif.Common; + +namespace EC.Onvif.PTZ +{ + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.ServiceContractAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", ConfigurationName = "EC.Onvif.PTZ.PTZ")] + public interface PTZ + { + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetServiceCapabilities", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Capabilities")] + System.Threading.Tasks.Task GetServiceCapabilitiesAsync(); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetNodes", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetNodesAsync(GetNodesRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetNode", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PTZNode")] + System.Threading.Tasks.Task GetNodeAsync(string NodeToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PTZConfiguration")] + System.Threading.Tasks.Task GetConfigurationAsync(string PTZConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetConfigurationsAsync(GetConfigurationsRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/SetConfiguration", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetConfigurationAsync(PTZConfiguration PTZConfiguration, bool ForcePersistence); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetConfigurationOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PTZConfigurationOptions")] + System.Threading.Tasks.Task GetConfigurationOptionsAsync(string ConfigurationToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/SendAuxiliaryCommand", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "AuxiliaryResponse")] + System.Threading.Tasks.Task SendAuxiliaryCommandAsync(string ProfileToken, string AuxiliaryData); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetPresets", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetPresetsAsync(GetPresetsRequest request); + + // CODEGEN: Generating message contract since the operation has multiple return values. + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/SetPreset", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetPresetAsync(SetPresetRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/RemovePreset", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemovePresetAsync(string ProfileToken, string PresetToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GotoPreset", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GotoPresetAsync(string ProfileToken, string PresetToken, PTZSpeed Speed); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GotoHomePosition", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GotoHomePositionAsync(string ProfileToken, PTZSpeed Speed); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/SetHomePosition", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task SetHomePositionAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/ContinuousMove", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task ContinuousMoveAsync(ContinuousMoveRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/RelativeMove", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RelativeMoveAsync(string ProfileToken, PTZVector Translation, PTZSpeed Speed); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetStatus", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PTZStatus")] + System.Threading.Tasks.Task GetStatusAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/AbsoluteMove", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task AbsoluteMoveAsync(string ProfileToken, PTZVector Position, PTZSpeed Speed); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GeoMove", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GeoMoveAsync(string ProfileToken, GeoLocation Target, PTZSpeed Speed, float AreaHeight, float AreaWidth); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/Stop", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task StopAsync(string ProfileToken, bool PanTilt, bool Zoom); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetPresetTours", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetPresetToursAsync(GetPresetToursRequest request); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetPresetTour", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PresetTour")] + System.Threading.Tasks.Task GetPresetTourAsync(string ProfileToken, string PresetTourToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetPresetTourOptions", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "Options")] + System.Threading.Tasks.Task GetPresetTourOptionsAsync(string ProfileToken, string PresetTourToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/CreatePresetTour", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + [return: System.ServiceModel.MessageParameterAttribute(Name = "PresetTourToken")] + System.Threading.Tasks.Task CreatePresetTourAsync(string ProfileToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/ModifyPresetTour", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task ModifyPresetTourAsync(string ProfileToken, PresetTour PresetTour); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/OperatePresetTour", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task OperatePresetTourAsync(string ProfileToken, string PresetTourToken, PTZPresetTourOperation Operation); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/RemovePresetTour", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task RemovePresetTourAsync(string ProfileToken, string PresetTourToken); + + [System.ServiceModel.OperationContractAttribute(Action = "http://www.onvif.org/ver20/ptz/wsdl/GetCompatibleConfigurations", ReplyAction = "*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults = true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConfigurationEntity))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(DeviceEntity))] + System.Threading.Tasks.Task GetCompatibleConfigurationsAsync(GetCompatibleConfigurationsRequest request); + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNodes", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetNodesRequest + { + public GetNodesRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetNodesResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetNodesResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PTZNode")] + public PTZNode[] PTZNode; + + public GetNodesResponse() + { + } + + public GetNodesResponse(PTZNode[] PTZNode) + { + this.PTZNode = PTZNode; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetConfigurations", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetConfigurationsRequest + { + public GetConfigurationsRequest() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PTZConfiguration")] + public PTZConfiguration[] PTZConfiguration; + + public GetConfigurationsResponse() + { + } + + public GetConfigurationsResponse(PTZConfiguration[] PTZConfiguration) + { + this.PTZConfiguration = PTZConfiguration; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresets", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetPresetsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string ProfileToken; + + public GetPresetsRequest() + { + } + + public GetPresetsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresetsResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetPresetsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("Preset")] + public PTZPreset[] Preset; + + public GetPresetsResponse() + { + } + + public GetPresetsResponse(PTZPreset[] Preset) + { + this.Preset = Preset; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetPreset", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class SetPresetRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string ProfileToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 1)] + public string PresetName; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 2)] + public string PresetToken; + + public SetPresetRequest() + { + } + + public SetPresetRequest(string ProfileToken, string PresetName, string PresetToken) + { + this.ProfileToken = ProfileToken; + this.PresetName = PresetName; + this.PresetToken = PresetToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ServiceModel.MessageContractAttribute(WrapperName = "SetPresetResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class SetPresetResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string PresetToken; + + public SetPresetResponse() + { + } + + public SetPresetResponse(string PresetToken) + { + this.PresetToken = PresetToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "ContinuousMove", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class ContinuousMoveRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string ProfileToken; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 1)] + public PTZSpeed Velocity; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 2)] + [System.Xml.Serialization.XmlElementAttribute(DataType = "duration")] + public string Timeout; + + public ContinuousMoveRequest() + { + } + + public ContinuousMoveRequest(string ProfileToken, PTZSpeed Velocity, string Timeout) + { + this.ProfileToken = ProfileToken; + this.Velocity = Velocity; + this.Timeout = Timeout; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "ContinuousMoveResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class ContinuousMoveResponse + { + public ContinuousMoveResponse() + { + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresetTours", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetPresetToursRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string ProfileToken; + + public GetPresetToursRequest() + { + } + + public GetPresetToursRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetPresetToursResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetPresetToursResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PresetTour")] + public PresetTour[] PresetTour; + + public GetPresetToursResponse() + { + } + + public GetPresetToursResponse(PresetTour[] PresetTour) + { + this.PresetTour = PresetTour; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleConfigurations", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetCompatibleConfigurationsRequest + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + public string ProfileToken; + + public GetCompatibleConfigurationsRequest() + { + } + + public GetCompatibleConfigurationsRequest(string ProfileToken) + { + this.ProfileToken = ProfileToken; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(WrapperName = "GetCompatibleConfigurationsResponse", WrapperNamespace = "http://www.onvif.org/ver20/ptz/wsdl", IsWrapped = true)] + public partial class GetCompatibleConfigurationsResponse + { + [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://www.onvif.org/ver20/ptz/wsdl", Order = 0)] + [System.Xml.Serialization.XmlElementAttribute("PTZConfiguration")] + public PTZConfiguration[] PTZConfiguration; + + public GetCompatibleConfigurationsResponse() + { + } + + public GetCompatibleConfigurationsResponse(PTZConfiguration[] PTZConfiguration) + { + this.PTZConfiguration = PTZConfiguration; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public interface PTZChannel : PTZ, System.ServiceModel.IClientChannel + { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("dotnet-svcutil", "1.0.3")] + public partial class PTZClient : System.ServiceModel.ClientBase, PTZ + { + internal PTZClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) + { + } + + public System.Threading.Tasks.Task GetServiceCapabilitiesAsync() + { + return base.Channel.GetServiceCapabilitiesAsync(); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.GetNodesAsync(GetNodesRequest request) + { + return base.Channel.GetNodesAsync(request); + } + + public System.Threading.Tasks.Task GetNodesAsync() + { + GetNodesRequest inValue = new GetNodesRequest(); + return ((PTZ)(this)).GetNodesAsync(inValue); + } + + public System.Threading.Tasks.Task GetNodeAsync(string NodeToken) + { + return base.Channel.GetNodeAsync(NodeToken); + } + + public System.Threading.Tasks.Task GetConfigurationAsync(string PTZConfigurationToken) + { + return base.Channel.GetConfigurationAsync(PTZConfigurationToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.GetConfigurationsAsync(GetConfigurationsRequest request) + { + return base.Channel.GetConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetConfigurationsAsync() + { + GetConfigurationsRequest inValue = new GetConfigurationsRequest(); + return ((PTZ)(this)).GetConfigurationsAsync(inValue); + } + + public System.Threading.Tasks.Task SetConfigurationAsync(PTZConfiguration PTZConfiguration, bool ForcePersistence) + { + return base.Channel.SetConfigurationAsync(PTZConfiguration, ForcePersistence); + } + + public System.Threading.Tasks.Task GetConfigurationOptionsAsync(string ConfigurationToken) + { + return base.Channel.GetConfigurationOptionsAsync(ConfigurationToken); + } + + public System.Threading.Tasks.Task SendAuxiliaryCommandAsync(string ProfileToken, string AuxiliaryData) + { + return base.Channel.SendAuxiliaryCommandAsync(ProfileToken, AuxiliaryData); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.GetPresetsAsync(GetPresetsRequest request) + { + return base.Channel.GetPresetsAsync(request); + } + + public System.Threading.Tasks.Task GetPresetsAsync(string ProfileToken) + { + GetPresetsRequest inValue = new GetPresetsRequest(); + inValue.ProfileToken = ProfileToken; + return ((PTZ)(this)).GetPresetsAsync(inValue); + } + + public System.Threading.Tasks.Task SetPresetAsync(SetPresetRequest request) + { + return base.Channel.SetPresetAsync(request); + } + + public System.Threading.Tasks.Task RemovePresetAsync(string ProfileToken, string PresetToken) + { + return base.Channel.RemovePresetAsync(ProfileToken, PresetToken); + } + + public System.Threading.Tasks.Task GotoPresetAsync(string ProfileToken, string PresetToken, PTZSpeed Speed) + { + return base.Channel.GotoPresetAsync(ProfileToken, PresetToken, Speed); + } + + public System.Threading.Tasks.Task GotoHomePositionAsync(string ProfileToken, PTZSpeed Speed) + { + return base.Channel.GotoHomePositionAsync(ProfileToken, Speed); + } + + public System.Threading.Tasks.Task SetHomePositionAsync(string ProfileToken) + { + return base.Channel.SetHomePositionAsync(ProfileToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.ContinuousMoveAsync(ContinuousMoveRequest request) + { + return base.Channel.ContinuousMoveAsync(request); + } + + public System.Threading.Tasks.Task ContinuousMoveAsync(string ProfileToken, PTZSpeed Velocity, string Timeout) + { + ContinuousMoveRequest inValue = new ContinuousMoveRequest(); + inValue.ProfileToken = ProfileToken; + inValue.Velocity = Velocity; + inValue.Timeout = Timeout; + return ((PTZ)(this)).ContinuousMoveAsync(inValue); + } + + public System.Threading.Tasks.Task RelativeMoveAsync(string ProfileToken, PTZVector Translation, PTZSpeed Speed) + { + return base.Channel.RelativeMoveAsync(ProfileToken, Translation, Speed); + } + + public System.Threading.Tasks.Task GetStatusAsync(string ProfileToken) + { + return base.Channel.GetStatusAsync(ProfileToken); + } + + public System.Threading.Tasks.Task AbsoluteMoveAsync(string ProfileToken, PTZVector Position, PTZSpeed Speed) + { + return base.Channel.AbsoluteMoveAsync(ProfileToken, Position, Speed); + } + + public System.Threading.Tasks.Task GeoMoveAsync(string ProfileToken, GeoLocation Target, PTZSpeed Speed, float AreaHeight, float AreaWidth) + { + return base.Channel.GeoMoveAsync(ProfileToken, Target, Speed, AreaHeight, AreaWidth); + } + + public System.Threading.Tasks.Task StopAsync(string ProfileToken, bool PanTilt, bool Zoom) + { + return base.Channel.StopAsync(ProfileToken, PanTilt, Zoom); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.GetPresetToursAsync(GetPresetToursRequest request) + { + return base.Channel.GetPresetToursAsync(request); + } + + public System.Threading.Tasks.Task GetPresetToursAsync(string ProfileToken) + { + GetPresetToursRequest inValue = new GetPresetToursRequest(); + inValue.ProfileToken = ProfileToken; + return ((PTZ)(this)).GetPresetToursAsync(inValue); + } + + public System.Threading.Tasks.Task GetPresetTourAsync(string ProfileToken, string PresetTourToken) + { + return base.Channel.GetPresetTourAsync(ProfileToken, PresetTourToken); + } + + public System.Threading.Tasks.Task GetPresetTourOptionsAsync(string ProfileToken, string PresetTourToken) + { + return base.Channel.GetPresetTourOptionsAsync(ProfileToken, PresetTourToken); + } + + public System.Threading.Tasks.Task CreatePresetTourAsync(string ProfileToken) + { + return base.Channel.CreatePresetTourAsync(ProfileToken); + } + + public System.Threading.Tasks.Task ModifyPresetTourAsync(string ProfileToken, PresetTour PresetTour) + { + return base.Channel.ModifyPresetTourAsync(ProfileToken, PresetTour); + } + + public System.Threading.Tasks.Task OperatePresetTourAsync(string ProfileToken, string PresetTourToken, PTZPresetTourOperation Operation) + { + return base.Channel.OperatePresetTourAsync(ProfileToken, PresetTourToken, Operation); + } + + public System.Threading.Tasks.Task RemovePresetTourAsync(string ProfileToken, string PresetTourToken) + { + return base.Channel.RemovePresetTourAsync(ProfileToken, PresetTourToken); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task PTZ.GetCompatibleConfigurationsAsync(GetCompatibleConfigurationsRequest request) + { + return base.Channel.GetCompatibleConfigurationsAsync(request); + } + + public System.Threading.Tasks.Task GetCompatibleConfigurationsAsync(string ProfileToken) + { + GetCompatibleConfigurationsRequest inValue = new GetCompatibleConfigurationsRequest(); + inValue.ProfileToken = ProfileToken; + return ((PTZ)(this)).GetCompatibleConfigurationsAsync(inValue); + } + + public virtual System.Threading.Tasks.Task OpenAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndOpen)); + } + + public virtual System.Threading.Tasks.Task CloseAsync() + { + return System.Threading.Tasks.Task.Factory.FromAsync(((System.ServiceModel.ICommunicationObject)(this)).BeginClose(null, null), new System.Action(((System.ServiceModel.ICommunicationObject)(this)).EndClose)); + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/Constants.cs b/BaseModule/EC.Onvif/RemoteDiscovery/Constants.cs new file mode 100644 index 0000000..43b111a --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/Constants.cs @@ -0,0 +1,27 @@ +namespace EC.Onvif.RemoteDiscovery +{ + public static class Constants + { + public static string WS_MULTICAST_ADDRESS { get; } = "239.255.255.250"; + public static int WS_MULTICAST_PORT { get; } = 3702; + + public static string WS_PROBE_MESSAGE { get; } = + "" + + "" + + "" + + "uuid:{0}" + + "urn:schemas-xmlsoap-org:ws:2005:04:discovery " + + "http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe" + + "" + + "" + + "dn:NetworkVideoTransmitter" + + "" + + ""; + + public static string PATTERN { get; } = @"^((onvif[s]?|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$"; + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/Discovery.cs b/BaseModule/EC.Onvif/RemoteDiscovery/Discovery.cs new file mode 100644 index 0000000..d625b0a --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/Discovery.cs @@ -0,0 +1,187 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Net; +using System.Net.NetworkInformation; +using System.Net.Sockets; +using System.Text; +using System.Text.RegularExpressions; +using System.Threading; +using System.Threading.Tasks; +using System.Xml; +using System.Xml.Serialization; + +namespace EC.Onvif.RemoteDiscovery +{ + public class Discovery + { + #region Discover + + /// + /// Discover new onvif devices on the network + /// + /// A timeout in seconds to wait for onvif devices + /// A cancellation token + /// a list of + /// Use the + /// overload (with an action as a parameter) if you want to retrieve devices as they reply. + public async Task> DiscoverByAdapter(IEnumerable adapterList, + int timeout, CancellationToken cancellationToken = default) + { + List deviceList = new(); + await Discover(adapterList, d => deviceList.Add(d), timeout, cancellationToken); + deviceList.Sort((a, b) => CastIp(a.Address).CompareTo(CastIp(b.Address))); + return deviceList; + } + + /// + /// Discover new onvif devices on the network + /// + /// A timeout in seconds to wait for onvif devices + /// A cancellation token + /// a list of + /// Use the + /// overload (with an action as a parameter) if you want to retrieve devices as they reply. + public async Task> DiscoverAll(int timeout, CancellationToken cancellationToken = default) + { + IEnumerable adapterList = OnvifUdpClient.GetVaildNetworkAdapters(); + IEnumerable deviceList = await DiscoverByAdapter(adapterList, timeout, cancellationToken); + return deviceList; + } + + /// + /// Discover new onvif devices on the network passing a callback + /// to retrieve devices as they reply + /// + /// A method that is called each time a new device replies. + /// A timeout in seconds to wait for onvif devices + /// A cancellation token + /// The Task to be awaited + private async Task Discover(IEnumerable adapterList, Action onDeviceDiscovered, + int timeout, CancellationToken cancellationToken = default) + { + IEnumerable clientList = OnvifUdpClient.CreateClientList(adapterList); + if (!clientList.Any()) + { + throw new Exception("Missing valid NetworkInterfaces, UdpClients could not be created"); + } + Task[] discoveries = clientList.Select(client => Discover(client, onDeviceDiscovered, timeout, cancellationToken)).ToArray(); + await Task.WhenAll(discoveries); + } + + private async Task Discover(OnvifUdpClient client, Action onDeviceDiscovered, int timeout, CancellationToken cancellationToken = default) + { + Guid messageId = Guid.NewGuid(); + List responseList = new(); + CancellationTokenSource cts = new(TimeSpan.FromSeconds(timeout)); + + try + { + await OnvifUdpClient.SendProbe(client, messageId); + while (true) + { + if (client.IsClosed) { return; } + if (cts.IsCancellationRequested || cancellationToken.IsCancellationRequested) { break; } + try + { + UdpReceiveResult response = await client.ReceiveAsync().WithCancellation(cancellationToken).WithCancellation(cts.Token); + if (responseList.Exists(resp => resp.RemoteEndPoint.Address.Equals(response.RemoteEndPoint.Address))) { continue; } + responseList.Add(response); + DiscoveryDevice discoveredDevice = ProcessResponse(response, messageId); + if (discoveredDevice != null) + { + await Task.Run(() => onDeviceDiscovered(discoveredDevice), cancellationToken); + } + } + catch (OperationCanceledException) + { + // Either the user canceled the action or the timeout has fired + } + catch (Exception) + { + // we catch all exceptions ! + // Something might be bad in the response of a camera when call ReceiveAsync (BeginReceive in socket) fail + } + } + } + finally + { + client.Close(); + } + } + + #endregion Discover + + #region Discover Helper + + private DiscoveryDevice ProcessResponse(UdpReceiveResult response, Guid messageId) + { + if (response.Buffer == null) { return null; } + string strResponse = Encoding.UTF8.GetString(response.Buffer); + XmlProbeReponse xmlResponse = DeserializeResponse(strResponse); + if (xmlResponse.Header.RelatesTo.Contains(messageId.ToString()) + && xmlResponse.Body.ProbeMatches.Any() + && !string.IsNullOrEmpty(xmlResponse.Body.ProbeMatches[0].Scopes)) + { + return CreateDevice(xmlResponse.Body.ProbeMatches[0], response.RemoteEndPoint); + } + return null; + } + + private XmlProbeReponse DeserializeResponse(string xml) + { + XmlSerializer serializer = new(typeof(XmlProbeReponse)); + XmlReaderSettings settings = new(); + using StringReader textReader = new(xml); + using XmlReader xmlReader = XmlReader.Create(textReader, settings); + return (XmlProbeReponse)serializer.Deserialize(xmlReader); + } + + private DiscoveryDevice CreateDevice(ProbeMatch probeMatch, IPEndPoint remoteEndpoint) + { + string scopes = probeMatch.Scopes; + DiscoveryDevice discoveryDevice = new(); + discoveryDevice.Address = remoteEndpoint.Address.ToString(); + discoveryDevice.Model = Regex.Match(scopes, "(?<=hardware/).*?(?= )")?.Value; + discoveryDevice.Mfr = ParseMfrFromScopes(scopes); + discoveryDevice.XAdresses = ConvertToList(probeMatch.XAddrs); + discoveryDevice.Types = ConvertToList(probeMatch.Types); + return discoveryDevice; + } + + private string ParseMfrFromScopes(string scopes) + { + string name = Regex.Match(scopes, "(?<=name/).*?(?= )")?.Value; + if (!string.IsNullOrEmpty(name)) { return name; } + string mfr = Regex.Match(scopes, "(?<=mfr/).*?(?= )")?.Value; + if (!string.IsNullOrEmpty(mfr)) { return mfr; } + return string.Empty; + } + + private List ConvertToList(string spacedListString) + { + string[] strings = spacedListString.Split(null); + List list = new(); + strings.ToList().ForEach(str => list.Add(str.Trim())); + return list; + } + + private long CastIp(string ip) + { + byte[] addressBytes = IPAddress.Parse(ip).GetAddressBytes(); + if (addressBytes.Length != 4) + { + return 0; + throw new ArgumentException("Must be an IPv4 address"); + } + uint networkOrder = BitConverter.ToUInt32(addressBytes, 0); + return networkOrder; + //byte[] addressBytes = address.GetAddressBytes(); + //int networkOrder = BitConverter.ToInt32(addressBytes, 0); + //return (uint)IPAddress.NetworkToHostOrder(networkOrder); + } + + #endregion Discover Helper + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/DiscoveryDevice.cs b/BaseModule/EC.Onvif/RemoteDiscovery/DiscoveryDevice.cs new file mode 100644 index 0000000..bcf4d47 --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/DiscoveryDevice.cs @@ -0,0 +1,33 @@ +using System.Collections.Generic; + +namespace EC.Onvif.RemoteDiscovery +{ + public class DiscoveryDevice + { + /// + /// The types of this onvif device. ex: NetworkVideoTransmitter + /// + public List Types { get; internal set; } + + /// + /// The XAddresses of this device, the url on which the device has the webservices. + /// Normally in the form of: http://{IP}:{Port}/onvif/device_service + /// + public List XAdresses { get; internal set; } + + /// + /// The onvif device model + /// + public string Model { get; internal set; } + + /// + /// The device manufacturer + /// + public string Mfr { get; internal set; } + + /// + /// The device IP address + /// + public string Address { get; internal set; } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/ExtensionMethods.cs b/BaseModule/EC.Onvif/RemoteDiscovery/ExtensionMethods.cs new file mode 100644 index 0000000..5b6d3a5 --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/ExtensionMethods.cs @@ -0,0 +1,25 @@ +using System; +using System.Threading; +using System.Threading.Tasks; + +namespace EC.Onvif.RemoteDiscovery +{ + internal static class ExtensionMethods + { + /// + /// Used to provide cancellation possibility to any Async Methods returning a Task + /// + internal static async Task WithCancellation(this Task task, CancellationToken cancellationToken) + { + var tcs = new TaskCompletionSource(); + using (cancellationToken.Register(s => ((TaskCompletionSource)s).TrySetResult(true), tcs)) + { + if (task != await Task.WhenAny(task, tcs.Task)) + { + throw new OperationCanceledException(cancellationToken); + } + } + return await task; + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/OnvifUdpClient.cs b/BaseModule/EC.Onvif/RemoteDiscovery/OnvifUdpClient.cs new file mode 100644 index 0000000..3036f95 --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/OnvifUdpClient.cs @@ -0,0 +1,140 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Net.NetworkInformation; +using System.Net.Sockets; +using System.Text; +using System.Threading.Tasks; + +namespace EC.Onvif.RemoteDiscovery +{ + public class OnvifUdpClient + { + private UdpClient client { get; set; } + + public bool IsClosed { get; set; } + + public OnvifUdpClient(IPEndPoint localpoint) + { + client = new UdpClient(localpoint) + { + EnableBroadcast = true + }; + } + + public async Task SendProbeAsync(Guid messageId, IPEndPoint endPoint) + { + byte[] datagram = NewProbeMessage(messageId); + return await client?.SendAsync(datagram, datagram.Length, endPoint); + } + + public async Task ReceiveAsync() + { + return await client.ReceiveAsync(); + } + + public void Close() + { + client?.Close(); + IsClosed = true; + } + + public static byte[] NewProbeMessage(Guid messageId) + { + if (messageId == Guid.Empty) + { + throw new ArgumentException("messageId could not be Empty"); + } + var probeMessagewithguid = string.Format(Constants.WS_PROBE_MESSAGE, messageId.ToString()); + return Encoding.ASCII.GetBytes(probeMessagewithguid); + } + + #region CreateClient + + public static OnvifUdpClient CreateClient(NetworkInterface adapter) + { + if (!IsValidAdapter(adapter)) { return null; } + + OnvifUdpClient client = null; + IPInterfaceProperties adapterProperties = adapter.GetIPProperties(); + foreach (UnicastIPAddressInformation ua in adapterProperties.UnicastAddresses) + { + if (ua.Address.AddressFamily != AddressFamily.InterNetwork) { continue; } + IPEndPoint myLocalEndPoint = new(ua.Address, 0); // port does not matter + try + { + client = new(myLocalEndPoint); + } + catch (SocketException) + { + throw; + } + break; + } + + return client; + } + + public static IEnumerable CreateClientList(IEnumerable adapterList) + { + List clientList = new(); + foreach (NetworkInterface adapter in adapterList) + { + OnvifUdpClient client = CreateClient(adapter); + if (client != null) { clientList.Add(client); } + } + return clientList; + } + + public static IEnumerable CreateClientList() + { + IEnumerable adapterList = GetVaildNetworkAdapters(); + return CreateClientList(adapterList); + } + + #endregion CreateClient + + #region ClientHelper + + public static List GetNetworkAdapters() + { + NetworkInterface[] nifs = NetworkInterface.GetAllNetworkInterfaces(); + return new(nifs); + } + + public static List GetVaildNetworkAdapters() + { + NetworkInterface[] nifs = NetworkInterface.GetAllNetworkInterfaces(); + List list = new(); + foreach (NetworkInterface nif in nifs) + { + if (IsValidAdapter(nif)) { list.Add(nif); } + } + return list; + } + + public static bool IsValidAdapter(NetworkInterface adapter) + { + // Only select interfaces that are Ethernet type and support IPv4 (important to minimize waiting time) + if (adapter.NetworkInterfaceType != NetworkInterfaceType.Ethernet && + !adapter.NetworkInterfaceType.ToString().ToLower().StartsWith("wireless")) return false; + if (adapter.OperationalStatus == OperationalStatus.Down) { return false; } + if (!adapter.Supports(NetworkInterfaceComponent.IPv4)) { return false; } + return true; + } + + /// + /// 广播 + /// + /// + /// + /// + public static async Task SendProbe(OnvifUdpClient client, Guid messageId) + { + IPEndPoint multicastEndpoint = new(IPAddress.Parse(Constants.WS_MULTICAST_ADDRESS), Constants.WS_MULTICAST_PORT); + await client.SendProbeAsync(messageId, multicastEndpoint); + } + + #endregion ClientHelper + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/RemoteDiscovery/XmlProbeReponse.cs b/BaseModule/EC.Onvif/RemoteDiscovery/XmlProbeReponse.cs new file mode 100644 index 0000000..7611920 --- /dev/null +++ b/BaseModule/EC.Onvif/RemoteDiscovery/XmlProbeReponse.cs @@ -0,0 +1,113 @@ +using System.Xml.Serialization; + +namespace EC.Onvif.RemoteDiscovery +{ + /// + /// The probe response + /// + [XmlRoot("Envelope", Namespace = "http://www.w3.org/2003/05/soap-envelope")] + public class XmlProbeReponse + { + /// + /// The Header of the probe response + /// + [XmlElement(Namespace = "http://www.w3.org/2003/05/soap-envelope")] + public Header Header { get; set; } + + /// + /// The Body of the probe response + /// + [XmlElement(Namespace = "http://www.w3.org/2003/05/soap-envelope")] + public Body Body { get; set; } + } + + /// + /// The Header of the probe response + /// + public class Header + { + /// + /// The message id + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")] + public string MessageID { get; set; } + + /// + /// The message id that relates to + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")] + public string RelatesTo { get; set; } + + /// + /// To + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")] + public string To { get; set; } + + /// + /// App sequence + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public string AppSequence { get; set; } + } + + /// + /// The Body of the probe response + /// + public class Body + { + /// + /// An array of probe matches + /// + [XmlArray(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public ProbeMatch[] ProbeMatches { get; set; } + } + + /// + /// A probe match + /// + public class ProbeMatch + { + /// + /// The endpoint reference + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")] + public EndpointReference EndpointReference { get; set; } + + /// + /// The types + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public string Types { get; set; } + + /// + /// The scopes + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public string Scopes { get; set; } + + /// + /// The XAddrs + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public string XAddrs { get; set; } + + /// + /// The metadata version + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")] + public string MetadataVersion { get; set; } + } + + /// + /// The endpoint reference + /// + public class EndpointReference + { + /// + /// The address + /// + [XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")] + public string Address { get; set; } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Security/SoapSecurityHeader.cs b/BaseModule/EC.Onvif/Security/SoapSecurityHeader.cs new file mode 100644 index 0000000..f6c2066 --- /dev/null +++ b/BaseModule/EC.Onvif/Security/SoapSecurityHeader.cs @@ -0,0 +1,82 @@ +using System; +using System.Security.Cryptography; +using System.ServiceModel.Channels; +using System.Text; +using System.Xml; + +namespace EC.Onvif.Security +{ + public class SoapSecurityHeader : MessageHeader + { + private const string ns_wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; + private readonly string username; + private readonly string password; + private readonly TimeSpan time_shift; + + public override string Name { get; } = "Security"; + public override string Namespace { get; } = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; + + public SoapSecurityHeader(string username, string password, TimeSpan timeShift) + { + this.username = username; + this.password = password; + time_shift = timeShift; + } + + protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion) + { + var nonce = GetNonce(); + var created = DateTime.UtcNow.Add(time_shift).ToString("yyyy-MM-ddTHH:mm:ss.fffZ"); + var nonce_str = Convert.ToBase64String(nonce); + string password_hash = PasswordDigest(nonce, created, password); + + writer.WriteStartElement("UsernameToken"); + + writer.WriteStartElement("Username"); + writer.WriteValue(username); + writer.WriteEndElement(); + + writer.WriteStartElement("Password"); + writer.WriteAttributeString("Type", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest"); + writer.WriteValue(password_hash); + writer.WriteEndElement(); + + writer.WriteStartElement("Nonce"); + writer.WriteAttributeString("EncodingType", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"); + writer.WriteValue(nonce_str); + writer.WriteEndElement(); + + writer.WriteStartElement("Created"); + writer.WriteXmlnsAttribute("", ns_wsu); + writer.WriteValue(created); + writer.WriteEndElement(); + + writer.WriteEndElement(); + } + + protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion) + { + writer.WriteStartElement("", Name, Namespace); + writer.WriteAttributeString("s", "mustUnderstand", "http://www.w3.org/2003/05/soap-envelope", "1"); + writer.WriteXmlnsAttribute("", Namespace); + } + + private string PasswordDigest(byte[] nonce, string created, string secret) + { + byte[] buffer = new byte[nonce.Length + Encoding.ASCII.GetByteCount(created + secret)]; + + nonce.CopyTo(buffer, 0); + Encoding.ASCII.GetBytes(created + password).CopyTo(buffer, nonce.Length); + + return Convert.ToBase64String(SHA1.Create().ComputeHash(buffer)); + } + + private byte[] GetNonce() + { + byte[] nonce = new byte[0x10]; + var generator = new RNGCryptoServiceProvider(); + generator.GetBytes(nonce); + return nonce; + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Security/SoapSecurityHeaderBehavior.cs b/BaseModule/EC.Onvif/Security/SoapSecurityHeaderBehavior.cs new file mode 100644 index 0000000..f84a8dc --- /dev/null +++ b/BaseModule/EC.Onvif/Security/SoapSecurityHeaderBehavior.cs @@ -0,0 +1,42 @@ +using System; +using System.ServiceModel.Channels; +using System.ServiceModel.Description; +using System.ServiceModel.Dispatcher; + +namespace EC.Onvif.Security +{ + public class SoapSecurityHeaderBehavior : IEndpointBehavior + { + private readonly string username; + private readonly string password; + private readonly TimeSpan time_shift; + + public SoapSecurityHeaderBehavior(string username, string password) : this(username, password, TimeSpan.FromMilliseconds(0)) + { + } + + public SoapSecurityHeaderBehavior(string username, string password, TimeSpan timeShift) + { + this.username = username; + this.password = password; + time_shift = timeShift; + } + + public void AddBindingParameters(ServiceEndpoint endpoint, BindingParameterCollection bindingParameters) + { + } + + public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) + { + clientRuntime.ClientMessageInspectors.Add(new SoapSecurityHeaderInspector(username, password, time_shift)); + } + + public void ApplyDispatchBehavior(ServiceEndpoint endpoint, EndpointDispatcher endpointDispatcher) + { + } + + public void Validate(ServiceEndpoint endpoint) + { + } + } +} \ No newline at end of file diff --git a/BaseModule/EC.Onvif/Security/SoapSecurityHeaderInspector.cs b/BaseModule/EC.Onvif/Security/SoapSecurityHeaderInspector.cs new file mode 100644 index 0000000..83bebf5 --- /dev/null +++ b/BaseModule/EC.Onvif/Security/SoapSecurityHeaderInspector.cs @@ -0,0 +1,32 @@ +using System; +using System.ServiceModel; +using System.ServiceModel.Channels; +using System.ServiceModel.Dispatcher; + +namespace EC.Onvif.Security +{ + public class SoapSecurityHeaderInspector : IClientMessageInspector + { + private readonly string username; + private readonly string password; + private readonly TimeSpan time_shift; + + public SoapSecurityHeaderInspector(string username, string password, TimeSpan timeShift) + { + this.username = username; + this.password = password; + time_shift = timeShift; + } + + public void AfterReceiveReply(ref Message reply, object correlationState) + { + } + + public object BeforeSendRequest(ref Message request, IClientChannel channel) + { + request.Headers.Add(new SoapSecurityHeader(username, password, time_shift)); + + return null; + } + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.Entity/Base/DictBase.cs b/BusinessModule/EC.App.Entity/Base/DictBase.cs new file mode 100644 index 0000000..82fed6e --- /dev/null +++ b/BusinessModule/EC.App.Entity/Base/DictBase.cs @@ -0,0 +1,42 @@ +using System.Collections.Generic; + +namespace EC.App.Entity.Base +{ + public class DictBase + { + private Dictionary Dict { get; } = new(); + + public DictBase() + { } + + #region Operate + + public bool TryAdd(K key, V value) + { + return Dict.TryAdd(key, value); + } + + public bool Remove(K key) + { + return Dict.Remove(key); + } + + public bool TryUpdate(K key, V value) + { + Remove(key); + return TryAdd(key, value); + } + + public bool TryGet(K key, out V value) + { + return Dict.TryGetValue(key, out value); + } + + public bool IsExist(K key) + { + return Dict.ContainsKey(key); + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.Entity/EC.App.Entity.csproj b/BusinessModule/EC.App.Entity/EC.App.Entity.csproj new file mode 100644 index 0000000..48299d2 --- /dev/null +++ b/BusinessModule/EC.App.Entity/EC.App.Entity.csproj @@ -0,0 +1,11 @@ + + + + net5.0 + + + + + + + diff --git a/BusinessModule/EC.App.Entity/Onvif/OnvifClientDict.cs b/BusinessModule/EC.App.Entity/Onvif/OnvifClientDict.cs new file mode 100644 index 0000000..3396997 --- /dev/null +++ b/BusinessModule/EC.App.Entity/Onvif/OnvifClientDict.cs @@ -0,0 +1,9 @@ +using EC.App.Entity.Base; +using EC.Onvif; + +namespace EC.App.Entity.Onvif +{ + public class OnvifClientDict : DictBase + { + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/EC.App.ThatBLL.csproj b/BusinessModule/EC.App.ThatBLL/EC.App.ThatBLL.csproj new file mode 100644 index 0000000..61a6cd4 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/EC.App.ThatBLL.csproj @@ -0,0 +1,13 @@ + + + + net5.0 + + + + + + + + + diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/CurdBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/CurdBLL.cs new file mode 100644 index 0000000..eafb866 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/CurdBLL.cs @@ -0,0 +1,50 @@ +using EC.App.Entity.Onvif; +using EC.App.ThatBLL.Onvif.Impl; +using EC.Onvif; +using System.Threading.Tasks; + +namespace EC.App.ThatBLL.Onvif +{ + public class CurdBLL : ICurdBLL + { + private readonly OnvifClientService _ocService; + + public CurdBLL(OnvifClientService onvifClientService) + { + _ocService = onvifClientService; + } + + #region Operate + + public async Task Add(string ip, string username, string password) + { + bool flag = !_ocService.IsExist(ip); + if (!flag) { return false; } + OnvifClient onvifClient = new OnvifClient(ip, username, password); + await onvifClient.InitAsync(); + bool ret = _ocService.TryAdd(ip, onvifClient); + return ret; + } + + public bool Remove(string ip) + { + bool ret = _ocService.Remove(ip); + return ret; + } + + public async Task Update(string ip, string username, string password) + { + Remove(ip); + bool ret = await Add(ip, username, password); + return ret; + } + + public bool IsExist(string ip) + { + bool ret = _ocService.IsExist(ip); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/DeviceBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/DeviceBLL.cs new file mode 100644 index 0000000..da36807 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/DeviceBLL.cs @@ -0,0 +1,27 @@ +using EC.App.Entity.Onvif; +using EC.App.ThatBLL.Onvif.Impl; +using EC.Onvif; + +namespace EC.App.ThatBLL.Onvif +{ + public class DeviceBLL : IDeviceBLL + { + private readonly OnvifClientService _ocService; + + public DeviceBLL(OnvifClientService onvifClientService) + { + _ocService = onvifClientService; + } + + #region Operate + + public bool IsConnected(string ip) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + bool ret = flag && onvifClient.IsDeviceContected(); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/ImagingBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/ImagingBLL.cs new file mode 100644 index 0000000..161d63d --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/ImagingBLL.cs @@ -0,0 +1,27 @@ +using EC.App.Entity.Onvif; +using EC.App.ThatBLL.Onvif.Impl; +using EC.Onvif; + +namespace EC.App.ThatBLL.Onvif +{ + public class ImagingBLL : IImagingBLL + { + private readonly OnvifClientService _ocService; + + public ImagingBLL(OnvifClientService onvifClientService) + { + _ocService = onvifClientService; + } + + #region Operate + + public bool IsConnected(string ip) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + bool ret = flag && onvifClient.IsImagingContected(); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/Impl/ICurdBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/ICurdBLL.cs new file mode 100644 index 0000000..8c611f2 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/ICurdBLL.cs @@ -0,0 +1,21 @@ +using EC.App.Core; +using Furion.DependencyInjection; +using System.Threading.Tasks; + +namespace EC.App.ThatBLL.Onvif.Impl +{ + public interface ICurdBLL : IBLL, ISingleton + { + #region Operate + + Task Add(string ip, string username, string password); + + bool Remove(string ip); + + Task Update(string ip, string username, string password); + + bool IsExist(string ip); + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IDeviceBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IDeviceBLL.cs new file mode 100644 index 0000000..ea49f6f --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IDeviceBLL.cs @@ -0,0 +1,19 @@ +using EC.App.Core; +using Furion.DependencyInjection; + +namespace EC.App.ThatBLL.Onvif.Impl +{ + public interface IDeviceBLL : IBLL, ISingleton + { + #region Operate + + /// + /// 是否连接 + /// + /// + /// + bool IsConnected(string ip); + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IImagingBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IImagingBLL.cs new file mode 100644 index 0000000..e18d352 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IImagingBLL.cs @@ -0,0 +1,19 @@ +using EC.App.Core; +using Furion.DependencyInjection; + +namespace EC.App.ThatBLL.Onvif.Impl +{ + public interface IImagingBLL : IBLL, ISingleton + { + #region Operate + + /// + /// 是否连接 + /// + /// + /// + bool IsConnected(string ip); + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IMediaBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IMediaBLL.cs new file mode 100644 index 0000000..0a5fb23 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IMediaBLL.cs @@ -0,0 +1,19 @@ +using EC.App.Core; +using Furion.DependencyInjection; + +namespace EC.App.ThatBLL.Onvif.Impl +{ + public interface IMediaBLL : IBLL, ISingleton + { + #region Operate + + /// + /// 是否连接 + /// + /// + /// + bool IsConnected(string ip); + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IPTZBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IPTZBLL.cs new file mode 100644 index 0000000..bf4e3cc --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/Impl/IPTZBLL.cs @@ -0,0 +1,61 @@ +using EC.App.Core; +using Furion.DependencyInjection; +using System.Threading.Tasks; + +namespace EC.App.ThatBLL.Onvif.Impl +{ + public interface IPTZBLL : IBLL, ISingleton + { + #region Operate + + /// + /// 是否连接 + /// + /// + /// + bool IsConnected(string ip); + + #endregion Operate + + #region Move + + /// + /// 绝对移动 + /// + /// + /// + /// + /// + /// + Task AbsoluteMove(string ip, float pan, float tilt, float zoom); + + /// + /// 相对移动 + /// + /// + /// + /// + /// + /// + Task RelativeMove(string ip, float pan, float tilt, float zoom); + + /// + /// 持续移动 + /// + /// + /// + /// + /// + /// + Task ContinuousMove(string ip, float pan, float tilt, float zoom); + + /// + /// 停止移动 + /// + /// + /// + Task StopMove(string ip); + + #endregion Move + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/MediaBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/MediaBLL.cs new file mode 100644 index 0000000..5f07339 --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/MediaBLL.cs @@ -0,0 +1,27 @@ +using EC.App.Entity.Onvif; +using EC.App.ThatBLL.Onvif.Impl; +using EC.Onvif; + +namespace EC.App.ThatBLL.Onvif +{ + public class MediaBLL : IMediaBLL + { + private readonly OnvifClientService _ocService; + + public MediaBLL(OnvifClientService onvifClientService) + { + _ocService = onvifClientService; + } + + #region Operate + + public bool IsConnected(string ip) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + bool ret = flag && onvifClient.IsMediaContected(); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatBLL/Onvif/PTZBLL.cs b/BusinessModule/EC.App.ThatBLL/Onvif/PTZBLL.cs new file mode 100644 index 0000000..9a2983e --- /dev/null +++ b/BusinessModule/EC.App.ThatBLL/Onvif/PTZBLL.cs @@ -0,0 +1,64 @@ +using EC.App.Entity.Onvif; +using EC.App.ThatBLL.Onvif.Impl; +using EC.Onvif; +using System.Threading.Tasks; + +namespace EC.App.ThatBLL.Onvif +{ + public class PTZBLL : IPTZBLL + { + private readonly OnvifClientService _ocService; + + public PTZBLL(OnvifClientService onvifClientService) + { + _ocService = onvifClientService; + } + + #region Operate + + public bool IsConnected(string ip) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + bool ret = flag && onvifClient.IsPTZContected(); + return ret; + } + + #endregion Operate + + #region Move + + public async Task AbsoluteMove(string ip, float pan, float tilt, float zoom) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + if (!flag) return false; + await onvifClient.AbsoluteMoveAsync(pan, tilt, zoom); + return true; + } + + public async Task RelativeMove(string ip, float pan, float tilt, float zoom) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + if (!flag) return false; + await onvifClient.RelativeMoveAsync(pan, tilt, zoom); + return true; + } + + public async Task ContinuousMove(string ip, float pan, float tilt, float zoom) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + if (!flag) return false; + await onvifClient.ContinuousMoveAsync(pan, tilt, zoom); + return true; + } + + public async Task StopMove(string ip) + { + bool flag = _ocService.TryGet(ip, out OnvifClient onvifClient); + if (!flag) return false; + await onvifClient.StopMoveAsync(); + return true; + } + + #endregion Move + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatService/EC.App.ThatService.csproj b/BusinessModule/EC.App.ThatService/EC.App.ThatService.csproj new file mode 100644 index 0000000..38af50b --- /dev/null +++ b/BusinessModule/EC.App.ThatService/EC.App.ThatService.csproj @@ -0,0 +1,13 @@ + + + + net5.0 + + + + + + + + + diff --git a/BusinessModule/EC.App.ThatService/Onvif/Impl/IOnvifClientService.cs b/BusinessModule/EC.App.ThatService/Onvif/Impl/IOnvifClientService.cs new file mode 100644 index 0000000..440d3d1 --- /dev/null +++ b/BusinessModule/EC.App.ThatService/Onvif/Impl/IOnvifClientService.cs @@ -0,0 +1,9 @@ +using EC.App.Core; +using Furion.DependencyInjection; + +namespace EC.App.ThatService.Onvif.Impl +{ + public interface IOnvifClientService : IService, ISingleton + { + } +} \ No newline at end of file diff --git a/BusinessModule/EC.App.ThatService/Onvif/OnvifClientService.cs b/BusinessModule/EC.App.ThatService/Onvif/OnvifClientService.cs new file mode 100644 index 0000000..56bb6b8 --- /dev/null +++ b/BusinessModule/EC.App.ThatService/Onvif/OnvifClientService.cs @@ -0,0 +1,44 @@ +using EC.App.ThatService.Onvif.Impl; +using EC.Onvif; + +namespace EC.App.Entity.Onvif +{ + public class OnvifClientService : IOnvifClientService + { + private readonly OnvifClientDict _dict = new OnvifClientDict(); + + public OnvifClientService() + { + } + + public bool TryAdd(string key, OnvifClient value) + { + bool ret = _dict.TryAdd(key, value); + return ret; + } + + public bool Remove(string key) + { + bool ret = _dict.Remove(key); + return ret; + } + + public bool TryUpdate(string key, OnvifClient value) + { + bool ret = _dict.TryUpdate(key, value); + return ret; + } + + public bool TryGet(string key, out OnvifClient value) + { + bool ret = _dict.TryGet(key, out value); + return ret; + } + + public bool IsExist(string key) + { + bool ret = _dict.IsExist(key); + return ret; + } + } +} \ No newline at end of file diff --git a/OnvifServer-CSharp.sln b/OnvifServer-CSharp.sln new file mode 100644 index 0000000..dcc0df0 --- /dev/null +++ b/OnvifServer-CSharp.sln @@ -0,0 +1,72 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.32014.148 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnvifWebServer", "OnvifWebServer\OnvifWebServer.csproj", "{6932E7F3-56E3-4AA5-898C-1C814D53C5F6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnvifSocketServer", "OnvifSocketServer\OnvifSocketServer.csproj", "{2CC43390-1870-475A-B2F1-5F66C17E27B5}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BaseModule", "BaseModule", "{8D6DAF0C-45FB-4650-8F4F-A63283D32F75}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BusinessModule", "BusinessModule", "{BE926C07-70B6-48E6-9A09-8089AC72DB52}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EC.Onvif", "BaseModule\EC.Onvif\EC.Onvif.csproj", "{94728605-7159-40DD-861C-4D1B9E8DEA00}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EC.App.Entity", "BusinessModule\EC.App.Entity\EC.App.Entity.csproj", "{2B89CB02-BA09-4140-A3BF-5A02109C080C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EC.App", "BaseModule\EC.App\EC.App.csproj", "{7AE950D5-1982-4D76-94F5-A38347AE8263}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EC.App.ThatBLL", "BusinessModule\EC.App.ThatBLL\EC.App.ThatBLL.csproj", "{D1528FA0-E88B-483A-932C-A682BDD4FF98}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EC.App.ThatService", "BusinessModule\EC.App.ThatService\EC.App.ThatService.csproj", "{EE03CCDB-A280-477B-86FF-B6918169FCDA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6932E7F3-56E3-4AA5-898C-1C814D53C5F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6932E7F3-56E3-4AA5-898C-1C814D53C5F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6932E7F3-56E3-4AA5-898C-1C814D53C5F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6932E7F3-56E3-4AA5-898C-1C814D53C5F6}.Release|Any CPU.Build.0 = Release|Any CPU + {2CC43390-1870-475A-B2F1-5F66C17E27B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2CC43390-1870-475A-B2F1-5F66C17E27B5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2CC43390-1870-475A-B2F1-5F66C17E27B5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2CC43390-1870-475A-B2F1-5F66C17E27B5}.Release|Any CPU.Build.0 = Release|Any CPU + {94728605-7159-40DD-861C-4D1B9E8DEA00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94728605-7159-40DD-861C-4D1B9E8DEA00}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94728605-7159-40DD-861C-4D1B9E8DEA00}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94728605-7159-40DD-861C-4D1B9E8DEA00}.Release|Any CPU.Build.0 = Release|Any CPU + {2B89CB02-BA09-4140-A3BF-5A02109C080C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2B89CB02-BA09-4140-A3BF-5A02109C080C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B89CB02-BA09-4140-A3BF-5A02109C080C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2B89CB02-BA09-4140-A3BF-5A02109C080C}.Release|Any CPU.Build.0 = Release|Any CPU + {7AE950D5-1982-4D76-94F5-A38347AE8263}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7AE950D5-1982-4D76-94F5-A38347AE8263}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7AE950D5-1982-4D76-94F5-A38347AE8263}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7AE950D5-1982-4D76-94F5-A38347AE8263}.Release|Any CPU.Build.0 = Release|Any CPU + {D1528FA0-E88B-483A-932C-A682BDD4FF98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D1528FA0-E88B-483A-932C-A682BDD4FF98}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D1528FA0-E88B-483A-932C-A682BDD4FF98}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D1528FA0-E88B-483A-932C-A682BDD4FF98}.Release|Any CPU.Build.0 = Release|Any CPU + {EE03CCDB-A280-477B-86FF-B6918169FCDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE03CCDB-A280-477B-86FF-B6918169FCDA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE03CCDB-A280-477B-86FF-B6918169FCDA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE03CCDB-A280-477B-86FF-B6918169FCDA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {94728605-7159-40DD-861C-4D1B9E8DEA00} = {8D6DAF0C-45FB-4650-8F4F-A63283D32F75} + {2B89CB02-BA09-4140-A3BF-5A02109C080C} = {BE926C07-70B6-48E6-9A09-8089AC72DB52} + {7AE950D5-1982-4D76-94F5-A38347AE8263} = {8D6DAF0C-45FB-4650-8F4F-A63283D32F75} + {D1528FA0-E88B-483A-932C-A682BDD4FF98} = {BE926C07-70B6-48E6-9A09-8089AC72DB52} + {EE03CCDB-A280-477B-86FF-B6918169FCDA} = {BE926C07-70B6-48E6-9A09-8089AC72DB52} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {94E890EB-BBFB-4C67-9A75-EF7217F2E82B} + EndGlobalSection +EndGlobal diff --git a/OnvifSocketServer/OnvifSocketServer.csproj b/OnvifSocketServer/OnvifSocketServer.csproj new file mode 100644 index 0000000..2082704 --- /dev/null +++ b/OnvifSocketServer/OnvifSocketServer.csproj @@ -0,0 +1,8 @@ + + + + Exe + net5.0 + + + diff --git a/OnvifSocketServer/Program.cs b/OnvifSocketServer/Program.cs new file mode 100644 index 0000000..cd939c9 --- /dev/null +++ b/OnvifSocketServer/Program.cs @@ -0,0 +1,12 @@ +using System; + +namespace OnvifSocketServer +{ + internal class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello World!"); + } + } +} diff --git a/OnvifWebServer/Controllers/Onvif/CurdController.cs b/OnvifWebServer/Controllers/Onvif/CurdController.cs new file mode 100644 index 0000000..b695223 --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/CurdController.cs @@ -0,0 +1,90 @@ +using EC.App.Core; +using EC.App.ThatBLL.Onvif.Impl; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System.ComponentModel.DataAnnotations; +using System.Threading.Tasks; + +namespace OnvifWebServer.Controllers.Onvif +{ + /// + /// Onvif 增删改查 + /// + [Route("onvif/[controller]")] + [ApiDescriptionSettings("Onvif")] + public class CurdController : ApiController + { + private readonly ICurdBLL _curdBLL; + + /// + /// + /// + /// + public CurdController(ICurdBLL curdBLL) + { + _curdBLL = curdBLL; + } + + #region Operate + + /// + /// 添加 onvif + /// + /// IP地址 + /// 用户名 + /// 密码 + /// + [HttpPost] + public async Task Add( + [Required][DataValidation(ValidationTypes.IPv4)] string ip, + [Required] string username, [Required] string password) + { + bool ret = await _curdBLL.Add(ip, username, password); + return ret; + } + + /// + /// 移除 onvif + /// + /// IP地址 + /// + [HttpGet] + public bool Remove( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _curdBLL.Remove(ip); + return ret; + } + + /// + /// 更新 onvif + /// + /// IP地址 + /// 用户名 + /// 密码 + /// + [HttpPost] + public async Task Update( + [Required][DataValidation(ValidationTypes.IPv4)] string ip, + [Required] string username, [Required] string password) + { + bool ret = await _curdBLL.Update(ip, username, password); + return ret; + } + + /// + /// 是否存在 onvif + /// + /// IP地址 + /// + [HttpGet] + public bool IsExist( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _curdBLL.IsExist(ip); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/OnvifWebServer/Controllers/Onvif/DeviceController.cs b/OnvifWebServer/Controllers/Onvif/DeviceController.cs new file mode 100644 index 0000000..1504594 --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/DeviceController.cs @@ -0,0 +1,44 @@ +using EC.App.Core; +using EC.App.ThatBLL.Onvif.Impl; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System.ComponentModel.DataAnnotations; + +namespace OnvifWebServer.Controllers.Onvif +{ + /// + /// Onvif 设备参数控制 + /// + [Route("onvif/[controller]")] + [ApiDescriptionSettings("Onvif")] + public class DeviceController : ApiController + { + private readonly IDeviceBLL _deviceBLL; + + /// + /// + /// + /// + public DeviceController(IDeviceBLL deviceBLL) + { + this._deviceBLL = deviceBLL; + } + + #region Operate + + /// + /// 是否连接 + /// + /// + /// + [HttpGet] + public bool IsConnected( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _deviceBLL.IsConnected(ip); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/OnvifWebServer/Controllers/Onvif/ImagingController.cs b/OnvifWebServer/Controllers/Onvif/ImagingController.cs new file mode 100644 index 0000000..62e14c2 --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/ImagingController.cs @@ -0,0 +1,44 @@ +using EC.App.Core; +using EC.App.ThatBLL.Onvif.Impl; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System.ComponentModel.DataAnnotations; + +namespace OnvifWebServer.Controllers.Onvif +{ + /// + /// Onvif 成像参数控制 + /// + [Route("onvif/[controller]")] + [ApiDescriptionSettings("Onvif")] + public class ImagingController : ApiController + { + private readonly IImagingBLL _imagingBLL; + + /// + /// + /// + /// + public ImagingController(IImagingBLL imagingBLL) + { + this._imagingBLL = imagingBLL; + } + + #region Operate + + /// + /// 是否连接 + /// + /// + /// + [HttpGet] + public bool IsConnected( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _imagingBLL.IsConnected(ip); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/OnvifWebServer/Controllers/Onvif/MediaController.cs b/OnvifWebServer/Controllers/Onvif/MediaController.cs new file mode 100644 index 0000000..40c827e --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/MediaController.cs @@ -0,0 +1,44 @@ +using EC.App.Core; +using EC.App.ThatBLL.Onvif.Impl; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System.ComponentModel.DataAnnotations; + +namespace OnvifWebServer.Controllers.Onvif +{ + /// + /// Onvif 媒体参数控制 + /// + [Route("onvif/[controller]")] + [ApiDescriptionSettings("Onvif")] + public class MediaController : ApiController + { + private readonly IMediaBLL _mediaBLL; + + /// + /// + /// + /// + public MediaController(IMediaBLL mediaBLL) + { + this._mediaBLL = mediaBLL; + } + + #region Operate + + /// + /// 是否连接 + /// + /// + /// + [HttpGet] + public bool IsConnected( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _mediaBLL.IsConnected(ip); + return ret; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/OnvifWebServer/Controllers/Onvif/PTZController.cs b/OnvifWebServer/Controllers/Onvif/PTZController.cs new file mode 100644 index 0000000..b00dd9d --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/PTZController.cs @@ -0,0 +1,110 @@ +using EC.App.Core; +using EC.App.ThatBLL.Onvif.Impl; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System.ComponentModel.DataAnnotations; +using System.Threading.Tasks; + +namespace OnvifWebServer.Controllers.Onvif +{ + /// + /// Onvif 移动参数控制 + /// + [Route("onvif/[controller]")] + [ApiDescriptionSettings("Onvif")] + public class PTZController : ApiController + { + private readonly IPTZBLL _ptzBLL; + + /// + /// + /// + /// + public PTZController(IPTZBLL ptzBLL) + { + this._ptzBLL = ptzBLL; + } + + #region Operate + + /// + /// 是否连接 + /// + /// + /// + [HttpGet] + public bool IsConnected( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = _ptzBLL.IsConnected(ip); + return ret; + } + + #endregion Operate + + #region Move + + /// + /// 绝对移动 + /// + /// IP地址 + /// 水平方向移动绝对点 + /// 垂直方向移动绝对点 + /// 变焦绝对点 + /// + [HttpGet] + public async Task AbsoluteMove( + [DataValidation(ValidationTypes.IPv4)] string ip, + [Required] float pan, [Required] float tilt, [Required] float zoom) + { + bool ret = await _ptzBLL.AbsoluteMove(ip, pan, tilt, zoom); + return ret; + } + + /// + /// 绝对移动 + /// + /// IP地址 + /// 水平方向移动绝对点 + /// 垂直方向移动绝对点 + /// 变焦绝对点 + [HttpGet] + public async Task RelativeMove( + [DataValidation(ValidationTypes.IPv4)] string ip, + [Required] float pan, [Required] float tilt, [Required] float zoom) + { + bool ret = await _ptzBLL.RelativeMove(ip, pan, tilt, zoom); + return ret; + } + + /// + /// 持续移动 + /// + /// IP地址 + /// 水平方向移动绝对点 + /// 垂直方向移动绝对点 + /// 变焦绝对点 + [HttpGet] + public async Task ContinuousMove( + [DataValidation(ValidationTypes.IPv4)] string ip, + [Required] float pan, [Required] float tilt, [Required] float zoom) + { + bool ret = await _ptzBLL.ContinuousMove(ip, pan, tilt, zoom); + return ret; + } + + /// + /// 停止移动 + /// + /// IP地址 + [HttpGet] + public async Task StopMove( + [Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + bool ret = await _ptzBLL.StopMove(ip); + return ret; + } + + #endregion Move + } +} \ No newline at end of file diff --git a/OnvifWebServer/Controllers/Onvif/TestController.cs b/OnvifWebServer/Controllers/Onvif/TestController.cs new file mode 100644 index 0000000..0d2d658 --- /dev/null +++ b/OnvifWebServer/Controllers/Onvif/TestController.cs @@ -0,0 +1,40 @@ +using EC.App.Core; +using Furion.DataValidation; +using Microsoft.AspNetCore.Mvc; +using System; +using System.ComponentModel.DataAnnotations; + +namespace OnvifWebServer.Controllers.Onvif +{ + [Route("test/[controller]")] + [ApiDescriptionSettings("Test")] + public class TestController : ApiController + { + public TestController() + { + } + + #region Operate + + [HttpGet] + public string TestString(string ip) + { + return ip; + } + + [HttpGet] + public string TestValid([Required][DataValidation(ValidationTypes.IPv4)] string ip) + { + return ip; + } + + [HttpGet] + public string TestException(string ip) + { + throw new Exception("test"); + return ip; + } + + #endregion Operate + } +} \ No newline at end of file diff --git a/OnvifWebServer/Extensions/RESTfulResultProvider.cs b/OnvifWebServer/Extensions/RESTfulResultProvider.cs new file mode 100644 index 0000000..82579eb --- /dev/null +++ b/OnvifWebServer/Extensions/RESTfulResultProvider.cs @@ -0,0 +1,103 @@ +using Furion; +using Furion.DataValidation; +using Furion.DependencyInjection; +using Furion.UnifyResult; +using Furion.UnifyResult.Internal; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.Filters; +using System; +using System.Threading.Tasks; + +namespace OnvifWebServer.Extensions +{ + /// + /// RESTful 风格返回值 + /// + [SuppressSniffer, UnifyModel(typeof(RESTfulResult<>))] + public class RESTfulResultProvider : IUnifyResultProvider + { + /// + /// 异常返回值 + /// + /// + /// + /// + public IActionResult OnException(ExceptionContext context, ExceptionMetadata metadata) + { + return new JsonResult(RESTfulResult(metadata.StatusCode, errors: metadata.Errors)); + } + + /// + /// 成功返回值 + /// + /// + /// + /// + public IActionResult OnSucceeded(ActionExecutedContext context, object data) + { + return new JsonResult(RESTfulResult(StatusCodes.Status200OK, true, data)); + } + + /// + /// 验证失败返回值 + /// + /// + /// + /// + public IActionResult OnValidateFailed(ActionExecutingContext context, ValidationMetadata metadata) + { + return new JsonResult(RESTfulResult(StatusCodes.Status400BadRequest, errors: metadata.ValidationResult)); + } + + /// + /// 特定状态码返回值 + /// + /// + /// + /// + /// + public async Task OnResponseStatusCodes(HttpContext context, int statusCode, UnifyResultSettingsOptions unifyResultSettings) + { + // 设置响应状态码 + UnifyContext.SetResponseStatusCodes(context, statusCode, unifyResultSettings); + + switch (statusCode) + { + // 处理 401 状态码 + case StatusCodes.Status401Unauthorized: + await context.Response.WriteAsJsonAsync(RESTfulResult(statusCode, errors: "401 Unauthorized") + , App.GetOptions()?.JsonSerializerOptions); + break; + // 处理 403 状态码 + case StatusCodes.Status403Forbidden: + await context.Response.WriteAsJsonAsync(RESTfulResult(statusCode, errors: "403 Forbidden") + , App.GetOptions()?.JsonSerializerOptions); + break; + + default: break; + } + } + + /// + /// 返回 RESTful 风格结果集 + /// + /// + /// + /// + /// + /// + private static RESTfulResult RESTfulResult(int statusCode, bool succeeded = default, object data = default, object errors = default) + { + return new RESTfulResult + { + StatusCode = statusCode, + Succeeded = succeeded, + Data = data, + Errors = errors, + Extras = UnifyContext.Take(), + Timestamp = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds() + }; + } + } +} \ No newline at end of file diff --git a/OnvifWebServer/OnvifWebServer.csproj b/OnvifWebServer/OnvifWebServer.csproj new file mode 100644 index 0000000..03b94dd --- /dev/null +++ b/OnvifWebServer/OnvifWebServer.csproj @@ -0,0 +1,19 @@ + + + + net5.0 + zh-Hans + True + 6.0 + + + + + + + + + + + + diff --git a/OnvifWebServer/Program.cs b/OnvifWebServer/Program.cs new file mode 100644 index 0000000..6db76d3 --- /dev/null +++ b/OnvifWebServer/Program.cs @@ -0,0 +1,22 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Hosting; + +namespace OnvifWebServer +{ + public class Program + { + public static void Main(string[] args) + { + CreateHostBuilder(args).Build().Run(); + } + + public static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder + .Inject() // һ + .UseStartup(); + }); + } +} \ No newline at end of file diff --git a/OnvifWebServer/Properties/launchSettings.json b/OnvifWebServer/Properties/launchSettings.json new file mode 100644 index 0000000..0006c7d --- /dev/null +++ b/OnvifWebServer/Properties/launchSettings.json @@ -0,0 +1,29 @@ +{ + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:37315", + "sslPort": 44355 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "OnvifWebServer": { + "commandName": "Project", + "dotnetRunMessages": "true", + "launchBrowser": true, + "applicationUrl": "https://localhost:5001;http://localhost:5000", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} \ No newline at end of file diff --git a/OnvifWebServer/Startup.cs b/OnvifWebServer/Startup.cs new file mode 100644 index 0000000..7e71201 --- /dev/null +++ b/OnvifWebServer/Startup.cs @@ -0,0 +1,48 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using OnvifWebServer.Extensions; + +namespace OnvifWebServer +{ + public class Startup + { + public Startup(IConfiguration configuration) + { + Configuration = configuration; + } + + public IConfiguration Configuration { get; } + + // This method gets called by the runtime. Use this method to add services to the container. + public void ConfigureServices(IServiceCollection services) + { + services.AddControllers().AddInject().AddUnifyResult(); // AddInject(); + } + + // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + public void Configure(IApplicationBuilder app, IWebHostEnvironment env) + { + if (env.IsDevelopment()) + { + app.UseDeveloperExceptionPage(); + } + + app.UseHttpsRedirection(); + + app.UseRouting(); + + app.UseAuthorization(); + + // һУ MVCAPIĿ string.Empty + app.UseInject(string.Empty); + + app.UseEndpoints(endpoints => + { + endpoints.MapControllers(); + }); + } + } +} \ No newline at end of file diff --git a/OnvifWebServer/appsettings.Development.json b/OnvifWebServer/appsettings.Development.json new file mode 100644 index 0000000..71cfa98 --- /dev/null +++ b/OnvifWebServer/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + } +} \ No newline at end of file diff --git a/OnvifWebServer/appsettings.json b/OnvifWebServer/appsettings.json new file mode 100644 index 0000000..d031b3e --- /dev/null +++ b/OnvifWebServer/appsettings.json @@ -0,0 +1,20 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft": "Warning", + "Microsoft.Hosting.Lifetime": "Information" + } + }, + "AllowedHosts": "*", + // https://dotnetchina.gitee.io/furion/docs/settings/appsettings + "AppSettings": { + "InjectSpecificationDocument": true // Ƿ swagger + }, + "DynamicApiControllerSettings": { + "KeepName": true, // Ƿ񱣳ԭƲ + "KeepVerb": true, // Ƿν + "LowercaseRoute": false, //ǷСд· + "UrlParameterization": true // + } +} \ No newline at end of file