//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.586
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace DaoMqGUI.ServiceReference1 {
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="StatusData", Namespace="http://schemas.datacontract.org/2004/07/DaoMqPump2")]
[System.SerializableAttribute()]
public partial class StatusData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
[System.NonSerializedAttribute()]
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private int counterField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string lastErrorMessageField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string lastErrorTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string lastOkTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private string lastTransferTimeField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool lastrunOkField;
[System.Runtime.Serialization.OptionalFieldAttribute()]
private bool transportEnabledField;
[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 counter {
get {
return this.counterField;
}
set {
if ((this.counterField.Equals(value) != true)) {
this.counterField = value;
this.RaisePropertyChanged("counter");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string lastErrorMessage {
get {
return this.lastErrorMessageField;
}
set {
if ((object.ReferenceEquals(this.lastErrorMessageField, value) != true)) {
this.lastErrorMessageField = value;
this.RaisePropertyChanged("lastErrorMessage");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string lastErrorTime {
get {
return this.lastErrorTimeField;
}
set {
if ((object.ReferenceEquals(this.lastErrorTimeField, value) != true)) {
this.lastErrorTimeField = value;
this.RaisePropertyChanged("lastErrorTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string lastOkTime {
get {
return this.lastOkTimeField;
}
set {
if ((object.ReferenceEquals(this.lastOkTimeField, value) != true)) {
this.lastOkTimeField = value;
this.RaisePropertyChanged("lastOkTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public string lastTransferTime {
get {
return this.lastTransferTimeField;
}
set {
if ((object.ReferenceEquals(this.lastTransferTimeField, value) != true)) {
this.lastTransferTimeField = value;
this.RaisePropertyChanged("lastTransferTime");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool lastrunOk {
get {
return this.lastrunOkField;
}
set {
if ((this.lastrunOkField.Equals(value) != true)) {
this.lastrunOkField = value;
this.RaisePropertyChanged("lastrunOk");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute()]
public bool transportEnabled {
get {
return this.transportEnabledField;
}
set {
if ((this.transportEnabledField.Equals(value) != true)) {
this.transportEnabledField = value;
this.RaisePropertyChanged("transportEnabled");
}
}
}
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(Namespace="http://Microsoft.ServiceModel.Samples", ConfigurationName="ServiceReference1.IRemoteControl")]
public interface IRemoteControl {
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransports", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportsResponse")]
string[] GetTransports();
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatus", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportStatusResponse")]
DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabled", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/SetTransportEnabledResponse")]
void SetTransportEnabled(string transport, bool enabled);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLog", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportLogResponse")]
string[] GetTransportLog(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirection", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportDirectionRespons" +
"e")]
string GetTransportDirection(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueName", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportQueueNameRespons" +
"e")]
string GetTransportQueueName(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportInsertQueryRespo" +
"nse")]
string GetTransportInsertQuery(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportReadQueryRespons" +
"e")]
string GetTransportReadQuery(string transport);
[System.ServiceModel.OperationContractAttribute(Action="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQuery", ReplyAction="http://Microsoft.ServiceModel.Samples/IRemoteControl/GetTransportUpdateQueryRespo" +
"nse")]
string GetTransportUpdateQuery(string transport);
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IRemoteControlChannel : DaoMqGUI.ServiceReference1.IRemoteControl, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class RemoteControlClient : System.ServiceModel.ClientBase, DaoMqGUI.ServiceReference1.IRemoteControl {
public RemoteControlClient() {
}
public RemoteControlClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public RemoteControlClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RemoteControlClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public RemoteControlClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public string[] GetTransports() {
return base.Channel.GetTransports();
}
public DaoMqGUI.ServiceReference1.StatusData GetTransportStatus(string transport) {
return base.Channel.GetTransportStatus(transport);
}
public void SetTransportEnabled(string transport, bool enabled) {
base.Channel.SetTransportEnabled(transport, enabled);
}
public string[] GetTransportLog(string transport) {
return base.Channel.GetTransportLog(transport);
}
public string GetTransportDirection(string transport) {
return base.Channel.GetTransportDirection(transport);
}
public string GetTransportQueueName(string transport) {
return base.Channel.GetTransportQueueName(transport);
}
public string GetTransportInsertQuery(string transport) {
return base.Channel.GetTransportInsertQuery(transport);
}
public string GetTransportReadQuery(string transport) {
return base.Channel.GetTransportReadQuery(transport);
}
public string GetTransportUpdateQuery(string transport) {
return base.Channel.GetTransportUpdateQuery(transport);
}
}
}