qwj
2022-08-22 63f6c5de8832eaabf066fe9f9d492187f04011b7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.1008
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace CY_DocumentSynchroWCFService.RegisterService {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DocumentRegiste", Namespace="http://schemas.datacontract.org/2004/07/CY_DocumentSystemWCFService")]
    [System.SerializableAttribute()]
    public partial class DocumentRegiste : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int IdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int IsRegisteField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteAddressField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteCityField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteCompanyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteCountryField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteEmailField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteIPField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteMachineCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteMobileField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegistePhoneField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegistePostCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteProvinceField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteQQField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegisteUserField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int UseStateField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Id {
            get {
                return this.IdField;
            }
            set {
                if ((this.IdField.Equals(value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int IsRegiste {
            get {
                return this.IsRegisteField;
            }
            set {
                if ((this.IsRegisteField.Equals(value) != true)) {
                    this.IsRegisteField = value;
                    this.RaisePropertyChanged("IsRegiste");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteAddress {
            get {
                return this.RegisteAddressField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteAddressField, value) != true)) {
                    this.RegisteAddressField = value;
                    this.RaisePropertyChanged("RegisteAddress");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteCity {
            get {
                return this.RegisteCityField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteCityField, value) != true)) {
                    this.RegisteCityField = value;
                    this.RaisePropertyChanged("RegisteCity");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteCode {
            get {
                return this.RegisteCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteCodeField, value) != true)) {
                    this.RegisteCodeField = value;
                    this.RaisePropertyChanged("RegisteCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteCompany {
            get {
                return this.RegisteCompanyField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteCompanyField, value) != true)) {
                    this.RegisteCompanyField = value;
                    this.RaisePropertyChanged("RegisteCompany");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteCountry {
            get {
                return this.RegisteCountryField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteCountryField, value) != true)) {
                    this.RegisteCountryField = value;
                    this.RaisePropertyChanged("RegisteCountry");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteEmail {
            get {
                return this.RegisteEmailField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteEmailField, value) != true)) {
                    this.RegisteEmailField = value;
                    this.RaisePropertyChanged("RegisteEmail");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteIP {
            get {
                return this.RegisteIPField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteIPField, value) != true)) {
                    this.RegisteIPField = value;
                    this.RaisePropertyChanged("RegisteIP");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteMachineCode {
            get {
                return this.RegisteMachineCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteMachineCodeField, value) != true)) {
                    this.RegisteMachineCodeField = value;
                    this.RaisePropertyChanged("RegisteMachineCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteMobile {
            get {
                return this.RegisteMobileField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteMobileField, value) != true)) {
                    this.RegisteMobileField = value;
                    this.RaisePropertyChanged("RegisteMobile");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegistePhone {
            get {
                return this.RegistePhoneField;
            }
            set {
                if ((object.ReferenceEquals(this.RegistePhoneField, value) != true)) {
                    this.RegistePhoneField = value;
                    this.RaisePropertyChanged("RegistePhone");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegistePostCode {
            get {
                return this.RegistePostCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.RegistePostCodeField, value) != true)) {
                    this.RegistePostCodeField = value;
                    this.RaisePropertyChanged("RegistePostCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteProvince {
            get {
                return this.RegisteProvinceField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteProvinceField, value) != true)) {
                    this.RegisteProvinceField = value;
                    this.RaisePropertyChanged("RegisteProvince");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteQQ {
            get {
                return this.RegisteQQField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteQQField, value) != true)) {
                    this.RegisteQQField = value;
                    this.RaisePropertyChanged("RegisteQQ");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegisteUser {
            get {
                return this.RegisteUserField;
            }
            set {
                if ((object.ReferenceEquals(this.RegisteUserField, value) != true)) {
                    this.RegisteUserField = value;
                    this.RaisePropertyChanged("RegisteUser");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int UseState {
            get {
                return this.UseStateField;
            }
            set {
                if ((this.UseStateField.Equals(value) != true)) {
                    this.UseStateField = value;
                    this.RaisePropertyChanged("UseState");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="RegisterService.IRegisterSystem")]
    public interface IRegisterSystem {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/RegisteSystem", ReplyAction="http://tempuri.org/IRegisterSystem/RegisteSystemResponse")]
        bool RegisteSystem(out string encryptStr, out string strPrivateKey, out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste, string machineCode);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/UPSystem", ReplyAction="http://tempuri.org/IRegisterSystem/UPSystemResponse")]
        bool UPSystem(out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRegisterSystem/GetNewVersion", ReplyAction="http://tempuri.org/IRegisterSystem/GetNewVersionResponse")]
        bool GetNewVersion(out string[] newVerList, out int IsNew, string softCode, string nowVersion);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IRegisterSystemChannel : CY_DocumentSynchroWCFService.RegisterService.IRegisterSystem, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class RegisterSystemClient : System.ServiceModel.ClientBase<CY_DocumentSynchroWCFService.RegisterService.IRegisterSystem>, CY_DocumentSynchroWCFService.RegisterService.IRegisterSystem {
        
        public RegisterSystemClient() {
        }
        
        public RegisterSystemClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public RegisterSystemClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public RegisterSystemClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public RegisterSystemClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public bool RegisteSystem(out string encryptStr, out string strPrivateKey, out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste, string machineCode) {
            return base.Channel.RegisteSystem(out encryptStr, out strPrivateKey, out UseState, documentRegiste, machineCode);
        }
        
        public bool UPSystem(out int UseState, CY_DocumentSynchroWCFService.RegisterService.DocumentRegiste documentRegiste) {
            return base.Channel.UPSystem(out UseState, documentRegiste);
        }
        
        public bool GetNewVersion(out string[] newVerList, out int IsNew, string softCode, string nowVersion) {
            return base.Channel.GetNewVersion(out newVerList, out IsNew, softCode, nowVersion);
        }
    }
}