프로젝트

일반

사용자정보

개정판 0498c12e

ID0498c12e83fdedf7a350282736df957541f84c5b
상위 b5005d4d
하위 706835b6, 8feb21df

김태성이(가) 5년 이상 전에 추가함

markus.service.StationController 수정

Change-Id: I601ebdcaef68c8df8a2470a47a754d4f54f4e857

차이점 보기:

ConvertService/ServiceBase/Markus.Mvvm.ToolKit/ViewModelBase.cs
1
namespace Markus.Mvvm.ToolKit
1
using System.Windows.Input;
2

  
3
namespace Markus.Mvvm.ToolKit
2 4
{
3 5
    public abstract class ViewModelBase : NotifyExpectation
4 6
    {
5 7

  
8
        #region ViewModel Base Binding
9
        
6 10
        ViewModelBase viewModel;
7 11

  
8 12
        public ViewModelBase ViewModel
......
13 17

  
14 18
        public string Name
15 19
        {
16
            get { return ViewModel.Name; }
20
            get { return ViewModel?.Name; }
17 21
            set
18 22
            {
19
                if (ViewModel.Name != value)
23
                if (ViewModel?.Name != value)
20 24
                {
21 25
                    ViewModel.Name = value;
22 26
                    OnPropertyChanged(()=>Name);
23 27
                }
24 28
            }
25 29
        }
30

  
31
        private bool isAcitve;
32

  
33
        public bool IsAcitve
34
        {
35
            get { return isAcitve; }
36
            set
37
            {
38
                if (isAcitve != value)
39
                {
40
                    isAcitve = value;
41
                    OnPropertyChanged(() => isAcitve);
42
                }
43
            }
44
        }
45

  
46
        #endregion
47

  
48
        #region Command
49

  
50
        private ICommand _ClosingCommand;
51
        public ICommand ClosingCommand
52
        {
53
            get => _ClosingCommand ?? (_ClosingCommand = new RelayCommand(param => this.Closed()));
54
        }
55

  
56
        private ICommand _LoadedCommand;
57
        public ICommand LoadedCommand
58
        {
59
            get => _LoadedCommand ?? (_LoadedCommand = new RelayCommand(param => this.Loaded()));
60
        }
61

  
62
        #endregion Command
63

  
64
        public virtual void Closed()
65
        {
66
            isAcitve = false;
67
        }
68

  
69
        public virtual void Loaded()
70
        {
71
            isAcitve = true;
72
        }
26 73
    }
27 74
}
ConvertService/ServiceBase/Markus.Service.StationController/App.config
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<configuration>
3 3
    <startup> 
4
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
4
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
5 5
    </startup>
6 6
  <runtime>
7 7
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
8
      <!--모든 DLL을 Bin폴더에서 참조한다.-->
8 9
      <probing privatePath="bin"/>
9 10
      <!--<dependentAssembly>
10 11
        <assemblyIdentity name="CommonServiceLocator" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
......
19 20
            </basicHttpBinding>
20 21
        </bindings>
21 22
        <client>
22
            <endpoint address="http://192.168.0.76:9111/StationService" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IStationService" contract="StationService.IStationService" name="BasicHttpBinding_IStationService"/>
23
            <endpoint address="http://localhost:9101/StationService" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IStationService" contract="StationService.IStationService" name="BasicHttpBinding_IStationService"/>
23 24
        </client>
24 25
    </system.serviceModel>
25 26
</configuration>
ConvertService/ServiceBase/Markus.Service.StationController/App.xaml
7 7
    <Application.Resources>
8 8
        <ResourceDictionary>
9 9
            <ResourceDictionary.MergedDictionaries>
10
                <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
11
                <ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />
12
                <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Primary/MaterialDesignColor.Blue.xaml" />
13
                <ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Purple.xaml" />
10
                <ResourceDictionary Source="Themes/MaterialDesignTheme.xaml"/>
14 11
            </ResourceDictionary.MergedDictionaries>
15 12
        </ResourceDictionary>
16 13
    </Application.Resources>
