/[projects]/dao/DaoMqPump2/DaoMqGUI/Service References/ServiceReference1/Reference.cs
ViewVC logotype

Contents of /dao/DaoMqPump2/DaoMqGUI/Service References/ServiceReference1/Reference.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2000 - (show annotations) (download)
Mon Jul 8 14:23:01 2013 UTC (10 years, 10 months ago) by torben
File size: 11820 byte(s)
Client side parts of:
 Use one StatusData struct to transfer data
 Introduce EventLog file
 Add lastTransferTime to status data
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.586
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace DaoMqGUI.ServiceReference1 {
12 using System.Runtime.Serialization;
13 using System;
14
15
16 [System.Diagnostics.DebuggerStepThroughAttribute()]
17 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
18 [System.Runtime.Serialization.DataContractAttribute(Name="StatusData", Namespace="http://schemas.datacontract.org/2004/07/DaoMqPump2")]
19 [System.SerializableAttribute()]
20 public partial class StatusData : 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 int counterField;
27
28 [System.Runtime.Serialization.OptionalFieldAttribute()]
29 private string lastErrorMessageField;
30
31 [System.Runtime.Serialization.OptionalFieldAttribute()]
32 private string lastErrorTimeField;
33
34 [System.Runtime.Serialization.OptionalFieldAttribute()]
35 private string lastOkTimeField;
36
37 [System.Runtime.Serialization.OptionalFieldAttribute()]
38 private string lastTransferTimeField;
39
40 [System.Runtime.Serialization.OptionalFieldAttribute()]
41 private bool lastrunOkField;
42
43 [System.Runtime.Serialization.OptionalFieldAttribute()]
44 private bool transportEnabledField;
45
46 [global::System.ComponentModel.BrowsableAttribute(false)]
47 public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
48 get {
49 return this.extensionDataField;
50 }
51 set {
52 this.extensionDataField = value;
53 }
54 }
55
56 [System.Runtime.Serialization.DataMemberAttribute()]
57 public int counter {
58 get {
59 return this.counterField;
60 }
61 set {
62 if ((this.counterField.Equals(value) != true)) {
63 this.counterField = value;
64 this.RaisePropertyChanged("counter");
65 }
66 }
67 }
68
69 [System.Runtime.Serialization.DataMemberAttribute()]
70 public string lastErrorMessage {
71 get {
72 return this.lastErrorMessageField;
73 }
74 set {
75 if ((object.ReferenceEquals(this.lastErrorMessageField, value) != true)) {
76 this.lastErrorMessageField = value;
77 this.RaisePropertyChanged("lastErrorMessage");
78 }
79 }
80 }
81
82 [System.Runtime.Serialization.DataMemberAttribute()]
83 public string lastErrorTime {
84 get {
85 return this.lastErrorTimeField;
86 }
87 set {
88 if ((object.ReferenceEquals(this.lastErrorTimeField, value) != true)) {
89 this.lastErrorTimeField = value;
90 this.RaisePropertyChanged("lastErrorTime");
91 }
92 }
93 }
94
95 [System.Runtime.Serialization.DataMemberAttribute()]
96 public string lastOkTime {
97 get {
98 return this.lastOkTimeField;
99 }
100 set {
101 if ((object.ReferenceEquals(this.lastOkTimeField, value) != true)) {
102 this.lastOkTimeField = value;
103 this.RaisePropertyChanged("lastOkTime");
104 }
105 }
106 }
107
108 [System.Runtime.Serialization.DataMemberAttribute()]
109 public string lastTransferTime {
110 get {
111 return this.lastTransferTimeField;
112 }
113 set {
114 if ((object.ReferenceEquals(this.lastTransferTimeField, value) != true)) {
115 this.lastTransferTimeField = value;
116 this.RaisePropertyChanged("lastTransferTime");
117 }
118 }
119 }
120
121 [System.Runtime.Serialization.DataMemberAttribute()]
122 public bool lastrunOk {
123 get {
124 return this.lastrunOkField;
125 }
126 set {
127 if ((this.lastrunOkField.Equals(value) != true)) {
128 this.lastrunOkField = value;
129 this.RaisePropertyChanged("lastrunOk");
130 }
131 }
132 }
133
134 [System.Runtime.Serialization.DataMemberAttribute()]
135 public bool transportEnabled {
136 get {
137 return this.transportEnabledField;
138 }
139 set {
140 if ((this.transportEnabledField.Equals(value) != true)) {
141 this.transportEnabledField = value;
142 this.RaisePropertyChanged("transportEnabled");
143 }
144 }
145 }
146
147 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
148
149 protected void RaisePropertyChanged(string propertyName) {
150 System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
151 if ((propertyChanged != null)) {
152 propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
153 }
154 }
155 }
156
157 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
158 [System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")]
159 public interface IRemoteControl {
160
161 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")]
162 string[] GetTransports();
163
164 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatus", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatusResponse")]
165 DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport);
166
167 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")]
168 void SetTransportEnabled(string transport, bool enabled);
169
170 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")]
171 string[] GetTransportLog(string transport);
172
173 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirection", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirectionRespons" +
174 "e")]
175 string GetTransportDirection(string transport);
176
177 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueName", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueNameRespons" +
178 "e")]
179 string GetTransportQueueName(string transport);
180
181 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQueryRespo" +
182 "nse")]
183 string GetTransportInsertQuery(string transport);
184
185 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQueryRespons" +
186 "e")]
187 string GetTransportReadQuery(string transport);
188
189 [System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQueryRespo" +
190 "nse")]
191 string GetTransportUpdateQuery(string transport);
192 }
193
194 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
195 public interface IRemoteControlChannel : DaoMqGUI.ServiceReference1.IRemoteControl, System.ServiceModel.IClientChannel {
196 }
197
198 [System.Diagnostics.DebuggerStepThroughAttribute()]
199 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
200 public partial class RemoteControlClient : System.ServiceModel.ClientBase<DaoMqGUI.ServiceReference1.IRemoteControl>, DaoMqGUI.ServiceReference1.IRemoteControl {
201
202 public RemoteControlClient() {
203 }
204
205 public RemoteControlClient(string endpointConfigurationName) :
206 base(endpointConfigurationName) {
207 }
208
209 public RemoteControlClient(string endpointConfigurationName, string remoteAddress) :
210 base(endpointConfigurationName, remoteAddress) {
211 }
212
213 public RemoteControlClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
214 base(endpointConfigurationName, remoteAddress) {
215 }
216
217 public RemoteControlClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
218 base(binding, remoteAddress) {
219 }
220
221 public string[] GetTransports() {
222 return base.Channel.GetTransports();
223 }
224
225 public DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport) {
226 return base.Channel.GetTransportStatus(transport);
227 }
228
229 public void SetTransportEnabled(string transport, bool enabled) {
230 base.Channel.SetTransportEnabled(transport, enabled);
231 }
232
233 public string[] GetTransportLog(string transport) {
234 return base.Channel.GetTransportLog(transport);
235 }
236
237 public string GetTransportDirection(string transport) {
238 return base.Channel.GetTransportDirection(transport);
239 }
240
241 public string GetTransportQueueName(string transport) {
242 return base.Channel.GetTransportQueueName(transport);
243 }
244
245 public string GetTransportInsertQuery(string transport) {
246 return base.Channel.GetTransportInsertQuery(transport);
247 }
248
249 public string GetTransportReadQuery(string transport) {
250 return base.Channel.GetTransportReadQuery(transport);
251 }
252
253 public string GetTransportUpdateQuery(string transport) {
254 return base.Channel.GetTransportUpdateQuery(transport);
255 }
256 }
257 }

  ViewVC Help
Powered by ViewVC 1.1.20