15 |
15 |
|
16 |
16 |
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
17 |
17 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
|
18 |
[System.Runtime.Serialization.DataContractAttribute(Name="Item", Namespace="http://schemas.datacontract.org/2004/07/Markus.Service.IWcfService")]
|
|
19 |
[System.SerializableAttribute()]
|
|
20 |
public partial class Item : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
|
21 |
|
|
22 |
[System.NonSerializedAttribute()]
|
|
23 |
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
|
24 |
|
|
25 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
26 |
private string ConvertPathField;
|
|
27 |
|
|
28 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
29 |
private int CurrentPageNoField;
|
|
30 |
|
|
31 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
32 |
private string DocumentIDField;
|
|
33 |
|
|
34 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
35 |
private string ExceptionField;
|
|
36 |
|
|
37 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
38 |
private string PdfPathField;
|
|
39 |
|
|
40 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
41 |
private string ProjectNoField;
|
|
42 |
|
|
43 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
44 |
private string ProjectNumberField;
|
|
45 |
|
|
46 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
47 |
private string StatusField;
|
|
48 |
|
|
49 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
|
50 |
private int TotalPageField;
|
|
51 |
|
|
52 |
[global::System.ComponentModel.BrowsableAttribute(false)]
|
|
53 |
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
|
54 |
get {
|
|
55 |
return this.extensionDataField;
|
|
56 |
}
|
|
57 |
set {
|
|
58 |
this.extensionDataField = value;
|
|
59 |
}
|
|
60 |
}
|
|
61 |
|
|
62 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
63 |
public string ConvertPath {
|
|
64 |
get {
|
|
65 |
return this.ConvertPathField;
|
|
66 |
}
|
|
67 |
set {
|
|
68 |
if ((object.ReferenceEquals(this.ConvertPathField, value) != true)) {
|
|
69 |
this.ConvertPathField = value;
|
|
70 |
this.RaisePropertyChanged("ConvertPath");
|
|
71 |
}
|
|
72 |
}
|
|
73 |
}
|
|
74 |
|
|
75 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
76 |
public int CurrentPageNo {
|
|
77 |
get {
|
|
78 |
return this.CurrentPageNoField;
|
|
79 |
}
|
|
80 |
set {
|
|
81 |
if ((this.CurrentPageNoField.Equals(value) != true)) {
|
|
82 |
this.CurrentPageNoField = value;
|
|
83 |
this.RaisePropertyChanged("CurrentPageNo");
|
|
84 |
}
|
|
85 |
}
|
|
86 |
}
|
|
87 |
|
|
88 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
89 |
public string DocumentID {
|
|
90 |
get {
|
|
91 |
return this.DocumentIDField;
|
|
92 |
}
|
|
93 |
set {
|
|
94 |
if ((object.ReferenceEquals(this.DocumentIDField, value) != true)) {
|
|
95 |
this.DocumentIDField = value;
|
|
96 |
this.RaisePropertyChanged("DocumentID");
|
|
97 |
}
|
|
98 |
}
|
|
99 |
}
|
|
100 |
|
|
101 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
102 |
public string Exception {
|
|
103 |
get {
|
|
104 |
return this.ExceptionField;
|
|
105 |
}
|
|
106 |
set {
|
|
107 |
if ((object.ReferenceEquals(this.ExceptionField, value) != true)) {
|
|
108 |
this.ExceptionField = value;
|
|
109 |
this.RaisePropertyChanged("Exception");
|
|
110 |
}
|
|
111 |
}
|
|
112 |
}
|
|
113 |
|
|
114 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
115 |
public string PdfPath {
|
|
116 |
get {
|
|
117 |
return this.PdfPathField;
|
|
118 |
}
|
|
119 |
set {
|
|
120 |
if ((object.ReferenceEquals(this.PdfPathField, value) != true)) {
|
|
121 |
this.PdfPathField = value;
|
|
122 |
this.RaisePropertyChanged("PdfPath");
|
|
123 |
}
|
|
124 |
}
|
|
125 |
}
|
|
126 |
|
|
127 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
128 |
public string ProjectNo {
|
|
129 |
get {
|
|
130 |
return this.ProjectNoField;
|
|
131 |
}
|
|
132 |
set {
|
|
133 |
if ((object.ReferenceEquals(this.ProjectNoField, value) != true)) {
|
|
134 |
this.ProjectNoField = value;
|
|
135 |
this.RaisePropertyChanged("ProjectNo");
|
|
136 |
}
|
|
137 |
}
|
|
138 |
}
|
|
139 |
|
|
140 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
141 |
public string ProjectNumber {
|
|
142 |
get {
|
|
143 |
return this.ProjectNumberField;
|
|
144 |
}
|
|
145 |
set {
|
|
146 |
if ((object.ReferenceEquals(this.ProjectNumberField, value) != true)) {
|
|
147 |
this.ProjectNumberField = value;
|
|
148 |
this.RaisePropertyChanged("ProjectNumber");
|
|
149 |
}
|
|
150 |
}
|
|
151 |
}
|
|
152 |
|
|
153 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
154 |
public string Status {
|
|
155 |
get {
|
|
156 |
return this.StatusField;
|
|
157 |
}
|
|
158 |
set {
|
|
159 |
if ((object.ReferenceEquals(this.StatusField, value) != true)) {
|
|
160 |
this.StatusField = value;
|
|
161 |
this.RaisePropertyChanged("Status");
|
|
162 |
}
|
|
163 |
}
|
|
164 |
}
|
|
165 |
|
|
166 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
|
167 |
public int TotalPage {
|
|
168 |
get {
|
|
169 |
return this.TotalPageField;
|
|
170 |
}
|
|
171 |
set {
|
|
172 |
if ((this.TotalPageField.Equals(value) != true)) {
|
|
173 |
this.TotalPageField = value;
|
|
174 |
this.RaisePropertyChanged("TotalPage");
|
|
175 |
}
|
|
176 |
}
|
|
177 |
}
|
|
178 |
|
|
179 |
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
|
180 |
|
|
181 |
protected void RaisePropertyChanged(string propertyName) {
|
|
182 |
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
|
183 |
if ((propertyChanged != null)) {
|
|
184 |
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
|
185 |
}
|
|
186 |
}
|
|
187 |
}
|
|
188 |
|
|
189 |
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
190 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
18 |
191 |
[System.Runtime.Serialization.DataContractAttribute(Name="ConvertItem", Namespace="http://schemas.datacontract.org/2004/07/Markus.Service.Interface")]
|
19 |
192 |
[System.SerializableAttribute()]
|
20 |
193 |
public partial class ConvertItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
... | ... | |
38 |
211 |
private int CurrentPageNoField;
|
39 |
212 |
|
40 |
213 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
41 |
|
private string OriginfilePathField;
|
|
214 |
private string ExceptionField;
|
42 |
215 |
|
43 |
216 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
44 |
|
private string PdfStateField;
|
|
217 |
private string OriginfilePathField;
|
45 |
218 |
|
46 |
219 |
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
47 |
220 |
private long ProcessorAffinityField;
|
... | ... | |
131 |
304 |
}
|
132 |
305 |
|
133 |
306 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
134 |
|
public string OriginfilePath {
|
|
307 |
public string Exception {
|
135 |
308 |
get {
|
136 |
|
return this.OriginfilePathField;
|
|
309 |
return this.ExceptionField;
|
137 |
310 |
}
|
138 |
311 |
set {
|
139 |
|
if ((object.ReferenceEquals(this.OriginfilePathField, value) != true)) {
|
140 |
|
this.OriginfilePathField = value;
|
141 |
|
this.RaisePropertyChanged("OriginfilePath");
|
|
312 |
if ((object.ReferenceEquals(this.ExceptionField, value) != true)) {
|
|
313 |
this.ExceptionField = value;
|
|
314 |
this.RaisePropertyChanged("Exception");
|
142 |
315 |
}
|
143 |
316 |
}
|
144 |
317 |
}
|
145 |
318 |
|
146 |
319 |
[System.Runtime.Serialization.DataMemberAttribute()]
|
147 |
|
public string PdfState {
|
|
320 |
public string OriginfilePath {
|
148 |
321 |
get {
|
149 |
|
return this.PdfStateField;
|
|
322 |
return this.OriginfilePathField;
|
150 |
323 |
}
|
151 |
324 |
set {
|
152 |
|
if ((object.ReferenceEquals(this.PdfStateField, value) != true)) {
|
153 |
|
this.PdfStateField = value;
|
154 |
|
this.RaisePropertyChanged("PdfState");
|
|
325 |
if ((object.ReferenceEquals(this.OriginfilePathField, value) != true)) {
|
|
326 |
this.OriginfilePathField = value;
|
|
327 |
this.RaisePropertyChanged("OriginfilePath");
|
155 |
328 |
}
|
156 |
329 |
}
|
157 |
330 |
}
|
... | ... | |
225 |
398 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertAdd", ReplyAction="http://tempuri.org/IStationService/ConvertAddResponse")]
|
226 |
399 |
string ConvertAdd(string ProjectNo, string ConvertID);
|
227 |
400 |
|
228 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/ConvertAdd", ReplyAction="http://tempuri.org/IStationService/ConvertAddResponse")]
|
229 |
|
System.IAsyncResult BeginConvertAdd(string ProjectNo, string ConvertID, System.AsyncCallback callback, object asyncState);
|
|
401 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertAdd", ReplyAction="http://tempuri.org/IStationService/ConvertAddResponse")]
|
|
402 |
System.Threading.Tasks.Task<string> ConvertAddAsync(string ProjectNo, string ConvertID);
|
|
403 |
|
|
404 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/GetConvertItem", ReplyAction="http://tempuri.org/IStationService/GetConvertItemResponse")]
|
|
405 |
Markus.Service.StationController.StationService.Item GetConvertItem(string ProjectNo, string DocumentID);
|
230 |
406 |
|
231 |
|
string EndConvertAdd(System.IAsyncResult result);
|
|
407 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/GetConvertItem", ReplyAction="http://tempuri.org/IStationService/GetConvertItemResponse")]
|
|
408 |
System.Threading.Tasks.Task<Markus.Service.StationController.StationService.Item> GetConvertItemAsync(string ProjectNo, string DocumentID);
|
232 |
409 |
|
233 |
410 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/SettingMultiProcess", ReplyAction="http://tempuri.org/IStationService/SettingMultiProcessResponse")]
|
234 |
411 |
bool SettingMultiProcess(int Value);
|
235 |
412 |
|
236 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/SettingMultiProcess", ReplyAction="http://tempuri.org/IStationService/SettingMultiProcessResponse")]
|
237 |
|
System.IAsyncResult BeginSettingMultiProcess(int Value, System.AsyncCallback callback, object asyncState);
|
238 |
|
|
239 |
|
bool EndSettingMultiProcess(System.IAsyncResult result);
|
|
413 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/SettingMultiProcess", ReplyAction="http://tempuri.org/IStationService/SettingMultiProcessResponse")]
|
|
414 |
System.Threading.Tasks.Task<bool> SettingMultiProcessAsync(int Value);
|
240 |
415 |
|
241 |
416 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertProcessState", ReplyAction="http://tempuri.org/IStationService/ConvertProcessStateResponse")]
|
242 |
417 |
bool ConvertProcessState(string ConvertID, int status, int CurrentPage, int TotalPage, string Error);
|
243 |
418 |
|
244 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/ConvertProcessState", ReplyAction="http://tempuri.org/IStationService/ConvertProcessStateResponse")]
|
245 |
|
System.IAsyncResult BeginConvertProcessState(string ConvertID, int status, int CurrentPage, int TotalPage, string Error, System.AsyncCallback callback, object asyncState);
|
246 |
|
|
247 |
|
bool EndConvertProcessState(System.IAsyncResult result);
|
|
419 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertProcessState", ReplyAction="http://tempuri.org/IStationService/ConvertProcessStateResponse")]
|
|
420 |
System.Threading.Tasks.Task<bool> ConvertProcessStateAsync(string ConvertID, int status, int CurrentPage, int TotalPage, string Error);
|
248 |
421 |
|
249 |
422 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertMenualAdd", ReplyAction="http://tempuri.org/IStationService/ConvertMenualAddResponse")]
|
250 |
423 |
string ConvertMenualAdd(string ProjectNo, string originfilePath, string DocumentID);
|
251 |
424 |
|
252 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/ConvertMenualAdd", ReplyAction="http://tempuri.org/IStationService/ConvertMenualAddResponse")]
|
253 |
|
System.IAsyncResult BeginConvertMenualAdd(string ProjectNo, string originfilePath, string DocumentID, System.AsyncCallback callback, object asyncState);
|
254 |
|
|
255 |
|
string EndConvertMenualAdd(System.IAsyncResult result);
|
|
425 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertMenualAdd", ReplyAction="http://tempuri.org/IStationService/ConvertMenualAddResponse")]
|
|
426 |
System.Threading.Tasks.Task<string> ConvertMenualAddAsync(string ProjectNo, string originfilePath, string DocumentID);
|
256 |
427 |
|
257 |
428 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertFinish", ReplyAction="http://tempuri.org/IStationService/ConvertFinishResponse")]
|
258 |
429 |
bool ConvertFinish(string ConvertID, int status, int TotalPage, int CurrentPage, string Error);
|
259 |
430 |
|
260 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/ConvertFinish", ReplyAction="http://tempuri.org/IStationService/ConvertFinishResponse")]
|
261 |
|
System.IAsyncResult BeginConvertFinish(string ConvertID, int status, int TotalPage, int CurrentPage, string Error, System.AsyncCallback callback, object asyncState);
|
262 |
|
|
263 |
|
bool EndConvertFinish(System.IAsyncResult result);
|
|
431 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/ConvertFinish", ReplyAction="http://tempuri.org/IStationService/ConvertFinishResponse")]
|
|
432 |
System.Threading.Tasks.Task<bool> ConvertFinishAsync(string ConvertID, int status, int TotalPage, int CurrentPage, string Error);
|
264 |
433 |
|
265 |
434 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WaitConvertList", ReplyAction="http://tempuri.org/IStationService/WaitConvertListResponse")]
|
266 |
435 |
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> WaitConvertList();
|
267 |
436 |
|
268 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/WaitConvertList", ReplyAction="http://tempuri.org/IStationService/WaitConvertListResponse")]
|
269 |
|
System.IAsyncResult BeginWaitConvertList(System.AsyncCallback callback, object asyncState);
|
270 |
|
|
271 |
|
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> EndWaitConvertList(System.IAsyncResult result);
|
|
437 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/WaitConvertList", ReplyAction="http://tempuri.org/IStationService/WaitConvertListResponse")]
|
|
438 |
System.Threading.Tasks.Task<System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>> WaitConvertListAsync();
|
272 |
439 |
|
273 |
440 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/AliveConvertList", ReplyAction="http://tempuri.org/IStationService/AliveConvertListResponse")]
|
274 |
441 |
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> AliveConvertList();
|
275 |
442 |
|
276 |
|
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IStationService/AliveConvertList", ReplyAction="http://tempuri.org/IStationService/AliveConvertListResponse")]
|
277 |
|
System.IAsyncResult BeginAliveConvertList(System.AsyncCallback callback, object asyncState);
|
278 |
|
|
279 |
|
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> EndAliveConvertList(System.IAsyncResult result);
|
|
443 |
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStationService/AliveConvertList", ReplyAction="http://tempuri.org/IStationService/AliveConvertListResponse")]
|
|
444 |
System.Threading.Tasks.Task<System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>> AliveConvertListAsync();
|
280 |
445 |
}
|
281 |
446 |
|
282 |
447 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
... | ... | |
285 |
450 |
|
286 |
451 |
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
287 |
452 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
288 |
|
public partial class ConvertAddCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
289 |
|
|
290 |
|
private object[] results;
|
291 |
|
|
292 |
|
public ConvertAddCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
293 |
|
base(exception, cancelled, userState) {
|
294 |
|
this.results = results;
|
295 |
|
}
|
296 |
|
|
297 |
|
public string Result {
|
298 |
|
get {
|
299 |
|
base.RaiseExceptionIfNecessary();
|
300 |
|
return ((string)(this.results[0]));
|
301 |
|
}
|
302 |
|
}
|
303 |
|
}
|
304 |
|
|
305 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
306 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
307 |
|
public partial class SettingMultiProcessCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
308 |
|
|
309 |
|
private object[] results;
|
310 |
|
|
311 |
|
public SettingMultiProcessCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
312 |
|
base(exception, cancelled, userState) {
|
313 |
|
this.results = results;
|
314 |
|
}
|
315 |
|
|
316 |
|
public bool Result {
|
317 |
|
get {
|
318 |
|
base.RaiseExceptionIfNecessary();
|
319 |
|
return ((bool)(this.results[0]));
|
320 |
|
}
|
321 |
|
}
|
322 |
|
}
|
323 |
|
|
324 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
325 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
326 |
|
public partial class ConvertProcessStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
327 |
|
|
328 |
|
private object[] results;
|
329 |
|
|
330 |
|
public ConvertProcessStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
331 |
|
base(exception, cancelled, userState) {
|
332 |
|
this.results = results;
|
333 |
|
}
|
334 |
|
|
335 |
|
public bool Result {
|
336 |
|
get {
|
337 |
|
base.RaiseExceptionIfNecessary();
|
338 |
|
return ((bool)(this.results[0]));
|
339 |
|
}
|
340 |
|
}
|
341 |
|
}
|
342 |
|
|
343 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
344 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
345 |
|
public partial class ConvertMenualAddCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
346 |
|
|
347 |
|
private object[] results;
|
348 |
|
|
349 |
|
public ConvertMenualAddCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
350 |
|
base(exception, cancelled, userState) {
|
351 |
|
this.results = results;
|
352 |
|
}
|
353 |
|
|
354 |
|
public string Result {
|
355 |
|
get {
|
356 |
|
base.RaiseExceptionIfNecessary();
|
357 |
|
return ((string)(this.results[0]));
|
358 |
|
}
|
359 |
|
}
|
360 |
|
}
|
361 |
|
|
362 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
363 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
364 |
|
public partial class ConvertFinishCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
365 |
|
|
366 |
|
private object[] results;
|
367 |
|
|
368 |
|
public ConvertFinishCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
369 |
|
base(exception, cancelled, userState) {
|
370 |
|
this.results = results;
|
371 |
|
}
|
372 |
|
|
373 |
|
public bool Result {
|
374 |
|
get {
|
375 |
|
base.RaiseExceptionIfNecessary();
|
376 |
|
return ((bool)(this.results[0]));
|
377 |
|
}
|
378 |
|
}
|
379 |
|
}
|
380 |
|
|
381 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
382 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
383 |
|
public partial class WaitConvertListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
384 |
|
|
385 |
|
private object[] results;
|
386 |
|
|
387 |
|
public WaitConvertListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
388 |
|
base(exception, cancelled, userState) {
|
389 |
|
this.results = results;
|
390 |
|
}
|
391 |
|
|
392 |
|
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> Result {
|
393 |
|
get {
|
394 |
|
base.RaiseExceptionIfNecessary();
|
395 |
|
return ((System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>)(this.results[0]));
|
396 |
|
}
|
397 |
|
}
|
398 |
|
}
|
399 |
|
|
400 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
401 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
402 |
|
public partial class AliveConvertListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
|
403 |
|
|
404 |
|
private object[] results;
|
405 |
|
|
406 |
|
public AliveConvertListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
|
407 |
|
base(exception, cancelled, userState) {
|
408 |
|
this.results = results;
|
409 |
|
}
|
410 |
|
|
411 |
|
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> Result {
|
412 |
|
get {
|
413 |
|
base.RaiseExceptionIfNecessary();
|
414 |
|
return ((System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>)(this.results[0]));
|
415 |
|
}
|
416 |
|
}
|
417 |
|
}
|
418 |
|
|
419 |
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
420 |
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
421 |
453 |
public partial class StationServiceClient : System.ServiceModel.ClientBase<Markus.Service.StationController.StationService.IStationService>, Markus.Service.StationController.StationService.IStationService {
|
422 |
454 |
|
423 |
|
private BeginOperationDelegate onBeginConvertAddDelegate;
|
424 |
|
|
425 |
|
private EndOperationDelegate onEndConvertAddDelegate;
|
426 |
|
|
427 |
|
private System.Threading.SendOrPostCallback onConvertAddCompletedDelegate;
|
428 |
|
|
429 |
|
private BeginOperationDelegate onBeginSettingMultiProcessDelegate;
|
430 |
|
|
431 |
|
private EndOperationDelegate onEndSettingMultiProcessDelegate;
|
432 |
|
|
433 |
|
private System.Threading.SendOrPostCallback onSettingMultiProcessCompletedDelegate;
|
434 |
|
|
435 |
|
private BeginOperationDelegate onBeginConvertProcessStateDelegate;
|
436 |
|
|
437 |
|
private EndOperationDelegate onEndConvertProcessStateDelegate;
|
438 |
|
|
439 |
|
private System.Threading.SendOrPostCallback onConvertProcessStateCompletedDelegate;
|
440 |
|
|
441 |
|
private BeginOperationDelegate onBeginConvertMenualAddDelegate;
|
442 |
|
|
443 |
|
private EndOperationDelegate onEndConvertMenualAddDelegate;
|
444 |
|
|
445 |
|
private System.Threading.SendOrPostCallback onConvertMenualAddCompletedDelegate;
|
446 |
|
|
447 |
|
private BeginOperationDelegate onBeginConvertFinishDelegate;
|
448 |
|
|
449 |
|
private EndOperationDelegate onEndConvertFinishDelegate;
|
450 |
|
|
451 |
|
private System.Threading.SendOrPostCallback onConvertFinishCompletedDelegate;
|
452 |
|
|
453 |
|
private BeginOperationDelegate onBeginWaitConvertListDelegate;
|
454 |
|
|
455 |
|
private EndOperationDelegate onEndWaitConvertListDelegate;
|
456 |
|
|
457 |
|
private System.Threading.SendOrPostCallback onWaitConvertListCompletedDelegate;
|
458 |
|
|
459 |
|
private BeginOperationDelegate onBeginAliveConvertListDelegate;
|
460 |
|
|
461 |
|
private EndOperationDelegate onEndAliveConvertListDelegate;
|
462 |
|
|
463 |
|
private System.Threading.SendOrPostCallback onAliveConvertListCompletedDelegate;
|
464 |
|
|
465 |
455 |
public StationServiceClient() {
|
466 |
456 |
}
|
467 |
457 |
|
... | ... | |
481 |
471 |
base(binding, remoteAddress) {
|
482 |
472 |
}
|
483 |
473 |
|
484 |
|
public event System.EventHandler<ConvertAddCompletedEventArgs> ConvertAddCompleted;
|
485 |
|
|
486 |
|
public event System.EventHandler<SettingMultiProcessCompletedEventArgs> SettingMultiProcessCompleted;
|
487 |
|
|
488 |
|
public event System.EventHandler<ConvertProcessStateCompletedEventArgs> ConvertProcessStateCompleted;
|
489 |
|
|
490 |
|
public event System.EventHandler<ConvertMenualAddCompletedEventArgs> ConvertMenualAddCompleted;
|
491 |
|
|
492 |
|
public event System.EventHandler<ConvertFinishCompletedEventArgs> ConvertFinishCompleted;
|
493 |
|
|
494 |
|
public event System.EventHandler<WaitConvertListCompletedEventArgs> WaitConvertListCompleted;
|
495 |
|
|
496 |
|
public event System.EventHandler<AliveConvertListCompletedEventArgs> AliveConvertListCompleted;
|
497 |
|
|
498 |
474 |
public string ConvertAdd(string ProjectNo, string ConvertID) {
|
499 |
475 |
return base.Channel.ConvertAdd(ProjectNo, ConvertID);
|
500 |
476 |
}
|
501 |
477 |
|
502 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
503 |
|
public System.IAsyncResult BeginConvertAdd(string ProjectNo, string ConvertID, System.AsyncCallback callback, object asyncState) {
|
504 |
|
return base.Channel.BeginConvertAdd(ProjectNo, ConvertID, callback, asyncState);
|
505 |
|
}
|
506 |
|
|
507 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
508 |
|
public string EndConvertAdd(System.IAsyncResult result) {
|
509 |
|
return base.Channel.EndConvertAdd(result);
|
|
478 |
public System.Threading.Tasks.Task<string> ConvertAddAsync(string ProjectNo, string ConvertID) {
|
|
479 |
return base.Channel.ConvertAddAsync(ProjectNo, ConvertID);
|
510 |
480 |
}
|
511 |
481 |
|
512 |
|
private System.IAsyncResult OnBeginConvertAdd(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
513 |
|
string ProjectNo = ((string)(inValues[0]));
|
514 |
|
string ConvertID = ((string)(inValues[1]));
|
515 |
|
return this.BeginConvertAdd(ProjectNo, ConvertID, callback, asyncState);
|
|
482 |
public Markus.Service.StationController.StationService.Item GetConvertItem(string ProjectNo, string DocumentID) {
|
|
483 |
return base.Channel.GetConvertItem(ProjectNo, DocumentID);
|
516 |
484 |
}
|
517 |
485 |
|
518 |
|
private object[] OnEndConvertAdd(System.IAsyncResult result) {
|
519 |
|
string retVal = this.EndConvertAdd(result);
|
520 |
|
return new object[] {
|
521 |
|
retVal};
|
522 |
|
}
|
523 |
|
|
524 |
|
private void OnConvertAddCompleted(object state) {
|
525 |
|
if ((this.ConvertAddCompleted != null)) {
|
526 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
527 |
|
this.ConvertAddCompleted(this, new ConvertAddCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
528 |
|
}
|
529 |
|
}
|
530 |
|
|
531 |
|
public void ConvertAddAsync(string ProjectNo, string ConvertID) {
|
532 |
|
this.ConvertAddAsync(ProjectNo, ConvertID, null);
|
533 |
|
}
|
534 |
|
|
535 |
|
public void ConvertAddAsync(string ProjectNo, string ConvertID, object userState) {
|
536 |
|
if ((this.onBeginConvertAddDelegate == null)) {
|
537 |
|
this.onBeginConvertAddDelegate = new BeginOperationDelegate(this.OnBeginConvertAdd);
|
538 |
|
}
|
539 |
|
if ((this.onEndConvertAddDelegate == null)) {
|
540 |
|
this.onEndConvertAddDelegate = new EndOperationDelegate(this.OnEndConvertAdd);
|
541 |
|
}
|
542 |
|
if ((this.onConvertAddCompletedDelegate == null)) {
|
543 |
|
this.onConvertAddCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConvertAddCompleted);
|
544 |
|
}
|
545 |
|
base.InvokeAsync(this.onBeginConvertAddDelegate, new object[] {
|
546 |
|
ProjectNo,
|
547 |
|
ConvertID}, this.onEndConvertAddDelegate, this.onConvertAddCompletedDelegate, userState);
|
|
486 |
public System.Threading.Tasks.Task<Markus.Service.StationController.StationService.Item> GetConvertItemAsync(string ProjectNo, string DocumentID) {
|
|
487 |
return base.Channel.GetConvertItemAsync(ProjectNo, DocumentID);
|
548 |
488 |
}
|
549 |
489 |
|
550 |
490 |
public bool SettingMultiProcess(int Value) {
|
551 |
491 |
return base.Channel.SettingMultiProcess(Value);
|
552 |
492 |
}
|
553 |
493 |
|
554 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
555 |
|
public System.IAsyncResult BeginSettingMultiProcess(int Value, System.AsyncCallback callback, object asyncState) {
|
556 |
|
return base.Channel.BeginSettingMultiProcess(Value, callback, asyncState);
|
557 |
|
}
|
558 |
|
|
559 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
560 |
|
public bool EndSettingMultiProcess(System.IAsyncResult result) {
|
561 |
|
return base.Channel.EndSettingMultiProcess(result);
|
562 |
|
}
|
563 |
|
|
564 |
|
private System.IAsyncResult OnBeginSettingMultiProcess(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
565 |
|
int Value = ((int)(inValues[0]));
|
566 |
|
return this.BeginSettingMultiProcess(Value, callback, asyncState);
|
567 |
|
}
|
568 |
|
|
569 |
|
private object[] OnEndSettingMultiProcess(System.IAsyncResult result) {
|
570 |
|
bool retVal = this.EndSettingMultiProcess(result);
|
571 |
|
return new object[] {
|
572 |
|
retVal};
|
573 |
|
}
|
574 |
|
|
575 |
|
private void OnSettingMultiProcessCompleted(object state) {
|
576 |
|
if ((this.SettingMultiProcessCompleted != null)) {
|
577 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
578 |
|
this.SettingMultiProcessCompleted(this, new SettingMultiProcessCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
579 |
|
}
|
580 |
|
}
|
581 |
|
|
582 |
|
public void SettingMultiProcessAsync(int Value) {
|
583 |
|
this.SettingMultiProcessAsync(Value, null);
|
584 |
|
}
|
585 |
|
|
586 |
|
public void SettingMultiProcessAsync(int Value, object userState) {
|
587 |
|
if ((this.onBeginSettingMultiProcessDelegate == null)) {
|
588 |
|
this.onBeginSettingMultiProcessDelegate = new BeginOperationDelegate(this.OnBeginSettingMultiProcess);
|
589 |
|
}
|
590 |
|
if ((this.onEndSettingMultiProcessDelegate == null)) {
|
591 |
|
this.onEndSettingMultiProcessDelegate = new EndOperationDelegate(this.OnEndSettingMultiProcess);
|
592 |
|
}
|
593 |
|
if ((this.onSettingMultiProcessCompletedDelegate == null)) {
|
594 |
|
this.onSettingMultiProcessCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSettingMultiProcessCompleted);
|
595 |
|
}
|
596 |
|
base.InvokeAsync(this.onBeginSettingMultiProcessDelegate, new object[] {
|
597 |
|
Value}, this.onEndSettingMultiProcessDelegate, this.onSettingMultiProcessCompletedDelegate, userState);
|
|
494 |
public System.Threading.Tasks.Task<bool> SettingMultiProcessAsync(int Value) {
|
|
495 |
return base.Channel.SettingMultiProcessAsync(Value);
|
598 |
496 |
}
|
599 |
497 |
|
600 |
498 |
public bool ConvertProcessState(string ConvertID, int status, int CurrentPage, int TotalPage, string Error) {
|
601 |
499 |
return base.Channel.ConvertProcessState(ConvertID, status, CurrentPage, TotalPage, Error);
|
602 |
500 |
}
|
603 |
501 |
|
604 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
605 |
|
public System.IAsyncResult BeginConvertProcessState(string ConvertID, int status, int CurrentPage, int TotalPage, string Error, System.AsyncCallback callback, object asyncState) {
|
606 |
|
return base.Channel.BeginConvertProcessState(ConvertID, status, CurrentPage, TotalPage, Error, callback, asyncState);
|
607 |
|
}
|
608 |
|
|
609 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
610 |
|
public bool EndConvertProcessState(System.IAsyncResult result) {
|
611 |
|
return base.Channel.EndConvertProcessState(result);
|
612 |
|
}
|
613 |
|
|
614 |
|
private System.IAsyncResult OnBeginConvertProcessState(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
615 |
|
string ConvertID = ((string)(inValues[0]));
|
616 |
|
int status = ((int)(inValues[1]));
|
617 |
|
int CurrentPage = ((int)(inValues[2]));
|
618 |
|
int TotalPage = ((int)(inValues[3]));
|
619 |
|
string Error = ((string)(inValues[4]));
|
620 |
|
return this.BeginConvertProcessState(ConvertID, status, CurrentPage, TotalPage, Error, callback, asyncState);
|
621 |
|
}
|
622 |
|
|
623 |
|
private object[] OnEndConvertProcessState(System.IAsyncResult result) {
|
624 |
|
bool retVal = this.EndConvertProcessState(result);
|
625 |
|
return new object[] {
|
626 |
|
retVal};
|
627 |
|
}
|
628 |
|
|
629 |
|
private void OnConvertProcessStateCompleted(object state) {
|
630 |
|
if ((this.ConvertProcessStateCompleted != null)) {
|
631 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
632 |
|
this.ConvertProcessStateCompleted(this, new ConvertProcessStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
633 |
|
}
|
634 |
|
}
|
635 |
|
|
636 |
|
public void ConvertProcessStateAsync(string ConvertID, int status, int CurrentPage, int TotalPage, string Error) {
|
637 |
|
this.ConvertProcessStateAsync(ConvertID, status, CurrentPage, TotalPage, Error, null);
|
638 |
|
}
|
639 |
|
|
640 |
|
public void ConvertProcessStateAsync(string ConvertID, int status, int CurrentPage, int TotalPage, string Error, object userState) {
|
641 |
|
if ((this.onBeginConvertProcessStateDelegate == null)) {
|
642 |
|
this.onBeginConvertProcessStateDelegate = new BeginOperationDelegate(this.OnBeginConvertProcessState);
|
643 |
|
}
|
644 |
|
if ((this.onEndConvertProcessStateDelegate == null)) {
|
645 |
|
this.onEndConvertProcessStateDelegate = new EndOperationDelegate(this.OnEndConvertProcessState);
|
646 |
|
}
|
647 |
|
if ((this.onConvertProcessStateCompletedDelegate == null)) {
|
648 |
|
this.onConvertProcessStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConvertProcessStateCompleted);
|
649 |
|
}
|
650 |
|
base.InvokeAsync(this.onBeginConvertProcessStateDelegate, new object[] {
|
651 |
|
ConvertID,
|
652 |
|
status,
|
653 |
|
CurrentPage,
|
654 |
|
TotalPage,
|
655 |
|
Error}, this.onEndConvertProcessStateDelegate, this.onConvertProcessStateCompletedDelegate, userState);
|
|
502 |
public System.Threading.Tasks.Task<bool> ConvertProcessStateAsync(string ConvertID, int status, int CurrentPage, int TotalPage, string Error) {
|
|
503 |
return base.Channel.ConvertProcessStateAsync(ConvertID, status, CurrentPage, TotalPage, Error);
|
656 |
504 |
}
|
657 |
505 |
|
658 |
506 |
public string ConvertMenualAdd(string ProjectNo, string originfilePath, string DocumentID) {
|
659 |
507 |
return base.Channel.ConvertMenualAdd(ProjectNo, originfilePath, DocumentID);
|
660 |
508 |
}
|
661 |
509 |
|
662 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
663 |
|
public System.IAsyncResult BeginConvertMenualAdd(string ProjectNo, string originfilePath, string DocumentID, System.AsyncCallback callback, object asyncState) {
|
664 |
|
return base.Channel.BeginConvertMenualAdd(ProjectNo, originfilePath, DocumentID, callback, asyncState);
|
665 |
|
}
|
666 |
|
|
667 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
668 |
|
public string EndConvertMenualAdd(System.IAsyncResult result) {
|
669 |
|
return base.Channel.EndConvertMenualAdd(result);
|
670 |
|
}
|
671 |
|
|
672 |
|
private System.IAsyncResult OnBeginConvertMenualAdd(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
673 |
|
string ProjectNo = ((string)(inValues[0]));
|
674 |
|
string originfilePath = ((string)(inValues[1]));
|
675 |
|
string DocumentID = ((string)(inValues[2]));
|
676 |
|
return this.BeginConvertMenualAdd(ProjectNo, originfilePath, DocumentID, callback, asyncState);
|
677 |
|
}
|
678 |
|
|
679 |
|
private object[] OnEndConvertMenualAdd(System.IAsyncResult result) {
|
680 |
|
string retVal = this.EndConvertMenualAdd(result);
|
681 |
|
return new object[] {
|
682 |
|
retVal};
|
683 |
|
}
|
684 |
|
|
685 |
|
private void OnConvertMenualAddCompleted(object state) {
|
686 |
|
if ((this.ConvertMenualAddCompleted != null)) {
|
687 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
688 |
|
this.ConvertMenualAddCompleted(this, new ConvertMenualAddCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
689 |
|
}
|
690 |
|
}
|
691 |
|
|
692 |
|
public void ConvertMenualAddAsync(string ProjectNo, string originfilePath, string DocumentID) {
|
693 |
|
this.ConvertMenualAddAsync(ProjectNo, originfilePath, DocumentID, null);
|
694 |
|
}
|
695 |
|
|
696 |
|
public void ConvertMenualAddAsync(string ProjectNo, string originfilePath, string DocumentID, object userState) {
|
697 |
|
if ((this.onBeginConvertMenualAddDelegate == null)) {
|
698 |
|
this.onBeginConvertMenualAddDelegate = new BeginOperationDelegate(this.OnBeginConvertMenualAdd);
|
699 |
|
}
|
700 |
|
if ((this.onEndConvertMenualAddDelegate == null)) {
|
701 |
|
this.onEndConvertMenualAddDelegate = new EndOperationDelegate(this.OnEndConvertMenualAdd);
|
702 |
|
}
|
703 |
|
if ((this.onConvertMenualAddCompletedDelegate == null)) {
|
704 |
|
this.onConvertMenualAddCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConvertMenualAddCompleted);
|
705 |
|
}
|
706 |
|
base.InvokeAsync(this.onBeginConvertMenualAddDelegate, new object[] {
|
707 |
|
ProjectNo,
|
708 |
|
originfilePath,
|
709 |
|
DocumentID}, this.onEndConvertMenualAddDelegate, this.onConvertMenualAddCompletedDelegate, userState);
|
|
510 |
public System.Threading.Tasks.Task<string> ConvertMenualAddAsync(string ProjectNo, string originfilePath, string DocumentID) {
|
|
511 |
return base.Channel.ConvertMenualAddAsync(ProjectNo, originfilePath, DocumentID);
|
710 |
512 |
}
|
711 |
513 |
|
712 |
514 |
public bool ConvertFinish(string ConvertID, int status, int TotalPage, int CurrentPage, string Error) {
|
713 |
515 |
return base.Channel.ConvertFinish(ConvertID, status, TotalPage, CurrentPage, Error);
|
714 |
516 |
}
|
715 |
517 |
|
716 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
717 |
|
public System.IAsyncResult BeginConvertFinish(string ConvertID, int status, int TotalPage, int CurrentPage, string Error, System.AsyncCallback callback, object asyncState) {
|
718 |
|
return base.Channel.BeginConvertFinish(ConvertID, status, TotalPage, CurrentPage, Error, callback, asyncState);
|
719 |
|
}
|
720 |
|
|
721 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
722 |
|
public bool EndConvertFinish(System.IAsyncResult result) {
|
723 |
|
return base.Channel.EndConvertFinish(result);
|
724 |
|
}
|
725 |
|
|
726 |
|
private System.IAsyncResult OnBeginConvertFinish(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
727 |
|
string ConvertID = ((string)(inValues[0]));
|
728 |
|
int status = ((int)(inValues[1]));
|
729 |
|
int TotalPage = ((int)(inValues[2]));
|
730 |
|
int CurrentPage = ((int)(inValues[3]));
|
731 |
|
string Error = ((string)(inValues[4]));
|
732 |
|
return this.BeginConvertFinish(ConvertID, status, TotalPage, CurrentPage, Error, callback, asyncState);
|
733 |
|
}
|
734 |
|
|
735 |
|
private object[] OnEndConvertFinish(System.IAsyncResult result) {
|
736 |
|
bool retVal = this.EndConvertFinish(result);
|
737 |
|
return new object[] {
|
738 |
|
retVal};
|
739 |
|
}
|
740 |
|
|
741 |
|
private void OnConvertFinishCompleted(object state) {
|
742 |
|
if ((this.ConvertFinishCompleted != null)) {
|
743 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
744 |
|
this.ConvertFinishCompleted(this, new ConvertFinishCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
745 |
|
}
|
746 |
|
}
|
747 |
|
|
748 |
|
public void ConvertFinishAsync(string ConvertID, int status, int TotalPage, int CurrentPage, string Error) {
|
749 |
|
this.ConvertFinishAsync(ConvertID, status, TotalPage, CurrentPage, Error, null);
|
750 |
|
}
|
751 |
|
|
752 |
|
public void ConvertFinishAsync(string ConvertID, int status, int TotalPage, int CurrentPage, string Error, object userState) {
|
753 |
|
if ((this.onBeginConvertFinishDelegate == null)) {
|
754 |
|
this.onBeginConvertFinishDelegate = new BeginOperationDelegate(this.OnBeginConvertFinish);
|
755 |
|
}
|
756 |
|
if ((this.onEndConvertFinishDelegate == null)) {
|
757 |
|
this.onEndConvertFinishDelegate = new EndOperationDelegate(this.OnEndConvertFinish);
|
758 |
|
}
|
759 |
|
if ((this.onConvertFinishCompletedDelegate == null)) {
|
760 |
|
this.onConvertFinishCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConvertFinishCompleted);
|
761 |
|
}
|
762 |
|
base.InvokeAsync(this.onBeginConvertFinishDelegate, new object[] {
|
763 |
|
ConvertID,
|
764 |
|
status,
|
765 |
|
TotalPage,
|
766 |
|
CurrentPage,
|
767 |
|
Error}, this.onEndConvertFinishDelegate, this.onConvertFinishCompletedDelegate, userState);
|
|
518 |
public System.Threading.Tasks.Task<bool> ConvertFinishAsync(string ConvertID, int status, int TotalPage, int CurrentPage, string Error) {
|
|
519 |
return base.Channel.ConvertFinishAsync(ConvertID, status, TotalPage, CurrentPage, Error);
|
768 |
520 |
}
|
769 |
521 |
|
770 |
522 |
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> WaitConvertList() {
|
771 |
523 |
return base.Channel.WaitConvertList();
|
772 |
524 |
}
|
773 |
525 |
|
774 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
775 |
|
public System.IAsyncResult BeginWaitConvertList(System.AsyncCallback callback, object asyncState) {
|
776 |
|
return base.Channel.BeginWaitConvertList(callback, asyncState);
|
777 |
|
}
|
778 |
|
|
779 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
780 |
|
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> EndWaitConvertList(System.IAsyncResult result) {
|
781 |
|
return base.Channel.EndWaitConvertList(result);
|
782 |
|
}
|
783 |
|
|
784 |
|
private System.IAsyncResult OnBeginWaitConvertList(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
785 |
|
return this.BeginWaitConvertList(callback, asyncState);
|
786 |
|
}
|
787 |
|
|
788 |
|
private object[] OnEndWaitConvertList(System.IAsyncResult result) {
|
789 |
|
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> retVal = this.EndWaitConvertList(result);
|
790 |
|
return new object[] {
|
791 |
|
retVal};
|
792 |
|
}
|
793 |
|
|
794 |
|
private void OnWaitConvertListCompleted(object state) {
|
795 |
|
if ((this.WaitConvertListCompleted != null)) {
|
796 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
797 |
|
this.WaitConvertListCompleted(this, new WaitConvertListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
798 |
|
}
|
799 |
|
}
|
800 |
|
|
801 |
|
public void WaitConvertListAsync() {
|
802 |
|
this.WaitConvertListAsync(null);
|
803 |
|
}
|
804 |
|
|
805 |
|
public void WaitConvertListAsync(object userState) {
|
806 |
|
if ((this.onBeginWaitConvertListDelegate == null)) {
|
807 |
|
this.onBeginWaitConvertListDelegate = new BeginOperationDelegate(this.OnBeginWaitConvertList);
|
808 |
|
}
|
809 |
|
if ((this.onEndWaitConvertListDelegate == null)) {
|
810 |
|
this.onEndWaitConvertListDelegate = new EndOperationDelegate(this.OnEndWaitConvertList);
|
811 |
|
}
|
812 |
|
if ((this.onWaitConvertListCompletedDelegate == null)) {
|
813 |
|
this.onWaitConvertListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnWaitConvertListCompleted);
|
814 |
|
}
|
815 |
|
base.InvokeAsync(this.onBeginWaitConvertListDelegate, null, this.onEndWaitConvertListDelegate, this.onWaitConvertListCompletedDelegate, userState);
|
|
526 |
public System.Threading.Tasks.Task<System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>> WaitConvertListAsync() {
|
|
527 |
return base.Channel.WaitConvertListAsync();
|
816 |
528 |
}
|
817 |
529 |
|
818 |
530 |
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> AliveConvertList() {
|
819 |
531 |
return base.Channel.AliveConvertList();
|
820 |
532 |
}
|
821 |
533 |
|
822 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
823 |
|
public System.IAsyncResult BeginAliveConvertList(System.AsyncCallback callback, object asyncState) {
|
824 |
|
return base.Channel.BeginAliveConvertList(callback, asyncState);
|
825 |
|
}
|
826 |
|
|
827 |
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
828 |
|
public System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> EndAliveConvertList(System.IAsyncResult result) {
|
829 |
|
return base.Channel.EndAliveConvertList(result);
|
830 |
|
}
|
831 |
|
|
832 |
|
private System.IAsyncResult OnBeginAliveConvertList(object[] inValues, System.AsyncCallback callback, object asyncState) {
|
833 |
|
return this.BeginAliveConvertList(callback, asyncState);
|
834 |
|
}
|
835 |
|
|
836 |
|
private object[] OnEndAliveConvertList(System.IAsyncResult result) {
|
837 |
|
System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem> retVal = this.EndAliveConvertList(result);
|
838 |
|
return new object[] {
|
839 |
|
retVal};
|
840 |
|
}
|
841 |
|
|
842 |
|
private void OnAliveConvertListCompleted(object state) {
|
843 |
|
if ((this.AliveConvertListCompleted != null)) {
|
844 |
|
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
|
845 |
|
this.AliveConvertListCompleted(this, new AliveConvertListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
|
846 |
|
}
|
847 |
|
}
|
848 |
|
|
849 |
|
public void AliveConvertListAsync() {
|
850 |
|
this.AliveConvertListAsync(null);
|
851 |
|
}
|
852 |
|
|
853 |
|
public void AliveConvertListAsync(object userState) {
|
854 |
|
if ((this.onBeginAliveConvertListDelegate == null)) {
|
855 |
|
this.onBeginAliveConvertListDelegate = new BeginOperationDelegate(this.OnBeginAliveConvertList);
|
856 |
|
}
|
857 |
|
if ((this.onEndAliveConvertListDelegate == null)) {
|
858 |
|
this.onEndAliveConvertListDelegate = new EndOperationDelegate(this.OnEndAliveConvertList);
|
859 |
|
}
|
860 |
|
if ((this.onAliveConvertListCompletedDelegate == null)) {
|
861 |
|
this.onAliveConvertListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAliveConvertListCompleted);
|
862 |
|
}
|
863 |
|
base.InvokeAsync(this.onBeginAliveConvertListDelegate, null, this.onEndAliveConvertListDelegate, this.onAliveConvertListCompletedDelegate, userState);
|
|
534 |
public System.Threading.Tasks.Task<System.Collections.Generic.List<Markus.Service.StationController.StationService.ConvertItem>> AliveConvertListAsync() {
|
|
535 |
return base.Channel.AliveConvertListAsync();
|
864 |
536 |
}
|
865 |
537 |
}
|
866 |
538 |
}
|