ConvertService/ServiceBase/Markus.Service.StationController/AppInit.cs
1
using Markus.Service.Helper;
2
using Markus.Service.StationController.StationService;
3
using Microsoft.Win32;
4
using System;
5
using System.Collections.Generic;
6
using System.Linq;
7
using System.ServiceModel;
8
using System.Text;
9
using System.Threading.Tasks;
10
using System.Windows;
11

  
12
namespace Markus.Service.StationController
13
{
14
    public partial class App : Application
15
    {
16
        public static StationService.StationServiceClient StationClient;
17

  
18
        public App()
19
        {
20
            var path = GetAppPath("ConvertService");
21
            System.Diagnostics.Debug.WriteLine(path);
22
            ServiceConnection();
23
        }
24

  
25
        private void ServiceConnection()
26
        {
27
            try
28
            {
29
                var configFileName = $"StationController.ini";
30

  
31
                var config = ConfigHelper.AppConfig(configFileName);
32

  
33
                var serviceUri = config.GetValue("SERVICE", "ADDRESS", "http://Localhost:9101/StationService");
34

  
35
                BasicHttpBinding myBinding = new BasicHttpBinding();
36
                EndpointAddress myEndpoint = new EndpointAddress(UriHelper.UriCreate(serviceUri));
37
                StationClient = new StationService.StationServiceClient(myBinding, myEndpoint);
38
            }
39
            catch (Exception ex)
40
            {
41
            }
42
        }
43

  
44
        private string GetAppPath(string productName)
45
        {
46
            const string foldersPath = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Folders";
47
            var baseKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
48

  
49
            var subKey = baseKey.OpenSubKey(foldersPath);
50
            if (subKey == null)
51
            {
52
                baseKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64);
53
                subKey = baseKey.OpenSubKey(foldersPath);
54
            }
55
            return subKey != null ? subKey.GetValueNames().FirstOrDefault(kv => kv.Contains(productName)) : "ERROR";
56
        }
57

  
58
    }
59
}
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Markus.Service.IWcfService.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Markus.Service.IWcfService" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Markus.Service.IWcfService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
  <xs:complexType name="Item">
4
    <xs:sequence>
5
      <xs:element minOccurs="0" name="ConvertPath" nillable="true" type="xs:string" />
6
      <xs:element minOccurs="0" name="CurrentPageNo" type="xs:int" />
7
      <xs:element minOccurs="0" name="DocumentID" nillable="true" type="xs:string" />
8
      <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:string" />
9
      <xs:element minOccurs="0" name="PdfPath" nillable="true" type="xs:string" />
10
      <xs:element minOccurs="0" name="ProjectNo" nillable="true" type="xs:string" />
11
      <xs:element minOccurs="0" name="ProjectNumber" nillable="true" type="xs:string" />
12
      <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
13
      <xs:element minOccurs="0" name="TotalPage" type="xs:int" />
14
    </xs:sequence>
15
  </xs:complexType>
16
  <xs:element name="Item" nillable="true" type="tns:Item" />
17
</xs:schema>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Markus.Service.Interface.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
  <xs:complexType name="ArrayOfConvertItem">
4
    <xs:sequence>
5
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ConvertItem" nillable="true" type="tns:ConvertItem" />
6
    </xs:sequence>
7
  </xs:complexType>
8
  <xs:element name="ArrayOfConvertItem" nillable="true" type="tns:ArrayOfConvertItem" />
9
  <xs:complexType name="ConvertItem">
10
    <xs:sequence>
11
      <xs:element minOccurs="0" name="ConvertID" nillable="true" type="xs:string" />
12
      <xs:element minOccurs="0" name="ConvertPath" nillable="true" type="xs:string" />
13
      <xs:element minOccurs="0" name="ConvertState" nillable="true" type="xs:string" />
14
      <xs:element minOccurs="0" name="CreateTime" type="xs:dateTime" />
15
      <xs:element minOccurs="0" name="CurrentPageNo" type="xs:int" />
16
      <xs:element minOccurs="0" name="OriginfilePath" nillable="true" type="xs:string" />
