//------------------------------------------------------------------------------
|
// <auto-generated>
|
// 此代码由工具生成。
|
// 运行时版本:4.0.30319.42000
|
//
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
// 重新生成代码,这些更改将会丢失。
|
// </auto-generated>
|
//------------------------------------------------------------------------------
|
|
namespace FineUIPro.iWareWms.PrintWcfService {
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="PrintWcfService.IPrintWcfService")]
|
public interface IPrintWcfService {
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintPicture", ReplyAction="http://tempuri.org/IPrintWcfService/PrintPictureResponse")]
|
string PrintPicture(string printerName, string image, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintPicture", ReplyAction="http://tempuri.org/IPrintWcfService/PrintPictureResponse")]
|
System.Threading.Tasks.Task<string> PrintPictureAsync(string printerName, string image, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintPictures", ReplyAction="http://tempuri.org/IPrintWcfService/PrintPicturesResponse")]
|
string PrintPictures(string printerName, string[] images, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintPictures", ReplyAction="http://tempuri.org/IPrintWcfService/PrintPicturesResponse")]
|
System.Threading.Tasks.Task<string> PrintPicturesAsync(string printerName, string[] images, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcode", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodeResponse")]
|
string PrintBarcode(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcode", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodeResponse")]
|
System.Threading.Tasks.Task<string> PrintBarcodeAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcodes", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodesResponse")]
|
string PrintBarcodes(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcodes", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodesResponse")]
|
System.Threading.Tasks.Task<string> PrintBarcodesAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcodesWithDifferentCopies", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodesWithDifferentCopiesResponse")]
|
string PrintBarcodesWithDifferentCopies(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int[] copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/PrintBarcodesWithDifferentCopies", ReplyAction="http://tempuri.org/IPrintWcfService/PrintBarcodesWithDifferentCopiesResponse")]
|
System.Threading.Tasks.Task<string> PrintBarcodesWithDifferentCopiesAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int[] copies);
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
|
FineUIPro.iWareWms.PrintWcfService.GetImageResponse GetImage(FineUIPro.iWareWms.PrintWcfService.GetImageRequest request);
|
|
// CODEGEN: 正在生成消息协定,应为该操作具有多个返回值。
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPrintWcfService/GetImage", ReplyAction="http://tempuri.org/IPrintWcfService/GetImageResponse")]
|
System.Threading.Tasks.Task<FineUIPro.iWareWms.PrintWcfService.GetImageResponse> GetImageAsync(FineUIPro.iWareWms.PrintWcfService.GetImageRequest request);
|
}
|
|
[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 string templateUrl;
|
|
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://tempuri.org/", Order=1)]
|
public System.Collections.Generic.Dictionary<string, object> data;
|
|
[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(string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int width, int height) {
|
this.templateUrl = templateUrl;
|
this.data = data;
|
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.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
public interface IPrintWcfServiceChannel : FineUIPro.iWareWms.PrintWcfService.IPrintWcfService, System.ServiceModel.IClientChannel {
|
}
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
public partial class PrintWcfServiceClient : System.ServiceModel.ClientBase<FineUIPro.iWareWms.PrintWcfService.IPrintWcfService>, FineUIPro.iWareWms.PrintWcfService.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) {
|
}
|
|
public string PrintPicture(string printerName, string image, int copies) {
|
return base.Channel.PrintPicture(printerName, image, copies);
|
}
|
|
public System.Threading.Tasks.Task<string> PrintPictureAsync(string printerName, string image, int copies) {
|
return base.Channel.PrintPictureAsync(printerName, image, copies);
|
}
|
|
public string PrintPictures(string printerName, string[] images, int copies) {
|
return base.Channel.PrintPictures(printerName, images, copies);
|
}
|
|
public System.Threading.Tasks.Task<string> PrintPicturesAsync(string printerName, string[] images, int copies) {
|
return base.Channel.PrintPicturesAsync(printerName, images, copies);
|
}
|
|
public string PrintBarcode(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int copies) {
|
return base.Channel.PrintBarcode(printerName, templateUrl, data, copies);
|
}
|
|
public System.Threading.Tasks.Task<string> PrintBarcodeAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int copies) {
|
return base.Channel.PrintBarcodeAsync(printerName, templateUrl, data, copies);
|
}
|
|
public string PrintBarcodes(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int copies) {
|
return base.Channel.PrintBarcodes(printerName, templateUrl, datas, copies);
|
}
|
|
public System.Threading.Tasks.Task<string> PrintBarcodesAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int copies) {
|
return base.Channel.PrintBarcodesAsync(printerName, templateUrl, datas, copies);
|
}
|
|
public string PrintBarcodesWithDifferentCopies(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int[] copies) {
|
return base.Channel.PrintBarcodesWithDifferentCopies(printerName, templateUrl, datas, copies);
|
}
|
|
public System.Threading.Tasks.Task<string> PrintBarcodesWithDifferentCopiesAsync(string printerName, string templateUrl, System.Collections.Generic.Dictionary<string, object>[] datas, int[] copies) {
|
return base.Channel.PrintBarcodesWithDifferentCopiesAsync(printerName, templateUrl, datas, copies);
|
}
|
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
FineUIPro.iWareWms.PrintWcfService.GetImageResponse FineUIPro.iWareWms.PrintWcfService.IPrintWcfService.GetImage(FineUIPro.iWareWms.PrintWcfService.GetImageRequest request) {
|
return base.Channel.GetImage(request);
|
}
|
|
public string GetImage(string templateUrl, System.Collections.Generic.Dictionary<string, object> data, int width, int height, out string msg) {
|
FineUIPro.iWareWms.PrintWcfService.GetImageRequest inValue = new FineUIPro.iWareWms.PrintWcfService.GetImageRequest();
|
inValue.templateUrl = templateUrl;
|
inValue.data = data;
|
inValue.width = width;
|
inValue.height = height;
|
FineUIPro.iWareWms.PrintWcfService.GetImageResponse retVal = ((FineUIPro.iWareWms.PrintWcfService.IPrintWcfService)(this)).GetImage(inValue);
|
msg = retVal.msg;
|
return retVal.GetImageResult;
|
}
|
|
public System.Threading.Tasks.Task<FineUIPro.iWareWms.PrintWcfService.GetImageResponse> GetImageAsync(FineUIPro.iWareWms.PrintWcfService.GetImageRequest request) {
|
return base.Channel.GetImageAsync(request);
|
}
|
}
|
}
|