forked from fajiao/OnvifServer-CSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
725 lines
27 KiB
725 lines
27 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
//
|
|
// 对此文件的更改可能导致不正确的行为,并在以下条件下丢失:
|
|
// 代码重新生成。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace EC.Onvif.Discovery
|
|
{
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.onvif.org/ver10/network/wsdl", ConfigurationName= "EC.Onvif.Discovery.RemoteDiscoveryPort")]
|
|
public interface RemoteDiscoveryPort
|
|
{
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Hello", ReplyAction="*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
HelloResponse Hello(HelloRequest request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Hello", ReplyAction="*")]
|
|
System.Threading.Tasks.Task<HelloResponse> HelloAsync(HelloRequest request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Bye", ReplyAction="*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
ByeResponse Bye(ByeRequest request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Bye", ReplyAction="*")]
|
|
System.Threading.Tasks.Task<ByeResponse> ByeAsync(ByeRequest request);
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class EndpointReferenceType
|
|
{
|
|
|
|
private AttributedURI addressField;
|
|
|
|
private ReferencePropertiesType referencePropertiesField;
|
|
|
|
private ReferenceParametersType referenceParametersField;
|
|
|
|
private AttributedQName portTypeField;
|
|
|
|
private ServiceNameType serviceNameField;
|
|
|
|
private System.Xml.XmlElement[] anyField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=0)]
|
|
public AttributedURI Address
|
|
{
|
|
get
|
|
{
|
|
return this.addressField;
|
|
}
|
|
set
|
|
{
|
|
this.addressField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
|
|
public ReferencePropertiesType ReferenceProperties
|
|
{
|
|
get
|
|
{
|
|
return this.referencePropertiesField;
|
|
}
|
|
set
|
|
{
|
|
this.referencePropertiesField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
|
|
public ReferenceParametersType ReferenceParameters
|
|
{
|
|
get
|
|
{
|
|
return this.referenceParametersField;
|
|
}
|
|
set
|
|
{
|
|
this.referenceParametersField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
|
|
public AttributedQName PortType
|
|
{
|
|
get
|
|
{
|
|
return this.portTypeField;
|
|
}
|
|
set
|
|
{
|
|
this.portTypeField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
|
|
public ServiceNameType ServiceName
|
|
{
|
|
get
|
|
{
|
|
return this.serviceNameField;
|
|
}
|
|
set
|
|
{
|
|
this.serviceNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute(Order=5)]
|
|
public System.Xml.XmlElement[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class AttributedURI
|
|
{
|
|
|
|
private string valueField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute(DataType="anyURI")]
|
|
public string Value
|
|
{
|
|
get
|
|
{
|
|
return this.valueField;
|
|
}
|
|
set
|
|
{
|
|
this.valueField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public partial class ProbeMatchType
|
|
{
|
|
|
|
private EndpointReferenceType endpointReferenceField;
|
|
|
|
private string typesField;
|
|
|
|
private ScopesType scopesField;
|
|
|
|
private string xAddrsField;
|
|
|
|
private uint metadataVersionField;
|
|
|
|
private System.Xml.XmlElement[] anyField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", Order=0)]
|
|
public EndpointReferenceType EndpointReference
|
|
{
|
|
get
|
|
{
|
|
return this.endpointReferenceField;
|
|
}
|
|
set
|
|
{
|
|
this.endpointReferenceField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=1)]
|
|
public string Types
|
|
{
|
|
get
|
|
{
|
|
return this.typesField;
|
|
}
|
|
set
|
|
{
|
|
this.typesField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=2)]
|
|
public ScopesType Scopes
|
|
{
|
|
get
|
|
{
|
|
return this.scopesField;
|
|
}
|
|
set
|
|
{
|
|
this.scopesField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=3)]
|
|
public string XAddrs
|
|
{
|
|
get
|
|
{
|
|
return this.xAddrsField;
|
|
}
|
|
set
|
|
{
|
|
this.xAddrsField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlElementAttribute(Order=4)]
|
|
public uint MetadataVersion
|
|
{
|
|
get
|
|
{
|
|
return this.metadataVersionField;
|
|
}
|
|
set
|
|
{
|
|
this.metadataVersionField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute(Order=5)]
|
|
public System.Xml.XmlElement[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public partial class ScopesType
|
|
{
|
|
|
|
private string matchByField;
|
|
|
|
private string[] textField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")]
|
|
public string MatchBy
|
|
{
|
|
get
|
|
{
|
|
return this.matchByField;
|
|
}
|
|
set
|
|
{
|
|
this.matchByField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute(DataType="anyURI")]
|
|
public string[] Text
|
|
{
|
|
get
|
|
{
|
|
return this.textField;
|
|
}
|
|
set
|
|
{
|
|
this.textField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class ServiceNameType
|
|
{
|
|
|
|
private string portNameField;
|
|
|
|
private System.Xml.XmlQualifiedName valueField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAttributeAttribute(DataType="NCName")]
|
|
public string PortName
|
|
{
|
|
get
|
|
{
|
|
return this.portNameField;
|
|
}
|
|
set
|
|
{
|
|
this.portNameField = value;
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public System.Xml.XmlQualifiedName Value
|
|
{
|
|
get
|
|
{
|
|
return this.valueField;
|
|
}
|
|
set
|
|
{
|
|
this.valueField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class AttributedQName
|
|
{
|
|
|
|
private System.Xml.XmlQualifiedName valueField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlTextAttribute()]
|
|
public System.Xml.XmlQualifiedName Value
|
|
{
|
|
get
|
|
{
|
|
return this.valueField;
|
|
}
|
|
set
|
|
{
|
|
this.valueField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class ReferenceParametersType
|
|
{
|
|
|
|
private System.Xml.XmlElement[] anyField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute(Order=0)]
|
|
public System.Xml.XmlElement[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
/// <remarks/>
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public partial class ReferencePropertiesType
|
|
{
|
|
|
|
private System.Xml.XmlElement[] anyField;
|
|
|
|
/// <remarks/>
|
|
[System.Xml.Serialization.XmlAnyElementAttribute(Order=0)]
|
|
public System.Xml.XmlElement[] Any
|
|
{
|
|
get
|
|
{
|
|
return this.anyField;
|
|
}
|
|
set
|
|
{
|
|
this.anyField = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Hello", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class HelloRequest
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public EndpointReferenceType EndpointReference;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public string Types;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=2)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public ScopesType Scopes;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=3)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public string XAddrs;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=4)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public uint MetadataVersion;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=5)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public HelloRequest()
|
|
{
|
|
}
|
|
|
|
public HelloRequest(EndpointReferenceType EndpointReference, string Types, ScopesType Scopes, string XAddrs, uint MetadataVersion, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.EndpointReference = EndpointReference;
|
|
this.Types = Types;
|
|
this.Scopes = Scopes;
|
|
this.XAddrs = XAddrs;
|
|
this.MetadataVersion = MetadataVersion;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="HelloResponse", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class HelloResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public EndpointReferenceType EndpointReference;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public HelloResponse()
|
|
{
|
|
}
|
|
|
|
public HelloResponse(EndpointReferenceType EndpointReference, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.EndpointReference = EndpointReference;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Bye", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class ByeRequest
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public EndpointReferenceType EndpointReference;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public string Types;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=2)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public ScopesType Scopes;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=3)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public string XAddrs;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=4)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public uint MetadataVersion;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=5)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public ByeRequest()
|
|
{
|
|
}
|
|
|
|
public ByeRequest(EndpointReferenceType EndpointReference, string Types, ScopesType Scopes, string XAddrs, uint MetadataVersion, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.EndpointReference = EndpointReference;
|
|
this.Types = Types;
|
|
this.Scopes = Scopes;
|
|
this.XAddrs = XAddrs;
|
|
this.MetadataVersion = MetadataVersion;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="ByeResponse", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class ByeResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing")]
|
|
public EndpointReferenceType EndpointReference;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public ByeResponse()
|
|
{
|
|
}
|
|
|
|
public ByeResponse(EndpointReferenceType EndpointReference, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.EndpointReference = EndpointReference;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
public interface RemoteDiscoveryPortChannel : RemoteDiscoveryPort, System.ServiceModel.IClientChannel
|
|
{
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
public partial class RemoteDiscoveryPortClient : System.ServiceModel.ClientBase<RemoteDiscoveryPort>, RemoteDiscoveryPort
|
|
{
|
|
|
|
public RemoteDiscoveryPortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress)
|
|
{
|
|
}
|
|
|
|
public HelloResponse Hello(HelloRequest request)
|
|
{
|
|
return base.Channel.Hello(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<HelloResponse> HelloAsync(HelloRequest request)
|
|
{
|
|
return base.Channel.HelloAsync(request);
|
|
}
|
|
|
|
public ByeResponse Bye(ByeRequest request)
|
|
{
|
|
return base.Channel.Bye(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<ByeResponse> ByeAsync(ByeRequest request)
|
|
{
|
|
return base.Channel.ByeAsync(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.IAsyncResult>(((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.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.ServiceContractAttribute(Namespace="http://www.onvif.org/ver10/network/wsdl", ConfigurationName= "EC.Onvif.Discovery.DiscoveryLookupPort")]
|
|
public interface DiscoveryLookupPort
|
|
{
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Probe", ReplyAction="*")]
|
|
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
|
ProbeResponse Probe(ProbeRequest request);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://www.onvif.org/ver10/network/wsdl/Probe", ReplyAction="*")]
|
|
System.Threading.Tasks.Task<ProbeResponse> ProbeAsync(ProbeRequest request);
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="Probe", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class ProbeRequest
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public string Types;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=1)]
|
|
[System.Xml.Serialization.XmlElementAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public ScopesType Scopes;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=2)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public ProbeRequest()
|
|
{
|
|
}
|
|
|
|
public ProbeRequest(string Types, ScopesType Scopes, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.Types = Types;
|
|
this.Scopes = Scopes;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
[System.ServiceModel.MessageContractAttribute(WrapperName="ProbeResponse", WrapperNamespace="http://www.onvif.org/ver10/network/wsdl", IsWrapped=true)]
|
|
public partial class ProbeResponse
|
|
{
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery", Order=0)]
|
|
[System.Xml.Serialization.XmlElementAttribute("ProbeMatch", Namespace="http://schemas.xmlsoap.org/ws/2005/04/discovery")]
|
|
public ProbeMatchType[] ProbeMatch;
|
|
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="", Order=1)]
|
|
[System.Xml.Serialization.XmlAnyElementAttribute()]
|
|
public System.Xml.XmlElement[] Any;
|
|
|
|
public System.Xml.XmlAttribute[] AnyAttr;
|
|
|
|
public ProbeResponse()
|
|
{
|
|
}
|
|
|
|
public ProbeResponse(ProbeMatchType[] ProbeMatch, System.Xml.XmlElement[] Any, System.Xml.XmlAttribute[] AnyAttr)
|
|
{
|
|
this.ProbeMatch = ProbeMatch;
|
|
this.Any = Any;
|
|
this.AnyAttr = AnyAttr;
|
|
}
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
public interface DiscoveryLookupPortChannel : DiscoveryLookupPort, System.ServiceModel.IClientChannel
|
|
{
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Tools.ServiceModel.Svcutil", "2.0.3-preview3.21351.2")]
|
|
public partial class DiscoveryLookupPortClient : System.ServiceModel.ClientBase<DiscoveryLookupPort>, DiscoveryLookupPort
|
|
{
|
|
|
|
public DiscoveryLookupPortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress)
|
|
{
|
|
}
|
|
|
|
public ProbeResponse Probe(ProbeRequest request)
|
|
{
|
|
return base.Channel.Probe(request);
|
|
}
|
|
|
|
public System.Threading.Tasks.Task<ProbeResponse> ProbeAsync(ProbeRequest request)
|
|
{
|
|
return base.Channel.ProbeAsync(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.IAsyncResult>(((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.IAsyncResult>(((System.ServiceModel.ICommunicationObject)(this)).EndClose));
|
|
}
|
|
}
|
|
}
|
|
|