17
      <xs:element minOccurs="0" name="PdfState" nillable="true" type="xs:string" />
18
      <xs:element minOccurs="0" name="ProcessorAffinity" type="xs:long" />
19
      <xs:element minOccurs="0" name="ProjectNumber" nillable="true" type="xs:string" />
20
      <xs:element minOccurs="0" name="TotalPage" type="xs:int" />
21
      <xs:element minOccurs="0" name="UniqueKey" nillable="true" type="xs:string" />
22
    </xs:sequence>
23
  </xs:complexType>
24
  <xs:element name="ConvertItem" nillable="true" type="tns:ConvertItem" />
25
</xs:schema>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Markus.Service.Interface1.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
  <xs:complexType name="ArrayOfConvertItem">
4
    <xs:sequence>
5
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ConvertItem" nillable="true" type="tns:ConvertItem" />
6
    </xs:sequence>
7
  </xs:complexType>
8
  <xs:element name="ArrayOfConvertItem" nillable="true" type="tns:ArrayOfConvertItem" />
9
  <xs:complexType name="ConvertItem">
10
    <xs:sequence>
11
      <xs:element minOccurs="0" name="ConvertID" nillable="true" type="xs:string" />
12
      <xs:element minOccurs="0" name="ConvertPath" nillable="true" type="xs:string" />
13
      <xs:element minOccurs="0" name="ConvertState" nillable="true" type="xs:string" />
14
      <xs:element minOccurs="0" name="CreateTime" type="xs:dateTime" />
15
      <xs:element minOccurs="0" name="CurrentPageNo" type="xs:int" />
16
      <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:string" />
17
      <xs:element minOccurs="0" name="OriginfilePath" nillable="true" type="xs:string" />
18
      <xs:element minOccurs="0" name="ProcessorAffinity" type="xs:long" />
19
      <xs:element minOccurs="0" name="ProjectNumber" nillable="true" type="xs:string" />
20
      <xs:element minOccurs="0" name="TotalPage" type="xs:int" />
21
      <xs:element minOccurs="0" name="UniqueKey" nillable="true" type="xs:string" />
22
    </xs:sequence>
23
  </xs:complexType>
24
  <xs:element name="ConvertItem" nillable="true" type="tns:ConvertItem" />
25
</xs:schema>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Markus.Service.StationController.StationService.Item.datasource
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
    This file is automatically generated by Visual Studio .Net. It is 
4
    used to store generic object data source configuration information.  
5
    Renaming the file extension or editing the content of this file may   
6
    cause the file to be unrecognizable by the program.
7
-->
8
<GenericObjectDataSource DisplayName="Item" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
9
   <TypeInfo>Markus.Service.StationController.StationService.Item, Connected Services.StationService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
10
</GenericObjectDataSource>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Reference.cs
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
}
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/Reference.svcmap
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="1d45b41c-0da1-46d3-8517-c9a910c8e45a" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
3 3
  <ClientOptions>
4
    <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods>
4
    <GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
5
    <GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
5 6
    <EnableDataBinding>true</EnableDataBinding>
6 7
    <ExcludedTypes />
7 8
    <ImportXmlTypes>false</ImportXmlTypes>
......
20 21
    <ServiceContractMappings />
21 22
  </ClientOptions>
22 23
  <MetadataSources>
23
    <MetadataSource Address="http://localhost:9111/StationService/mex" Protocol="mex" SourceId="1" />
24
    <MetadataSource Address="http://localhost:9101/StationService/mex" Protocol="mex" SourceId="1" />
24 25
  </MetadataSources>
25 26
  <Metadata>
26
    <MetadataFile FileName="service.wsdl" MetadataType="Wsdl" ID="cef03a6d-0489-4dcf-bed3-30bfa0dd29ec" SourceId="1" SourceUrl="http://localhost:9111/StationService/mex" />
27
    <MetadataFile FileName="service.xsd" MetadataType="Schema" ID="90594af4-b2de-420a-8bda-9efba13697ef" SourceId="1" SourceUrl="http://localhost:9111/StationService/mex" />
