提交 | 用户 | 时间
|
e46d3b
|
1 |
using System.CodeDom.Compiler; |
懒 |
2 |
using System.ComponentModel; |
|
3 |
using System.Data; |
|
4 |
using System.Diagnostics; |
|
5 |
using System.ServiceModel; |
|
6 |
using System.ServiceModel.Channels; |
|
7 |
using System.Threading.Tasks; |
|
8 |
|
|
9 |
namespace YX.WebService |
|
10 |
{ |
|
11 |
[GeneratedCode("System.ServiceModel", "4.0.0.0"), DebuggerStepThrough] |
|
12 |
public class WMISoapClient : ClientBase<WMISoap>, WMISoap |
|
13 |
{ |
|
14 |
public WMISoapClient() |
|
15 |
{ |
|
16 |
} |
|
17 |
|
|
18 |
public WMISoapClient(string endpointConfigurationName) : base(endpointConfigurationName) |
|
19 |
{ |
|
20 |
} |
|
21 |
|
|
22 |
public WMISoapClient(string endpointConfigurationName, string remoteAddress) : base(endpointConfigurationName, remoteAddress) |
|
23 |
{ |
|
24 |
} |
|
25 |
|
|
26 |
public WMISoapClient(string endpointConfigurationName, EndpointAddress remoteAddress) : base(endpointConfigurationName, remoteAddress) |
|
27 |
{ |
|
28 |
} |
|
29 |
|
|
30 |
public WMISoapClient(Binding binding, EndpointAddress remoteAddress) : base(binding, remoteAddress) |
|
31 |
{ |
|
32 |
} |
|
33 |
|
|
34 |
public string WMI01(string Par) |
|
35 |
{ |
|
36 |
return base.Channel.WMI01(Par); |
|
37 |
} |
|
38 |
|
|
39 |
public Task<string> WMI01Async(string Par) |
|
40 |
{ |
|
41 |
return base.Channel.WMI01Async(Par); |
|
42 |
} |
|
43 |
|
|
44 |
public string WMI011(string Par) |
|
45 |
{ |
|
46 |
return base.Channel.WMI011(Par); |
|
47 |
} |
|
48 |
|
|
49 |
public Task<string> WMI011Async(string Par) |
|
50 |
{ |
|
51 |
return base.Channel.WMI011Async(Par); |
|
52 |
} |
|
53 |
|
|
54 |
public string WMI02(string Par) |
|
55 |
{ |
|
56 |
return base.Channel.WMI02(Par); |
|
57 |
} |
|
58 |
|
|
59 |
public Task<string> WMI02Async(string Par) |
|
60 |
{ |
|
61 |
return base.Channel.WMI02Async(Par); |
|
62 |
} |
|
63 |
|
|
64 |
public string WMI03(DataTable Par) |
|
65 |
{ |
|
66 |
return base.Channel.WMI03(Par); |
|
67 |
} |
|
68 |
|
|
69 |
public Task<string> WMI03Async(DataTable Par) |
|
70 |
{ |
|
71 |
return base.Channel.WMI03Async(Par); |
|
72 |
} |
|
73 |
|
|
74 |
public DataTable WMI04(string method, string parameterJson) |
|
75 |
{ |
|
76 |
return base.Channel.WMI04(method, parameterJson); |
|
77 |
} |
|
78 |
|
|
79 |
public Task<DataTable> WMI04Async(string method, string parameterJson) |
|
80 |
{ |
|
81 |
return base.Channel.WMI04Async(method, parameterJson); |
|
82 |
} |
|
83 |
|
|
84 |
public bool WMI05(string method, string parameterJson) |
|
85 |
{ |
|
86 |
return base.Channel.WMI05(method, parameterJson); |
|
87 |
} |
|
88 |
|
|
89 |
public Task<bool> WMI05Async(string method, string parameterJson) |
|
90 |
{ |
|
91 |
return base.Channel.WMI05Async(method, parameterJson); |
|
92 |
} |
|
93 |
|
|
94 |
public string WMI06(string method) |
|
95 |
{ |
|
96 |
return base.Channel.WMI06(method); |
|
97 |
} |
|
98 |
|
|
99 |
public Task<string> WMI06Async(string method) |
|
100 |
{ |
|
101 |
return base.Channel.WMI06Async(method); |
|
102 |
} |
|
103 |
|
|
104 |
public string WMI07(string Par) |
|
105 |
{ |
|
106 |
return base.Channel.WMI07(Par); |
|
107 |
} |
|
108 |
|
|
109 |
public Task<string> WMI07Async(string Par) |
|
110 |
{ |
|
111 |
return base.Channel.WMI07Async(Par); |
|
112 |
} |
|
113 |
|
|
114 |
public string WMI10(string Par) |
|
115 |
{ |
|
116 |
return base.Channel.WMI10(Par); |
|
117 |
} |
|
118 |
|
|
119 |
public Task<string> WMI10Async(string Par) |
|
120 |
{ |
|
121 |
return base.Channel.WMI10Async(Par); |
|
122 |
} |
|
123 |
|
|
124 |
public string WMI_XM_SOAP(string IV_INFO, string IV_CODE, string IV_EVENT, string IV_FLAG, string IV_USER, string IV_PASS) |
|
125 |
{ |
|
126 |
return base.Channel.WMI_XM_SOAP(IV_INFO, IV_CODE, IV_EVENT, IV_FLAG, IV_USER, IV_PASS); |
|
127 |
} |
|
128 |
|
|
129 |
public Task<string> WMI_XM_SOAPAsync(string IV_INFO, string IV_CODE, string IV_EVENT, string IV_FLAG, string IV_USER, string IV_PASS) |
|
130 |
{ |
|
131 |
return base.Channel.WMI_XM_SOAPAsync(IV_INFO, IV_CODE, IV_EVENT, IV_FLAG, IV_USER, IV_PASS); |
|
132 |
} |
|
133 |
|
|
134 |
public string WMI_XM_QBMS_PUSH(string IV_INFO, string IV_CODE, string IV_USER, string IV_PASS, string IV_GUID, string IV_RECIVER, string IV_SENDTIME, string IV_REMARK1, string IV_REMARK2) |
|
135 |
{ |
|
136 |
return base.Channel.WMI_XM_QBMS_PUSH(IV_INFO, IV_CODE, IV_USER, IV_PASS, IV_GUID, IV_RECIVER, IV_SENDTIME, IV_REMARK1, IV_REMARK2); |
|
137 |
} |
|
138 |
|
|
139 |
public Task<string> WMI_XM_QBMS_PUSHAsync(string IV_INFO, string IV_CODE, string IV_USER, string IV_PASS, string IV_GUID, string IV_RECIVER, string IV_SENDTIME, string IV_REMARK1, string IV_REMARK2) |
|
140 |
{ |
|
141 |
return base.Channel.WMI_XM_QBMS_PUSHAsync(IV_INFO, IV_CODE, IV_USER, IV_PASS, IV_GUID, IV_RECIVER, IV_SENDTIME, IV_REMARK1, IV_REMARK2); |
|
142 |
} |
|
143 |
|
|
144 |
public string WMI_XM_QBMS_QUERY(string IV_INFO, string IV_CODE, string IV_USER, string IV_PASS, string IV_GUID, string IV_RECIVER, string IV_SENDTIME, string IV_REMARK1, string IV_REMARK2) |
|
145 |
{ |
|
146 |
return base.Channel.WMI_XM_QBMS_QUERY(IV_INFO, IV_CODE, IV_USER, IV_PASS, IV_GUID, IV_RECIVER, IV_SENDTIME, IV_REMARK1, IV_REMARK2); |
|
147 |
} |
|
148 |
|
|
149 |
public Task<string> WMI_XM_QBMS_QUERYAsync(string IV_INFO, string IV_CODE, string IV_USER, string IV_PASS, string IV_GUID, string IV_RECIVER, string IV_SENDTIME, string IV_REMARK1, string IV_REMARK2) |
|
150 |
{ |
|
151 |
return base.Channel.WMI_XM_QBMS_QUERYAsync(IV_INFO, IV_CODE, IV_USER, IV_PASS, IV_GUID, IV_RECIVER, IV_SENDTIME, IV_REMARK1, IV_REMARK2); |
|
152 |
} |
|
153 |
|
|
154 |
[EditorBrowsable(EditorBrowsableState.Advanced)] |
|
155 |
WMI08Response WMISoap.WMI08(WMI08Request request) |
|
156 |
{ |
|
157 |
return base.Channel.WMI08(request); |
|
158 |
} |
|
159 |
|
|
160 |
public byte[] WMI08(string method) |
|
161 |
{ |
|
162 |
WMI08Response wMI08Response = ((WMISoap)this).WMI08(new WMI08Request |
|
163 |
{ |
|
164 |
method = method |
|
165 |
}); |
|
166 |
return wMI08Response.WMI08Result; |
|
167 |
} |
|
168 |
|
|
169 |
[EditorBrowsable(EditorBrowsableState.Advanced)] |
|
170 |
Task<WMI08Response> WMISoap.WMI08Async(WMI08Request request) |
|
171 |
{ |
|
172 |
return base.Channel.WMI08Async(request); |
|
173 |
} |
|
174 |
|
|
175 |
public Task<WMI08Response> WMI08Async(string method) |
|
176 |
{ |
|
177 |
return ((WMISoap)this).WMI08Async(new WMI08Request |
|
178 |
{ |
|
179 |
method = method |
|
180 |
}); |
|
181 |
} |
|
182 |
|
|
183 |
public string WMI13(string Par) |
|
184 |
{ |
|
185 |
return base.Channel.WMI13(Par); |
|
186 |
} |
|
187 |
|
|
188 |
public Task<string> WMI13Async(string Par) |
|
189 |
{ |
|
190 |
return base.Channel.WMI13Async(Par); |
|
191 |
} |
|
192 |
|
|
193 |
public string WMI14(string Par) |
|
194 |
{ |
|
195 |
return base.Channel.WMI14(Par); |
|
196 |
} |
|
197 |
|
|
198 |
public Task<string> WMI14Async(string Par) |
|
199 |
{ |
|
200 |
return base.Channel.WMI14Async(Par); |
|
201 |
} |
|
202 |
|
|
203 |
public string CheckRoutePassed(string SN, string StationName) |
|
204 |
{ |
|
205 |
return base.Channel.CheckRoutePassed(SN, StationName); |
|
206 |
} |
|
207 |
|
|
208 |
public Task<string> CheckRoutePassedAsync(string SN, string StationName) |
|
209 |
{ |
|
210 |
return base.Channel.CheckRoutePassedAsync(SN, StationName); |
|
211 |
} |
|
212 |
|
|
213 |
public string SubmitResultData(string SN, string StationName, string HostName, string Operator, string testVersion, string Result, string ErrCode, string ErrMessage) |
|
214 |
{ |
|
215 |
return base.Channel.SubmitResultData(SN, StationName, HostName, Operator, testVersion, Result, ErrCode, ErrMessage); |
|
216 |
} |
|
217 |
|
|
218 |
public Task<string> SubmitResultDataAsync(string SN, string StationName, string HostName, string Operator, string testVersion, string Result, string ErrCode, string ErrMessage) |
|
219 |
{ |
|
220 |
return base.Channel.SubmitResultDataAsync(SN, StationName, HostName, Operator, testVersion, Result, ErrCode, ErrMessage); |
|
221 |
} |
|
222 |
|
|
223 |
public string SubmitResultKeyPart(string SN, string StationName, string HostName, string Operator, string testVersion, string Result, string ErrCode, string ErrMessage, string AfterCamera) |
|
224 |
{ |
|
225 |
return base.Channel.SubmitResultKeyPart(SN, StationName, HostName, Operator, testVersion, Result, ErrCode, ErrMessage, AfterCamera); |
|
226 |
} |
|
227 |
|
|
228 |
public Task<string> SubmitResultKeyPartAsync(string SN, string StationName, string HostName, string Operator, string testVersion, string Result, string ErrCode, string ErrMessage, string AfterCamera) |
|
229 |
{ |
|
230 |
return base.Channel.SubmitResultKeyPartAsync(SN, StationName, HostName, Operator, testVersion, Result, ErrCode, ErrMessage, AfterCamera); |
|
231 |
} |
|
232 |
|
|
233 |
public string GetMaterInfo(string PSN, string S_NM, string KP_NM, string KP_Value, string Customer) |
|
234 |
{ |
|
235 |
return base.Channel.GetMaterInfo(PSN, S_NM, KP_NM, KP_Value, Customer); |
|
236 |
} |
|
237 |
|
|
238 |
public Task<string> GetMaterInfoAsync(string PSN, string S_NM, string KP_NM, string KP_Value, string Customer) |
|
239 |
{ |
|
240 |
return base.Channel.GetMaterInfoAsync(PSN, S_NM, KP_NM, KP_Value, Customer); |
|
241 |
} |
|
242 |
|
|
243 |
public string NXTTransferData(string strPar) |
|
244 |
{ |
|
245 |
return base.Channel.NXTTransferData(strPar); |
|
246 |
} |
|
247 |
|
|
248 |
public Task<string> NXTTransferDataAsync(string strPar) |
|
249 |
{ |
|
250 |
return base.Channel.NXTTransferDataAsync(strPar); |
|
251 |
} |
|
252 |
|
|
253 |
public string DeviceTransferData(string strPar) |
|
254 |
{ |
|
255 |
return base.Channel.DeviceTransferData(strPar); |
|
256 |
} |
|
257 |
|
|
258 |
public Task<string> DeviceTransferDataAsync(string strPar) |
|
259 |
{ |
|
260 |
return base.Channel.DeviceTransferDataAsync(strPar); |
|
261 |
} |
|
262 |
|
|
263 |
public string DeviceTransferData22(string strPar) |
|
264 |
{ |
|
265 |
return base.Channel.DeviceTransferData22(strPar); |
|
266 |
} |
|
267 |
|
|
268 |
public Task<string> DeviceTransferData22Async(string strPar) |
|
269 |
{ |
|
270 |
return base.Channel.DeviceTransferData22Async(strPar); |
|
271 |
} |
|
272 |
|
|
273 |
public string SAPINOVKEWMS(string ACCOUNT, string PASSWORD, string TYPE, string DATA, string USER) |
|
274 |
{ |
|
275 |
return base.Channel.SAPINOVKEWMS(ACCOUNT, PASSWORD, TYPE, DATA, USER); |
|
276 |
} |
|
277 |
|
|
278 |
public Task<string> SAPINOVKEWMSAsync(string ACCOUNT, string PASSWORD, string TYPE, string DATA, string USER) |
|
279 |
{ |
|
280 |
return base.Channel.SAPINOVKEWMSAsync(ACCOUNT, PASSWORD, TYPE, DATA, USER); |
|
281 |
} |
|
282 |
|
|
283 |
public string SUPPLIERINOVKEWMS(string Account, string Password, string Type, string Data, string User) |
|
284 |
{ |
|
285 |
return base.Channel.SUPPLIERINOVKEWMS(Account, Password, Type, Data, User); |
|
286 |
} |
|
287 |
|
|
288 |
public Task<string> SUPPLIERINOVKEWMSAsync(string Account, string Password, string Type, string Data, string User) |
|
289 |
{ |
|
290 |
return base.Channel.SUPPLIERINOVKEWMSAsync(Account, Password, Type, Data, User); |
|
291 |
} |
|
292 |
|
|
293 |
public string SAPINOVKE(string ACCOUNT, string PASSWORD, string TYPE, string DATA, string USER) |
|
294 |
{ |
|
295 |
return base.Channel.SAPINOVKE(ACCOUNT, PASSWORD, TYPE, DATA, USER); |
|
296 |
} |
|
297 |
|
|
298 |
public Task<string> SAPINOVKEAsync(string ACCOUNT, string PASSWORD, string TYPE, string DATA, string USER) |
|
299 |
{ |
|
300 |
return base.Channel.SAPINOVKEAsync(ACCOUNT, PASSWORD, TYPE, DATA, USER); |
|
301 |
} |
|
302 |
|
|
303 |
public string SEND_CBR_MDOS(string request) |
|
304 |
{ |
|
305 |
return base.Channel.SEND_CBR_MDOS(request); |
|
306 |
} |
|
307 |
|
|
308 |
public Task<string> SEND_CBR_MDOSAsync(string request) |
|
309 |
{ |
|
310 |
return base.Channel.SEND_CBR_MDOSAsync(request); |
|
311 |
} |
|
312 |
|
|
313 |
public string SEND_PBR_MDOS(string request) |
|
314 |
{ |
|
315 |
return base.Channel.SEND_PBR_MDOS(request); |
|
316 |
} |
|
317 |
|
|
318 |
public Task<string> SEND_PBR_MDOSAsync(string request) |
|
319 |
{ |
|
320 |
return base.Channel.SEND_PBR_MDOSAsync(request); |
|
321 |
} |
|
322 |
|
|
323 |
public string test(string ss) |
|
324 |
{ |
|
325 |
return base.Channel.test(ss); |
|
326 |
} |
|
327 |
|
|
328 |
public Task<string> testAsync(string ss) |
|
329 |
{ |
|
330 |
return base.Channel.testAsync(ss); |
|
331 |
} |
|
332 |
} |
|
333 |
} |