using EC.Helper.Onvif.Common; namespace EC.Helper.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)); } }