28
    <MetadataFile FileName="service1.xsd" MetadataType="Schema" ID="dc32df74-c8a3-4ee6-ac61-3246a5822fbf" SourceId="1" SourceUrl="http://localhost:9111/StationService/mex" />
29
    <MetadataFile FileName="Markus.Service.Interface.xsd" MetadataType="Schema" ID="69593963-a6f6-4d1e-a290-1d6f91731731" SourceId="1" SourceUrl="http://localhost:9111/StationService/mex" />
27
    <MetadataFile FileName="service1.wsdl" MetadataType="Wsdl" ID="ffaef2dc-7d12-485d-a727-dc04de42bac2" SourceId="1" SourceUrl="http://localhost:9101/StationService/mex" />
28
    <MetadataFile FileName="service2.xsd" MetadataType="Schema" ID="f85236ec-185b-4387-a2b2-7805a3ea74b6" SourceId="1" SourceUrl="http://localhost:9101/StationService/mex" />
29
    <MetadataFile FileName="service21.xsd" MetadataType="Schema" ID="5fbcc765-2198-4596-8155-7dc3422d16d3" SourceId="1" SourceUrl="http://localhost:9101/StationService/mex" />
30
    <MetadataFile FileName="Markus.Service.IWcfService.xsd" MetadataType="Schema" ID="ae5e52cc-7dea-4f8e-8f39-81f42fa27aaf" SourceId="1" SourceUrl="http://localhost:9101/StationService/mex" />
31
    <MetadataFile FileName="Markus.Service.Interface1.xsd" MetadataType="Schema" ID="feec4dc8-83d2-4a8a-8feb-8f4d75cae0fd" SourceId="1" SourceUrl="http://localhost:9101/StationService/mex" />
30 32
  </Metadata>
31 33
  <Extensions>
32 34
    <ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/configuration.svcinfo
5 5
    <binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;BasicHttpBinding_IStationService&quot; /&gt;" bindingType="basicHttpBinding" name="BasicHttpBinding_IStationService" />
6 6
  </bindings>
7 7
  <endpoints>
8
    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9111/StationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IStationService&quot; contract=&quot;StationService.IStationService&quot; name=&quot;BasicHttpBinding_IStationService&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9111/StationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IStationService&quot; contract=&quot;StationService.IStationService&quot; name=&quot;BasicHttpBinding_IStationService&quot; /&gt;" contractName="StationService.IStationService" name="BasicHttpBinding_IStationService" />
8
    <endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9101/StationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IStationService&quot; contract=&quot;StationService.IStationService&quot; name=&quot;BasicHttpBinding_IStationService&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://localhost:9101/StationService&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IStationService&quot; contract=&quot;StationService.IStationService&quot; name=&quot;BasicHttpBinding_IStationService&quot; /&gt;" contractName="StationService.IStationService" name="BasicHttpBinding_IStationService" />
9 9
  </endpoints>
10 10
</configurationSnapshot>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/configuration91.svcinfo
1 1
<?xml version="1.0" encoding="utf-8"?>
2
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="FZ71BevQ5DzVE7m8YXL6XV8/exc=">
2
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="oU4i9wEnHh7d6pZ4c5ZtMkfCTPM=">
3 3
  <bindingConfigurations>
4 4
    <bindingConfiguration bindingType="basicHttpBinding" name="BasicHttpBinding_IStationService">
5 5
      <properties>
......
112 112
    </bindingConfiguration>
113 113
  </bindingConfigurations>
114 114
  <endpoints>
115
    <endpoint name="BasicHttpBinding_IStationService" contract="StationService.IStationService" bindingType="basicHttpBinding" address="http://localhost:9111/StationService" bindingConfiguration="BasicHttpBinding_IStationService">
115
    <endpoint name="BasicHttpBinding_IStationService" contract="StationService.IStationService" bindingType="basicHttpBinding" address="http://localhost:9101/StationService" bindingConfiguration="BasicHttpBinding_IStationService">
116 116
      <properties>
117 117
        <property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
