//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 
//------------------------------------------------------------------------------
namespace iWareCC.PrintBaseService {
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="PrintBaseService.IPrintWcfService")]
    public interface IPrintWcfService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print", ReplyAction="http://tempuri.org/IPrintWcfService/PrintResponse")]
        iWareCC.PrintBaseService.PrintResponse Print(iWareCC.PrintBaseService.PrintRequest request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print", ReplyAction="http://tempuri.org/IPrintWcfService/PrintResponse")]
        System.Threading.Tasks.Task PrintAsync(iWareCC.PrintBaseService.PrintRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")]
        iWareCC.PrintBaseService.Print2Response Print2(iWareCC.PrintBaseService.Print2Request request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")]
        System.Threading.Tasks.Task Print2Async(iWareCC.PrintBaseService.Print2Request request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")]
        iWareCC.PrintBaseService.Print3Response Print3(iWareCC.PrintBaseService.Print3Request request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")]
        System.Threading.Tasks.Task Print3Async(iWareCC.PrintBaseService.Print3Request request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
        iWareCC.PrintBaseService.GetImageResponse GetImage(iWareCC.PrintBaseService.GetImageRequest request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
        System.Threading.Tasks.Task GetImageAsync(iWareCC.PrintBaseService.GetImageRequest request);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")]
        iWareCC.PrintBaseService.GetPrinterStatusResponse GetPrinterStatus(iWareCC.PrintBaseService.GetPrinterStatusRequest request);
        
        // CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")]
        System.Threading.Tasks.Task GetPrinterStatusAsync(iWareCC.PrintBaseService.GetPrinterStatusRequest request);
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="Print", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class PrintRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public System.Collections.Generic.Dictionary data;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public int copies;
        
        public PrintRequest() {
        }
        
        public PrintRequest(System.Collections.Generic.Dictionary data, int copies) {
            this.data = data;
            this.copies = copies;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="PrintResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class PrintResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public bool PrintResult;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string msg;
        
        public PrintResponse() {
        }
        
        public PrintResponse(bool PrintResult, string msg) {
            this.PrintResult = PrintResult;
            this.msg = msg;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="Print2", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class Print2Request {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public System.Collections.Generic.Dictionary data;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public int copies;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)]
        public string tpl;
        
        public Print2Request() {
        }
        
        public Print2Request(System.Collections.Generic.Dictionary data, int copies, string tpl) {
            this.data = data;
            this.copies = copies;
            this.tpl = tpl;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="Print2Response", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class Print2Response {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public bool Print2Result;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string msg;
        
        public Print2Response() {
        }
        
        public Print2Response(bool Print2Result, string msg) {
            this.Print2Result = Print2Result;
            this.msg = msg;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="Print3", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class Print3Request {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public System.Collections.Generic.Dictionary data;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public int copies;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)]
        public string tpl;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=3)]
        public string printerName;
        
        public Print3Request() {
        }
        
        public Print3Request(System.Collections.Generic.Dictionary data, int copies, string tpl, string printerName) {
            this.data = data;
            this.copies = copies;
            this.tpl = tpl;
            this.printerName = printerName;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="Print3Response", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class Print3Response {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public bool Print3Result;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string msg;
        
        public Print3Response() {
        }
        
        public Print3Response(bool Print3Result, string msg) {
            this.Print3Result = Print3Result;
            this.msg = msg;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="GetImage", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class GetImageRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public System.Collections.Generic.Dictionary data;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string templateUrl;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=2)]
        public int width;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=3)]
        public int height;
        
        public GetImageRequest() {
        }
        
        public GetImageRequest(System.Collections.Generic.Dictionary data, string templateUrl, int width, int height) {
            this.data = data;
            this.templateUrl = templateUrl;
            this.width = width;
            this.height = height;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="GetImageResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class GetImageResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public string GetImageResult;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string msg;
        
        public GetImageResponse() {
        }
        
        public GetImageResponse(string GetImageResult, string msg) {
            this.GetImageResult = GetImageResult;
            this.msg = msg;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="GetPrinterStatus", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class GetPrinterStatusRequest {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public string printerName;
        
        public GetPrinterStatusRequest() {
        }
        
        public GetPrinterStatusRequest(string printerName) {
            this.printerName = printerName;
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.MessageContractAttribute(WrapperName="GetPrinterStatusResponse", WrapperNamespace="http://tempuri.org/", IsWrapped=true)]
    public partial class GetPrinterStatusResponse {
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=0)]
        public int GetPrinterStatusResult;
        
        [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
        public string msg;
        
        public GetPrinterStatusResponse() {
        }
        
        public GetPrinterStatusResponse(int GetPrinterStatusResult, string msg) {
            this.GetPrinterStatusResult = GetPrinterStatusResult;
            this.msg = msg;
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IPrintWcfServiceChannel : iWareCC.PrintBaseService.IPrintWcfService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class PrintWcfServiceClient : System.ServiceModel.ClientBase, iWareCC.PrintBaseService.IPrintWcfService {
        
        public PrintWcfServiceClient() {
        }
        
        public PrintWcfServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public PrintWcfServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public PrintWcfServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public PrintWcfServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        iWareCC.PrintBaseService.PrintResponse iWareCC.PrintBaseService.IPrintWcfService.Print(iWareCC.PrintBaseService.PrintRequest request) {
            return base.Channel.Print(request);
        }
        
        public bool Print(System.Collections.Generic.Dictionary data, int copies, out string msg) {
            iWareCC.PrintBaseService.PrintRequest inValue = new iWareCC.PrintBaseService.PrintRequest();
            inValue.data = data;
            inValue.copies = copies;
            iWareCC.PrintBaseService.PrintResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print(inValue);
            msg = retVal.msg;
            return retVal.PrintResult;
        }
        
        public System.Threading.Tasks.Task PrintAsync(iWareCC.PrintBaseService.PrintRequest request) {
            return base.Channel.PrintAsync(request);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        iWareCC.PrintBaseService.Print2Response iWareCC.PrintBaseService.IPrintWcfService.Print2(iWareCC.PrintBaseService.Print2Request request) {
            return base.Channel.Print2(request);
        }
        
        public bool Print2(System.Collections.Generic.Dictionary data, int copies, string tpl, out string msg) {
            iWareCC.PrintBaseService.Print2Request inValue = new iWareCC.PrintBaseService.Print2Request();
            inValue.data = data;
            inValue.copies = copies;
            inValue.tpl = tpl;
            iWareCC.PrintBaseService.Print2Response retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print2(inValue);
            msg = retVal.msg;
            return retVal.Print2Result;
        }
        
        public System.Threading.Tasks.Task Print2Async(iWareCC.PrintBaseService.Print2Request request) {
            return base.Channel.Print2Async(request);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        iWareCC.PrintBaseService.Print3Response iWareCC.PrintBaseService.IPrintWcfService.Print3(iWareCC.PrintBaseService.Print3Request request) {
            return base.Channel.Print3(request);
        }
        
        public bool Print3(System.Collections.Generic.Dictionary data, int copies, string tpl, string printerName, out string msg) {
            iWareCC.PrintBaseService.Print3Request inValue = new iWareCC.PrintBaseService.Print3Request();
            inValue.data = data;
            inValue.copies = copies;
            inValue.tpl = tpl;
            inValue.printerName = printerName;
            iWareCC.PrintBaseService.Print3Response retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).Print3(inValue);
            msg = retVal.msg;
            return retVal.Print3Result;
        }
        
        public System.Threading.Tasks.Task Print3Async(iWareCC.PrintBaseService.Print3Request request) {
            return base.Channel.Print3Async(request);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        iWareCC.PrintBaseService.GetImageResponse iWareCC.PrintBaseService.IPrintWcfService.GetImage(iWareCC.PrintBaseService.GetImageRequest request) {
            return base.Channel.GetImage(request);
        }
        
        public string GetImage(System.Collections.Generic.Dictionary data, string templateUrl, int width, int height, out string msg) {
            iWareCC.PrintBaseService.GetImageRequest inValue = new iWareCC.PrintBaseService.GetImageRequest();
            inValue.data = data;
            inValue.templateUrl = templateUrl;
            inValue.width = width;
            inValue.height = height;
            iWareCC.PrintBaseService.GetImageResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).GetImage(inValue);
            msg = retVal.msg;
            return retVal.GetImageResult;
        }
        
        public System.Threading.Tasks.Task GetImageAsync(iWareCC.PrintBaseService.GetImageRequest request) {
            return base.Channel.GetImageAsync(request);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        iWareCC.PrintBaseService.GetPrinterStatusResponse iWareCC.PrintBaseService.IPrintWcfService.GetPrinterStatus(iWareCC.PrintBaseService.GetPrinterStatusRequest request) {
            return base.Channel.GetPrinterStatus(request);
        }
        
        public int GetPrinterStatus(string printerName, out string msg) {
            iWareCC.PrintBaseService.GetPrinterStatusRequest inValue = new iWareCC.PrintBaseService.GetPrinterStatusRequest();
            inValue.printerName = printerName;
            iWareCC.PrintBaseService.GetPrinterStatusResponse retVal = ((iWareCC.PrintBaseService.IPrintWcfService)(this)).GetPrinterStatus(inValue);
            msg = retVal.msg;
            return retVal.GetPrinterStatusResult;
        }
        
        public System.Threading.Tasks.Task GetPrinterStatusAsync(iWareCC.PrintBaseService.GetPrinterStatusRequest request) {
            return base.Channel.GetPrinterStatusAsync(request);
        }
    }
}