//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.237 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace SimulateServiceHost.OpcServiceHost { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="OpcServiceHost.IOpcService")] public interface IOpcService { [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcService/GetMachineList", ReplyAction="http://tempuri.org/IOpcService/GetMachineListResponse")] string GetMachineList(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcService/GetParaConfigList", ReplyAction="http://tempuri.org/IOpcService/GetParaConfigListResponse")] string GetParaConfigList(); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcService/SubmitParameters", ReplyAction="http://tempuri.org/IOpcService/SubmitParametersResponse")] void SubmitParameters(string paraList); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IOpcServiceChannel : SimulateServiceHost.OpcServiceHost.IOpcService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class OpcServiceClient : System.ServiceModel.ClientBase, SimulateServiceHost.OpcServiceHost.IOpcService { public OpcServiceClient() { } public OpcServiceClient(string endpointConfigurationName) : base(endpointConfigurationName) { } public OpcServiceClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public OpcServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) { } public OpcServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : base(binding, remoteAddress) { } public string GetMachineList() { return base.Channel.GetMachineList(); } public string GetParaConfigList() { return base.Channel.GetParaConfigList(); } public void SubmitParameters(string paraList) { base.Channel.SubmitParameters(paraList); } } }