118
          <serializedValue>http://localhost:9111/StationService</serializedValue>
118
          <serializedValue>http://localhost:9101/StationService</serializedValue>
119 119
        </property>
120 120
        <property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
121 121
          <serializedValue />
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/service.wsdl
1
<?xml version="1.0" encoding="utf-8"?>
2
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="StationService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3
  <wsdl:types>
4
    <xsd:schema targetNamespace="http://tempuri.org/Imports">
5
      <xsd:import namespace="http://tempuri.org/" />
6
      <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
7
      <xsd:import namespace="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" />
8
    </xsd:schema>
9
  </wsdl:types>
10
  <wsdl:message name="IStationService_ConvertAdd_InputMessage">
11
    <wsdl:part name="parameters" element="tns:ConvertAdd" />
12
  </wsdl:message>
13
  <wsdl:message name="IStationService_ConvertAdd_OutputMessage">
14
    <wsdl:part name="parameters" element="tns:ConvertAddResponse" />
15
  </wsdl:message>
16
  <wsdl:message name="IStationService_SettingMultiProcess_InputMessage">
17
    <wsdl:part name="parameters" element="tns:SettingMultiProcess" />
18
  </wsdl:message>
19
  <wsdl:message name="IStationService_SettingMultiProcess_OutputMessage">
20
    <wsdl:part name="parameters" element="tns:SettingMultiProcessResponse" />
21
  </wsdl:message>
22
  <wsdl:message name="IStationService_ConvertProcessState_InputMessage">
23
    <wsdl:part name="parameters" element="tns:ConvertProcessState" />
24
  </wsdl:message>
25
  <wsdl:message name="IStationService_ConvertProcessState_OutputMessage">
26
    <wsdl:part name="parameters" element="tns:ConvertProcessStateResponse" />
27
  </wsdl:message>
28
  <wsdl:message name="IStationService_ConvertMenualAdd_InputMessage">
29
    <wsdl:part name="parameters" element="tns:ConvertMenualAdd" />
30
  </wsdl:message>
31
  <wsdl:message name="IStationService_ConvertMenualAdd_OutputMessage">
32
    <wsdl:part name="parameters" element="tns:ConvertMenualAddResponse" />
33
  </wsdl:message>
34
  <wsdl:message name="IStationService_ConvertFinish_InputMessage">
35
    <wsdl:part name="parameters" element="tns:ConvertFinish" />
36
  </wsdl:message>
37
  <wsdl:message name="IStationService_ConvertFinish_OutputMessage">
38
    <wsdl:part name="parameters" element="tns:ConvertFinishResponse" />
39
  </wsdl:message>
40
  <wsdl:message name="IStationService_WaitConvertList_InputMessage">
41
    <wsdl:part name="parameters" element="tns:WaitConvertList" />
42
  </wsdl:message>
43
  <wsdl:message name="IStationService_WaitConvertList_OutputMessage">
44
    <wsdl:part name="parameters" element="tns:WaitConvertListResponse" />
45
  </wsdl:message>
46
  <wsdl:message name="IStationService_AliveConvertList_InputMessage">
47
    <wsdl:part name="parameters" element="tns:AliveConvertList" />
48
  </wsdl:message>
49
  <wsdl:message name="IStationService_AliveConvertList_OutputMessage">
50
    <wsdl:part name="parameters" element="tns:AliveConvertListResponse" />
51
  </wsdl:message>
52
  <wsdl:portType name="IStationService">
53
    <wsdl:operation name="ConvertAdd">
54
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/ConvertAdd" message="tns:IStationService_ConvertAdd_InputMessage" />
55
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/ConvertAddResponse" message="tns:IStationService_ConvertAdd_OutputMessage" />
56
    </wsdl:operation>
57
    <wsdl:operation name="SettingMultiProcess">
58
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/SettingMultiProcess" message="tns:IStationService_SettingMultiProcess_InputMessage" />
59
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/SettingMultiProcessResponse" message="tns:IStationService_SettingMultiProcess_OutputMessage" />
60
    </wsdl:operation>
