//------------------------------------------------------------------------------
|
// <auto-generated>
|
// 此代码由工具生成。
|
// 运行时版本:4.0.30319.18444
|
//
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
// 重新生成代码,这些更改将会丢失。
|
// </auto-generated>
|
//------------------------------------------------------------------------------
|
|
namespace WindowsFormsApplication1.OpcWcfService {
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="OpcWcfService.IOpcWcfService")]
|
public interface IOpcWcfService {
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/ReadValue", ReplyAction="http://tempuri.org/IOpcWcfService/ReadValueResponse")]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
|
object ReadValue(string dbName);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/ReadValue", ReplyAction="http://tempuri.org/IOpcWcfService/ReadValueResponse")]
|
System.Threading.Tasks.Task<object> ReadValueAsync(string dbName);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/ReadValues", ReplyAction="http://tempuri.org/IOpcWcfService/ReadValuesResponse")]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
|
object[] ReadValues(string[] dbNames);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/ReadValues", ReplyAction="http://tempuri.org/IOpcWcfService/ReadValuesResponse")]
|
System.Threading.Tasks.Task<object[]> ReadValuesAsync(string[] dbNames);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/WriteValue", ReplyAction="http://tempuri.org/IOpcWcfService/WriteValueResponse")]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
|
bool WriteValue(string dbName, object value);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/WriteValue", ReplyAction="http://tempuri.org/IOpcWcfService/WriteValueResponse")]
|
System.Threading.Tasks.Task<bool> WriteValueAsync(string dbName, object value);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/WriteValues", ReplyAction="http://tempuri.org/IOpcWcfService/WriteValuesResponse")]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
|
[System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
|
bool WriteValues(string[] dbNames, object[] values);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcWcfService/WriteValues", ReplyAction="http://tempuri.org/IOpcWcfService/WriteValuesResponse")]
|
System.Threading.Tasks.Task<bool> WriteValuesAsync(string[] dbNames, object[] values);
|
}
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
public interface IOpcWcfServiceChannel : WindowsFormsApplication1.OpcWcfService.IOpcWcfService, System.ServiceModel.IClientChannel {
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
public partial class OpcWcfServiceClient : System.ServiceModel.ClientBase<WindowsFormsApplication1.OpcWcfService.IOpcWcfService>, WindowsFormsApplication1.OpcWcfService.IOpcWcfService {
|
|
public OpcWcfServiceClient() {
|
}
|
|
public OpcWcfServiceClient(string endpointConfigurationName) :
|
base(endpointConfigurationName) {
|
}
|
|
public OpcWcfServiceClient(string endpointConfigurationName, string remoteAddress) :
|
base(endpointConfigurationName, remoteAddress) {
|
}
|
|
public OpcWcfServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
base(endpointConfigurationName, remoteAddress) {
|
}
|
|
public OpcWcfServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
base(binding, remoteAddress) {
|
}
|
|
public object ReadValue(string dbName) {
|
return base.Channel.ReadValue(dbName);
|
}
|
|
public System.Threading.Tasks.Task<object> ReadValueAsync(string dbName) {
|
return base.Channel.ReadValueAsync(dbName);
|
}
|
|
public object[] ReadValues(string[] dbNames) {
|
return base.Channel.ReadValues(dbNames);
|
}
|
|
public System.Threading.Tasks.Task<object[]> ReadValuesAsync(string[] dbNames) {
|
return base.Channel.ReadValuesAsync(dbNames);
|
}
|
|
public bool WriteValue(string dbName, object value) {
|
return base.Channel.WriteValue(dbName, value);
|
}
|
|
public System.Threading.Tasks.Task<bool> WriteValueAsync(string dbName, object value) {
|
return base.Channel.WriteValueAsync(dbName, value);
|
}
|
|
public bool WriteValues(string[] dbNames, object[] values) {
|
return base.Channel.WriteValues(dbNames, values);
|
}
|
|
public System.Threading.Tasks.Task<bool> WriteValuesAsync(string[] dbNames, object[] values) {
|
return base.Channel.WriteValuesAsync(dbNames, values);
|
}
|
}
|
}
|