//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.1026 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ namespace OpcService.WebServiceForOpc { [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] [System.ServiceModel.ServiceContractAttribute(ConfigurationName="WebServiceForOpc.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/GetSendOrderConfigList", ReplyAction="http://tempuri.org/IOpcService/GetSendOrderConfigListResponse")] string GetSendOrderConfigList(); [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IOpcService/SubmitParameters")] void SubmitParameters(string paraList); [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IOpcService/SubmitInterruptParameters")] void SubmitInterruptParameters(string paraList); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public interface IOpcServiceChannel : OpcService.WebServiceForOpc.IOpcService, System.ServiceModel.IClientChannel { } [System.Diagnostics.DebuggerStepThroughAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] public partial class OpcServiceClient : System.ServiceModel.ClientBase, OpcService.WebServiceForOpc.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 string GetSendOrderConfigList() { return base.Channel.GetSendOrderConfigList(); } public void SubmitParameters(string paraList) { base.Channel.SubmitParameters(paraList); } public void SubmitInterruptParameters(string paraList) { base.Channel.SubmitInterruptParameters(paraList); } } }