61
    <wsdl:operation name="ConvertProcessState">
62
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/ConvertProcessState" message="tns:IStationService_ConvertProcessState_InputMessage" />
63
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/ConvertProcessStateResponse" message="tns:IStationService_ConvertProcessState_OutputMessage" />
64
    </wsdl:operation>
65
    <wsdl:operation name="ConvertMenualAdd">
66
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/ConvertMenualAdd" message="tns:IStationService_ConvertMenualAdd_InputMessage" />
67
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/ConvertMenualAddResponse" message="tns:IStationService_ConvertMenualAdd_OutputMessage" />
68
    </wsdl:operation>
69
    <wsdl:operation name="ConvertFinish">
70
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/ConvertFinish" message="tns:IStationService_ConvertFinish_InputMessage" />
71
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/ConvertFinishResponse" message="tns:IStationService_ConvertFinish_OutputMessage" />
72
    </wsdl:operation>
73
    <wsdl:operation name="WaitConvertList">
74
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/WaitConvertList" message="tns:IStationService_WaitConvertList_InputMessage" />
75
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/WaitConvertListResponse" message="tns:IStationService_WaitConvertList_OutputMessage" />
76
    </wsdl:operation>
77
    <wsdl:operation name="AliveConvertList">
78
      <wsdl:input wsaw:Action="http://tempuri.org/IStationService/AliveConvertList" message="tns:IStationService_AliveConvertList_InputMessage" />
79
      <wsdl:output wsaw:Action="http://tempuri.org/IStationService/AliveConvertListResponse" message="tns:IStationService_AliveConvertList_OutputMessage" />
80
    </wsdl:operation>
81
  </wsdl:portType>
82
  <wsdl:binding name="BasicHttpBinding_IStationService" type="tns:IStationService">
83
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
84
    <wsdl:operation name="ConvertAdd">
85
      <soap:operation soapAction="http://tempuri.org/IStationService/ConvertAdd" style="document" />
86
      <wsdl:input>
87
        <soap:body use="literal" />
88
      </wsdl:input>
89
      <wsdl:output>
90
        <soap:body use="literal" />
91
      </wsdl:output>
92
    </wsdl:operation>
93
    <wsdl:operation name="SettingMultiProcess">
94
      <soap:operation soapAction="http://tempuri.org/IStationService/SettingMultiProcess" style="document" />
95
      <wsdl:input>
96
        <soap:body use="literal" />
97
      </wsdl:input>
98
      <wsdl:output>
99
        <soap:body use="literal" />
100
      </wsdl:output>
101
    </wsdl:operation>
102
    <wsdl:operation name="ConvertProcessState">
103
      <soap:operation soapAction="http://tempuri.org/IStationService/ConvertProcessState" style="document" />
104
      <wsdl:input>
105
        <soap:body use="literal" />
106
      </wsdl:input>
107
      <wsdl:output>
108
        <soap:body use="literal" />
109
      </wsdl:output>
110
    </wsdl:operation>
111
    <wsdl:operation name="ConvertMenualAdd">
112
      <soap:operation soapAction="http://tempuri.org/IStationService/ConvertMenualAdd" style="document" />
113
      <wsdl:input>
114
        <soap:body use="literal" />
115
      </wsdl:input>
116
      <wsdl:output>
117
        <soap:body use="literal" />
118
      </wsdl:output>
119
    </wsdl:operation>
120
    <wsdl:operation name="ConvertFinish">
121
      <soap:operation soapAction="http://tempuri.org/IStationService/ConvertFinish" style="document" />
122
      <wsdl:input>
123
        <soap:body use="literal" />
124
      </wsdl:input>
125
      <wsdl:output>
126
        <soap:body use="literal" />
127
      </wsdl:output>
128
    </wsdl:operation>
129
    <wsdl:operation name="WaitConvertList">
130
      <soap:operation soapAction="http://tempuri.org/IStationService/WaitConvertList" style="document" />
131
      <wsdl:input>
132
        <soap:body use="literal" />
133
      </wsdl:input>
