//------------------------------------------------------------------------------
//
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
namespace iWarePrintService.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")]
iWarePrintService.PrintBaseService.PrintResponse Print(iWarePrintService.PrintBaseService.PrintRequest request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print", ReplyAction="http://tempuri.org/IPrintWcfService/PrintResponse")]
System.Threading.Tasks.Task PrintAsync(iWarePrintService.PrintBaseService.PrintRequest request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")]
iWarePrintService.PrintBaseService.Print2Response Print2(iWarePrintService.PrintBaseService.Print2Request request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print2", ReplyAction="http://tempuri.org/IPrintWcfService/Print2Response")]
System.Threading.Tasks.Task Print2Async(iWarePrintService.PrintBaseService.Print2Request request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")]
iWarePrintService.PrintBaseService.Print3Response Print3(iWarePrintService.PrintBaseService.Print3Request request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/Print3", ReplyAction="http://tempuri.org/IPrintWcfService/Print3Response")]
System.Threading.Tasks.Task Print3Async(iWarePrintService.PrintBaseService.Print3Request request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
iWarePrintService.PrintBaseService.GetImageResponse GetImage(iWarePrintService.PrintBaseService.GetImageRequest request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
System.Threading.Tasks.Task GetImageAsync(iWarePrintService.PrintBaseService.GetImageRequest request);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")]
iWarePrintService.PrintBaseService.GetPrinterStatusResponse GetPrinterStatus(iWarePrintService.PrintBaseService.GetPrinterStatusRequest request);
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetPrinterStatus", ReplyAction="http://tempuri.org/IPrintWcfService/GetPrinterStatusResponse")]
System.Threading.Tasks.Task GetPrinterStatusAsync(iWarePrintService.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 : iWarePrintService.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, iWarePrintService.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)]
iWarePrintService.PrintBaseService.PrintResponse iWarePrintService.PrintBaseService.IPrintWcfService.Print(iWarePrintService.PrintBaseService.PrintRequest request) {
return base.Channel.Print(request);
}
public bool Print(System.Collections.Generic.Dictionary data, int copies, out string msg) {
iWarePrintService.PrintBaseService.PrintRequest inValue = new iWarePrintService.PrintBaseService.PrintRequest();
inValue.data = data;
inValue.copies = copies;
iWarePrintService.PrintBaseService.PrintResponse retVal = ((iWarePrintService.PrintBaseService.IPrintWcfService)(this)).Print(inValue);
msg = retVal.msg;
return retVal.PrintResult;
}
public System.Threading.Tasks.Task PrintAsync(iWarePrintService.PrintBaseService.PrintRequest request) {
return base.Channel.PrintAsync(request);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
iWarePrintService.PrintBaseService.Print2Response iWarePrintService.PrintBaseService.IPrintWcfService.Print2(iWarePrintService.PrintBaseService.Print2Request request) {
return base.Channel.Print2(request);
}
public bool Print2(System.Collections.Generic.Dictionary data, int copies, string tpl, out string msg) {
iWarePrintService.PrintBaseService.Print2Request inValue = new iWarePrintService.PrintBaseService.Print2Request();
inValue.data = data;
inValue.copies = copies;
inValue.tpl = tpl;
iWarePrintService.PrintBaseService.Print2Response retVal = ((iWarePrintService.PrintBaseService.IPrintWcfService)(this)).Print2(inValue);
msg = retVal.msg;
return retVal.Print2Result;
}
public System.Threading.Tasks.Task Print2Async(iWarePrintService.PrintBaseService.Print2Request request) {
return base.Channel.Print2Async(request);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
iWarePrintService.PrintBaseService.Print3Response iWarePrintService.PrintBaseService.IPrintWcfService.Print3(iWarePrintService.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) {
iWarePrintService.PrintBaseService.Print3Request inValue = new iWarePrintService.PrintBaseService.Print3Request();
inValue.data = data;
inValue.copies = copies;
inValue.tpl = tpl;
inValue.printerName = printerName;
iWarePrintService.PrintBaseService.Print3Response retVal = ((iWarePrintService.PrintBaseService.IPrintWcfService)(this)).Print3(inValue);
msg = retVal.msg;
return retVal.Print3Result;
}
public System.Threading.Tasks.Task Print3Async(iWarePrintService.PrintBaseService.Print3Request request) {
return base.Channel.Print3Async(request);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
iWarePrintService.PrintBaseService.GetImageResponse iWarePrintService.PrintBaseService.IPrintWcfService.GetImage(iWarePrintService.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) {
iWarePrintService.PrintBaseService.GetImageRequest inValue = new iWarePrintService.PrintBaseService.GetImageRequest();
inValue.data = data;
inValue.templateUrl = templateUrl;
inValue.width = width;
inValue.height = height;
iWarePrintService.PrintBaseService.GetImageResponse retVal = ((iWarePrintService.PrintBaseService.IPrintWcfService)(this)).GetImage(inValue);
msg = retVal.msg;
return retVal.GetImageResult;
}
public System.Threading.Tasks.Task GetImageAsync(iWarePrintService.PrintBaseService.GetImageRequest request) {
return base.Channel.GetImageAsync(request);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
iWarePrintService.PrintBaseService.GetPrinterStatusResponse iWarePrintService.PrintBaseService.IPrintWcfService.GetPrinterStatus(iWarePrintService.PrintBaseService.GetPrinterStatusRequest request) {
return base.Channel.GetPrinterStatus(request);
}
public int GetPrinterStatus(string printerName, out string msg) {
iWarePrintService.PrintBaseService.GetPrinterStatusRequest inValue = new iWarePrintService.PrintBaseService.GetPrinterStatusRequest();
inValue.printerName = printerName;
iWarePrintService.PrintBaseService.GetPrinterStatusResponse retVal = ((iWarePrintService.PrintBaseService.IPrintWcfService)(this)).GetPrinterStatus(inValue);
msg = retVal.msg;
return retVal.GetPrinterStatusResult;
}
public System.Threading.Tasks.Task GetPrinterStatusAsync(iWarePrintService.PrintBaseService.GetPrinterStatusRequest request) {
return base.Channel.GetPrinterStatusAsync(request);
}
}
}