222
schangxiang@126.com
2025-08-23 5c34786133c2f8c186c56c95bc12ea14f2f3a0d0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
//------------------------------------------------------------------------------
// <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);
        }
    }
}