1 |
//------------------------------------------------------------------------------ |
//------------------------------------------------------------------------------ |
2 |
// <auto-generated> |
// <auto-generated> |
3 |
// This code was generated by a tool. |
// This code was generated by a tool. |
4 |
// Runtime Version:4.0.30319.586 |
// Runtime Version:4.0.30319.2012 |
5 |
// |
// |
6 |
// Changes to this file may cause incorrect behavior and will be lost if |
// Changes to this file may cause incorrect behavior and will be lost if |
7 |
// the code is regenerated. |
// the code is regenerated. |
9 |
//------------------------------------------------------------------------------ |
//------------------------------------------------------------------------------ |
10 |
|
|
11 |
namespace DaoMqGUI.ServiceReference1 { |
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 int discardedCounterField; |
30 |
|
|
31 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
32 |
|
private string lastErrorMessageField; |
33 |
|
|
34 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
35 |
|
private string lastErrorTimeField; |
36 |
|
|
37 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
38 |
|
private string lastOkTimeField; |
39 |
|
|
40 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
41 |
|
private string lastTransferTimeField; |
42 |
|
|
43 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
44 |
|
private bool lastrunOkField; |
45 |
|
|
46 |
|
[System.Runtime.Serialization.OptionalFieldAttribute()] |
47 |
|
private bool transportEnabledField; |
48 |
|
|
49 |
|
[global::System.ComponentModel.BrowsableAttribute(false)] |
50 |
|
public System.Runtime.Serialization.ExtensionDataObject ExtensionData { |
51 |
|
get { |
52 |
|
return this.extensionDataField; |
53 |
|
} |
54 |
|
set { |
55 |
|
this.extensionDataField = value; |
56 |
|
} |
57 |
|
} |
58 |
|
|
59 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
60 |
|
public int counter { |
61 |
|
get { |
62 |
|
return this.counterField; |
63 |
|
} |
64 |
|
set { |
65 |
|
if ((this.counterField.Equals(value) != true)) { |
66 |
|
this.counterField = value; |
67 |
|
this.RaisePropertyChanged("counter"); |
68 |
|
} |
69 |
|
} |
70 |
|
} |
71 |
|
|
72 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
73 |
|
public int discardedCounter { |
74 |
|
get { |
75 |
|
return this.discardedCounterField; |
76 |
|
} |
77 |
|
set { |
78 |
|
if ((this.discardedCounterField.Equals(value) != true)) { |
79 |
|
this.discardedCounterField = value; |
80 |
|
this.RaisePropertyChanged("discardedCounter"); |
81 |
|
} |
82 |
|
} |
83 |
|
} |
84 |
|
|
85 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
86 |
|
public string lastErrorMessage { |
87 |
|
get { |
88 |
|
return this.lastErrorMessageField; |
89 |
|
} |
90 |
|
set { |
91 |
|
if ((object.ReferenceEquals(this.lastErrorMessageField, value) != true)) { |
92 |
|
this.lastErrorMessageField = value; |
93 |
|
this.RaisePropertyChanged("lastErrorMessage"); |
94 |
|
} |
95 |
|
} |
96 |
|
} |
97 |
|
|
98 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
99 |
|
public string lastErrorTime { |
100 |
|
get { |
101 |
|
return this.lastErrorTimeField; |
102 |
|
} |
103 |
|
set { |
104 |
|
if ((object.ReferenceEquals(this.lastErrorTimeField, value) != true)) { |
105 |
|
this.lastErrorTimeField = value; |
106 |
|
this.RaisePropertyChanged("lastErrorTime"); |
107 |
|
} |
108 |
|
} |
109 |
|
} |
110 |
|
|
111 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
112 |
|
public string lastOkTime { |
113 |
|
get { |
114 |
|
return this.lastOkTimeField; |
115 |
|
} |
116 |
|
set { |
117 |
|
if ((object.ReferenceEquals(this.lastOkTimeField, value) != true)) { |
118 |
|
this.lastOkTimeField = value; |
119 |
|
this.RaisePropertyChanged("lastOkTime"); |
120 |
|
} |
121 |
|
} |
122 |
|
} |
123 |
|
|
124 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
125 |
|
public string lastTransferTime { |
126 |
|
get { |
127 |
|
return this.lastTransferTimeField; |
128 |
|
} |
129 |
|
set { |
130 |
|
if ((object.ReferenceEquals(this.lastTransferTimeField, value) != true)) { |
131 |
|
this.lastTransferTimeField = value; |
132 |
|
this.RaisePropertyChanged("lastTransferTime"); |
133 |
|
} |
134 |
|
} |
135 |
|
} |
136 |
|
|
137 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
138 |
|
public bool lastrunOk { |
139 |
|
get { |
140 |
|
return this.lastrunOkField; |
141 |
|
} |
142 |
|
set { |
143 |
|
if ((this.lastrunOkField.Equals(value) != true)) { |
144 |
|
this.lastrunOkField = value; |
145 |
|
this.RaisePropertyChanged("lastrunOk"); |
146 |
|
} |
147 |
|
} |
148 |
|
} |
149 |
|
|
150 |
|
[System.Runtime.Serialization.DataMemberAttribute()] |
151 |
|
public bool transportEnabled { |
152 |
|
get { |
153 |
|
return this.transportEnabledField; |
154 |
|
} |
155 |
|
set { |
156 |
|
if ((this.transportEnabledField.Equals(value) != true)) { |
157 |
|
this.transportEnabledField = value; |
158 |
|
this.RaisePropertyChanged("transportEnabled"); |
159 |
|
} |
160 |
|
} |
161 |
|
} |
162 |
|
|
163 |
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; |
164 |
|
|
165 |
|
protected void RaisePropertyChanged(string propertyName) { |
166 |
|
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; |
167 |
|
if ((propertyChanged != null)) { |
168 |
|
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); |
169 |
|
} |
170 |
|
} |
171 |
|
} |
172 |
|
|
173 |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] |
174 |
[System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")] |
[System.ServiceModel.ServiceContractAttribute(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")] |
175 |
public interface IRemoteControl { |
public interface IRemoteControl { |
177 |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")] |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")] |
178 |
string[] GetTransports(); |
string[] GetTransports(); |
179 |
|
|
180 |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportEnabledResponse")] |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatus", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatusResponse")] |
181 |
bool GetTransportEnabled(string transport); |
DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport); |
182 |
|
|
183 |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")] |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")] |
184 |
void SetTransportEnabled(string transport, bool enabled); |
void SetTransportEnabled(string transport, bool enabled); |
185 |
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastrunOk", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastrunOkRespons" + |
|
|
"e")] |
|
|
bool GetTransportLastrunOk(string transport); |
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorMessage" + |
|
|
"", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorMessage" + |
|
|
"Response")] |
|
|
string GetTransportLastErrorMessage(string transport); |
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastOkTime", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastOkTimeRespon" + |
|
|
"se")] |
|
|
string GetTransportLastOkTime(string transport); |
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorTime", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLastErrorTimeRes" + |
|
|
"ponse")] |
|
|
string GetTransportLastErrorTime(string transport); |
|
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportCounter", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportCounterResponse")] |
|
|
int GetTransportCounter(string transport); |
|
|
|
|
186 |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")] |
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")] |
187 |
string[] GetTransportLog(string transport); |
string[] GetTransportLog(string transport); |
188 |
|
|
238 |
return base.Channel.GetTransports(); |
return base.Channel.GetTransports(); |
239 |
} |
} |
240 |
|
|
241 |
public bool GetTransportEnabled(string transport) { |
public DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport) { |
242 |
return base.Channel.GetTransportEnabled(transport); |
return base.Channel.GetTransportStatus(transport); |
243 |
} |
} |
244 |
|
|
245 |
public void SetTransportEnabled(string transport, bool enabled) { |
public void SetTransportEnabled(string transport, bool enabled) { |
246 |
base.Channel.SetTransportEnabled(transport, enabled); |
base.Channel.SetTransportEnabled(transport, enabled); |
247 |
} |
} |
248 |
|
|
|
public bool GetTransportLastrunOk(string transport) { |
|
|
return base.Channel.GetTransportLastrunOk(transport); |
|
|
} |
|
|
|
|
|
public string GetTransportLastErrorMessage(string transport) { |
|
|
return base.Channel.GetTransportLastErrorMessage(transport); |
|
|
} |
|
|
|
|
|
public string GetTransportLastOkTime(string transport) { |
|
|
return base.Channel.GetTransportLastOkTime(transport); |
|
|
} |
|
|
|
|
|
public string GetTransportLastErrorTime(string transport) { |
|
|
return base.Channel.GetTransportLastErrorTime(transport); |
|
|
} |
|
|
|
|
|
public int GetTransportCounter(string transport) { |
|
|
return base.Channel.GetTransportCounter(transport); |
|
|
} |
|
|
|
|
249 |
public string[] GetTransportLog(string transport) { |
public string[] GetTransportLog(string transport) { |
250 |
return base.Channel.GetTransportLog(transport); |
return base.Channel.GetTransportLog(transport); |
251 |
} |
} |