134
      <wsdl:output>
135
        <soap:body use="literal" />
136
      </wsdl:output>
137
    </wsdl:operation>
138
    <wsdl:operation name="AliveConvertList">
139
      <soap:operation soapAction="http://tempuri.org/IStationService/AliveConvertList" style="document" />
140
      <wsdl:input>
141
        <soap:body use="literal" />
142
      </wsdl:input>
143
      <wsdl:output>
144
        <soap:body use="literal" />
145
      </wsdl:output>
146
    </wsdl:operation>
147
  </wsdl:binding>
148
  <wsdl:service name="StationService">
149
    <wsdl:port name="BasicHttpBinding_IStationService" binding="tns:BasicHttpBinding_IStationService">
150
      <soap:address location="http://localhost:9111/StationService" />
151
    </wsdl:port>
152
  </wsdl:service>
153
</wsdl:definitions>
ConvertService/ServiceBase/Markus.Service.StationController/Connected Services/StationService/service.xsd
1
<?xml version="1.0" encoding="utf-8"?>
2
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
  <xs:import namespace="http://schemas.datacontract.org/2004/07/Markus.Service.Interface" />
4
  <xs:element name="ConvertAdd">
5
    <xs:complexType>
6
      <xs:sequence>
7
        <xs:element minOccurs="0" name="ProjectNo" nillable="true" type="xs:string" />
8
        <xs:element minOccurs="0" name="ConvertID" nillable="true" type="xs:string" />
9
      </xs:sequence>
10
    </xs:complexType>
11
  </xs:element>
12
  <xs:element name="ConvertAddResponse">
13
    <xs:complexType>
14
      <xs:sequence>
15
        <xs:element minOccurs="0" name="ConvertAddResult" nillable="true" type="xs:string" />
16
      </xs:sequence>
17
    </xs:complexType>
18
  </xs:element>
19
  <xs:element name="SettingMultiProcess">
20
    <xs:complexType>
21
      <xs:sequence>
22
        <xs:element minOccurs="0" name="Value" type="xs:int" />
23
      </xs:sequence>
24
    </xs:complexType>
25
  </xs:element>
26
  <xs:element name="SettingMultiProcessResponse">
27
    <xs:complexType>
28
      <xs:sequence>
29
        <xs:element minOccurs="0" name="SettingMultiProcessResult" type="xs:boolean" />
30
      </xs:sequence>
31
    </xs:complexType>
32
  </xs:element>
33
  <xs:element name="ConvertProcessState">
34
    <xs:complexType>
35
      <xs:sequence>
36
        <xs:element minOccurs="0" name="ConvertID" nillable="true" type="xs:string" />
37
        <xs:element minOccurs="0" name="status" type="xs:int" />
38
        <xs:element minOccurs="0" name="CurrentPage" type="xs:int" />
39
        <xs:element minOccurs="0" name="TotalPage" type="xs:int" />
40
        <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string" />
41
      </xs:sequence>
42
    </xs:complexType>
43
  </xs:element>
44
  <xs:element name="ConvertProcessStateResponse">
45
    <xs:complexType>
46
      <xs:sequence>
47
        <xs:element minOccurs="0" name="ConvertProcessStateResult" type="xs:boolean" />
48
      </xs:sequence>
49
    </xs:complexType>
50
  </xs:element>
51
  <xs:element name="ConvertMenualAdd">
52
    <xs:complexType>
53
      <xs:sequence>
54
        <xs:element minOccurs="0" name="ProjectNo" nillable="true" type="xs:string" />
55
        <xs:element minOccurs="0" name="originfilePath" nillable="true" type="xs:string" />
56
        <xs:element minOccurs="0" name="DocumentID" nillable="true" type="xs:string" />
57
      </xs:sequence>
58
    </xs:complexType>
59
  </xs:element>
60
  <xs:element name="ConvertMenualAddResponse">
61
    <xs:complexType>
62
      <xs:sequence>
63
        <xs:element minOccurs="0" name="ConvertMenualAddResult" nillable="true" type="xs:string" />
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)