//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.1
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace wcfControlMonitorClient.WcfControlMonitor {
    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="ManageTask", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class ManageTask : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string BegtimeField;
        
        private int ControlTaskTypeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string EndCellField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string EndDeviceField;
        
        private int FIDField;
        
        private int ManageTaskKindIndexField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string PalletBarcodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StartCellField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StartDeviceField;
        
        private int StatusField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Begtime {
            get {
                return this.BegtimeField;
            }
            set {
                if ((object.ReferenceEquals(this.BegtimeField, value) != true)) {
                    this.BegtimeField = value;
                    this.RaisePropertyChanged("Begtime");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ControlTaskType {
            get {
                return this.ControlTaskTypeField;
            }
            set {
                if ((this.ControlTaskTypeField.Equals(value) != true)) {
                    this.ControlTaskTypeField = value;
                    this.RaisePropertyChanged("ControlTaskType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EndCell {
            get {
                return this.EndCellField;
            }
            set {
                if ((object.ReferenceEquals(this.EndCellField, value) != true)) {
                    this.EndCellField = value;
                    this.RaisePropertyChanged("EndCell");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EndDevice {
            get {
                return this.EndDeviceField;
            }
            set {
                if ((object.ReferenceEquals(this.EndDeviceField, value) != true)) {
                    this.EndDeviceField = value;
                    this.RaisePropertyChanged("EndDevice");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int FID {
            get {
                return this.FIDField;
            }
            set {
                if ((this.FIDField.Equals(value) != true)) {
                    this.FIDField = value;
                    this.RaisePropertyChanged("FID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ManageTaskKindIndex {
            get {
                return this.ManageTaskKindIndexField;
            }
            set {
                if ((this.ManageTaskKindIndexField.Equals(value) != true)) {
                    this.ManageTaskKindIndexField = value;
                    this.RaisePropertyChanged("ManageTaskKindIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string PalletBarcode {
            get {
                return this.PalletBarcodeField;
            }
            set {
                if ((object.ReferenceEquals(this.PalletBarcodeField, value) != true)) {
                    this.PalletBarcodeField = value;
                    this.RaisePropertyChanged("PalletBarcode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string StartCell {
            get {
                return this.StartCellField;
            }
            set {
                if ((object.ReferenceEquals(this.StartCellField, value) != true)) {
                    this.StartCellField = value;
                    this.RaisePropertyChanged("StartCell");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string StartDevice {
            get {
                return this.StartDeviceField;
            }
            set {
                if ((object.ReferenceEquals(this.StartDeviceField, value) != true)) {
                    this.StartDeviceField = value;
                    this.RaisePropertyChanged("StartDevice");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int Status {
            get {
                return this.StatusField;
            }
            set {
                if ((this.StatusField.Equals(value) != true)) {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="MonitorTask", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class MonitorTask : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string BarCodeField;
        
        private int DeviceCommandIndexField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DeviceCommandNameField;
        
        private int DeviceIndexField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DeviceNameField;
        
        private int ErrorCodeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ErrorNameField;
        
        private int ForkNoField;
        
        private int ManageTaskIndexField;
        
        private int MonitorIndexField;
        
        private int NumParam1ZField;
        
        private int NumParam2XField;
        
        private int NumParam3YField;
        
        private int NumParam4ZField;
        
        private int NumParam5XField;
        
        private int NumParam6YField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string StartTimeField;
        
        private int StatusField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string BarCode {
            get {
                return this.BarCodeField;
            }
            set {
                if ((object.ReferenceEquals(this.BarCodeField, value) != true)) {
                    this.BarCodeField = value;
                    this.RaisePropertyChanged("BarCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int DeviceCommandIndex {
            get {
                return this.DeviceCommandIndexField;
            }
            set {
                if ((this.DeviceCommandIndexField.Equals(value) != true)) {
                    this.DeviceCommandIndexField = value;
                    this.RaisePropertyChanged("DeviceCommandIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DeviceCommandName {
            get {
                return this.DeviceCommandNameField;
            }
            set {
                if ((object.ReferenceEquals(this.DeviceCommandNameField, value) != true)) {
                    this.DeviceCommandNameField = value;
                    this.RaisePropertyChanged("DeviceCommandName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int DeviceIndex {
            get {
                return this.DeviceIndexField;
            }
            set {
                if ((this.DeviceIndexField.Equals(value) != true)) {
                    this.DeviceIndexField = value;
                    this.RaisePropertyChanged("DeviceIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DeviceName {
            get {
                return this.DeviceNameField;
            }
            set {
                if ((object.ReferenceEquals(this.DeviceNameField, value) != true)) {
                    this.DeviceNameField = value;
                    this.RaisePropertyChanged("DeviceName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ErrorCode {
            get {
                return this.ErrorCodeField;
            }
            set {
                if ((this.ErrorCodeField.Equals(value) != true)) {
                    this.ErrorCodeField = value;
                    this.RaisePropertyChanged("ErrorCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ErrorName {
            get {
                return this.ErrorNameField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorNameField, value) != true)) {
                    this.ErrorNameField = value;
                    this.RaisePropertyChanged("ErrorName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ForkNo {
            get {
                return this.ForkNoField;
            }
            set {
                if ((this.ForkNoField.Equals(value) != true)) {
                    this.ForkNoField = value;
                    this.RaisePropertyChanged("ForkNo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ManageTaskIndex {
            get {
                return this.ManageTaskIndexField;
            }
            set {
                if ((this.ManageTaskIndexField.Equals(value) != true)) {
                    this.ManageTaskIndexField = value;
                    this.RaisePropertyChanged("ManageTaskIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int MonitorIndex {
            get {
                return this.MonitorIndexField;
            }
            set {
                if ((this.MonitorIndexField.Equals(value) != true)) {
                    this.MonitorIndexField = value;
                    this.RaisePropertyChanged("MonitorIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam1Z {
            get {
                return this.NumParam1ZField;
            }
            set {
                if ((this.NumParam1ZField.Equals(value) != true)) {
                    this.NumParam1ZField = value;
                    this.RaisePropertyChanged("NumParam1Z");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam2X {
            get {
                return this.NumParam2XField;
            }
            set {
                if ((this.NumParam2XField.Equals(value) != true)) {
                    this.NumParam2XField = value;
                    this.RaisePropertyChanged("NumParam2X");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam3Y {
            get {
                return this.NumParam3YField;
            }
            set {
                if ((this.NumParam3YField.Equals(value) != true)) {
                    this.NumParam3YField = value;
                    this.RaisePropertyChanged("NumParam3Y");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam4Z {
            get {
                return this.NumParam4ZField;
            }
            set {
                if ((this.NumParam4ZField.Equals(value) != true)) {
                    this.NumParam4ZField = value;
                    this.RaisePropertyChanged("NumParam4Z");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam5X {
            get {
                return this.NumParam5XField;
            }
            set {
                if ((this.NumParam5XField.Equals(value) != true)) {
                    this.NumParam5XField = value;
                    this.RaisePropertyChanged("NumParam5X");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int NumParam6Y {
            get {
                return this.NumParam6YField;
            }
            set {
                if ((this.NumParam6YField.Equals(value) != true)) {
                    this.NumParam6YField = value;
                    this.RaisePropertyChanged("NumParam6Y");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string StartTime {
            get {
                return this.StartTimeField;
            }
            set {
                if ((object.ReferenceEquals(this.StartTimeField, value) != true)) {
                    this.StartTimeField = value;
                    this.RaisePropertyChanged("StartTime");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int Status {
            get {
                return this.StatusField;
            }
            set {
                if ((this.StatusField.Equals(value) != true)) {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DeviceStateType", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class DeviceStateType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private int DeviceIndexField;
        
        private int DeviceKindField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DeviceNameField;
        
        private int ErrorCodeField;
        
        private int LockedStateField;
        
        private int ManTaskReserveField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int DeviceIndex {
            get {
                return this.DeviceIndexField;
            }
            set {
                if ((this.DeviceIndexField.Equals(value) != true)) {
                    this.DeviceIndexField = value;
                    this.RaisePropertyChanged("DeviceIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int DeviceKind {
            get {
                return this.DeviceKindField;
            }
            set {
                if ((this.DeviceKindField.Equals(value) != true)) {
                    this.DeviceKindField = value;
                    this.RaisePropertyChanged("DeviceKind");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DeviceName {
            get {
                return this.DeviceNameField;
            }
            set {
                if ((object.ReferenceEquals(this.DeviceNameField, value) != true)) {
                    this.DeviceNameField = value;
                    this.RaisePropertyChanged("DeviceName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ErrorCode {
            get {
                return this.ErrorCodeField;
            }
            set {
                if ((this.ErrorCodeField.Equals(value) != true)) {
                    this.ErrorCodeField = value;
                    this.RaisePropertyChanged("ErrorCode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int LockedState {
            get {
                return this.LockedStateField;
            }
            set {
                if ((this.LockedStateField.Equals(value) != true)) {
                    this.LockedStateField = value;
                    this.RaisePropertyChanged("LockedState");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int ManTaskReserve {
            get {
                return this.ManTaskReserveField;
            }
            set {
                if ((this.ManTaskReserveField.Equals(value) != true)) {
                    this.ManTaskReserveField = value;
                    this.RaisePropertyChanged("ManTaskReserve");
                }
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ST_Cell", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class ST_Cell : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string CELLCODEField;
        
        private string CELLNAMEField;
        
        private string CELLSTATUSField;
        
        private int FIDField;
        
        private int LaneWayField;
        
        private string PALLETBARCODEField;
        
        private string RUNSTATUSField;
        
        private int StackField;
        
        private string WAREHOUSEField;
        
        private int XField;
        
        private int YField;
        
        private int ZField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string CELLCODE {
            get {
                return this.CELLCODEField;
            }
            set {
                if ((object.ReferenceEquals(this.CELLCODEField, value) != true)) {
                    this.CELLCODEField = value;
                    this.RaisePropertyChanged("CELLCODE");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string CELLNAME {
            get {
                return this.CELLNAMEField;
            }
            set {
                if ((object.ReferenceEquals(this.CELLNAMEField, value) != true)) {
                    this.CELLNAMEField = value;
                    this.RaisePropertyChanged("CELLNAME");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string CELLSTATUS {
            get {
                return this.CELLSTATUSField;
            }
            set {
                if ((object.ReferenceEquals(this.CELLSTATUSField, value) != true)) {
                    this.CELLSTATUSField = value;
                    this.RaisePropertyChanged("CELLSTATUS");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int FID {
            get {
                return this.FIDField;
            }
            set {
                if ((this.FIDField.Equals(value) != true)) {
                    this.FIDField = value;
                    this.RaisePropertyChanged("FID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int LaneWay {
            get {
                return this.LaneWayField;
            }
            set {
                if ((this.LaneWayField.Equals(value) != true)) {
                    this.LaneWayField = value;
                    this.RaisePropertyChanged("LaneWay");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string PALLETBARCODE {
            get {
                return this.PALLETBARCODEField;
            }
            set {
                if ((object.ReferenceEquals(this.PALLETBARCODEField, value) != true)) {
                    this.PALLETBARCODEField = value;
                    this.RaisePropertyChanged("PALLETBARCODE");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string RUNSTATUS {
            get {
                return this.RUNSTATUSField;
            }
            set {
                if ((object.ReferenceEquals(this.RUNSTATUSField, value) != true)) {
                    this.RUNSTATUSField = value;
                    this.RaisePropertyChanged("RUNSTATUS");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int Stack {
            get {
                return this.StackField;
            }
            set {
                if ((this.StackField.Equals(value) != true)) {
                    this.StackField = value;
                    this.RaisePropertyChanged("Stack");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string WAREHOUSE {
            get {
                return this.WAREHOUSEField;
            }
            set {
                if ((object.ReferenceEquals(this.WAREHOUSEField, value) != true)) {
                    this.WAREHOUSEField = value;
                    this.RaisePropertyChanged("WAREHOUSE");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int X {
            get {
                return this.XField;
            }
            set {
                if ((this.XField.Equals(value) != true)) {
                    this.XField = value;
                    this.RaisePropertyChanged("X");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int Y {
            get {
                return this.YField;
            }
            set {
                if ((this.YField.Equals(value) != true)) {
                    this.YField = value;
                    this.RaisePropertyChanged("Y");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public int Z {
            get {
                return this.ZField;
            }
            set {
                if ((this.ZField.Equals(value) != true)) {
                    this.ZField = value;
                    this.RaisePropertyChanged("Z");
                }
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="LanguageContent", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class LanguageContent : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string keyField;
        
        private string valueField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string key {
            get {
                return this.keyField;
            }
            set {
                if ((object.ReferenceEquals(this.keyField, value) != true)) {
                    this.keyField = value;
                    this.RaisePropertyChanged("key");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string value {
            get {
                return this.valueField;
            }
            set {
                if ((object.ReferenceEquals(this.valueField, value) != true)) {
                    this.valueField = value;
                    this.RaisePropertyChanged("value");
                }
            }
        }
        
        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.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DevicesDic", Namespace="http://schemas.datacontract.org/2004/07/WcfControlMonitorLib")]
    [System.SerializableAttribute()]
    public partial class DevicesDic : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private System.Collections.Generic.Dictionary<int, Model.MDevice> MDevicesField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public System.Collections.Generic.Dictionary<int, Model.MDevice> MDevices {
            get {
                return this.MDevicesField;
            }
            set {
                if ((object.ReferenceEquals(this.MDevicesField, value) != true)) {
                    this.MDevicesField = value;
                    this.RaisePropertyChanged("MDevices");
                }
            }
        }
        
        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="WcfControlMonitor.IControlMonitor", CallbackContract=typeof(wcfControlMonitorClient.WcfControlMonitor.IControlMonitorCallback))]
    public interface IControlMonitor {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
        bool ShutDownControlSystem(out string ErrText);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ShutDownControlSystem", ReplyAction="http://tempuri.org/IControlMonitor/ShutDownControlSystemResponse")]
        System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState);
        
        bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
        bool StartGetALLDeviceState(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartGetALLDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/StartGetALLDeviceStateResponse")]
        System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState);
        
        bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
        bool StartSendDeviceOrder(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StartSendDeviceOrder", ReplyAction="http://tempuri.org/IControlMonitor/StartSendDeviceOrderResponse")]
        System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState);
        
        bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
        bool DataClear(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DataClear", ReplyAction="http://tempuri.org/IControlMonitor/DataClearResponse")]
        System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState);
        
        bool EndDataClear(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
        int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskKindFromMonitorResponse")]
        System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
        
        int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
        int GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitor", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTaskIndexFromMonitorResponse")]
        System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState);
        
        int EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
        int GetDeviceKindIndex(out string errtext, int deviceIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceKindIndex", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceKindIndexResponse")]
        System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState);
        
        int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
        bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendDeviceReset", ReplyAction="http://tempuri.org/IControlMonitor/SendDeviceResetResponse")]
        System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState);
        
        bool EndSendDeviceReset(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
        bool Heartbeat(out Model.MonitorInfo monitorinfo);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/Heartbeat", ReplyAction="http://tempuri.org/IControlMonitor/HeartbeatResponse")]
        System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState);
        
        bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
        System.Data.DataTable GetDataView(out string errtext, string SQL);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetDataViewResponse")]
        System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState);
        
        System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
        int ExeSQLNoneQuery(out string errtext, string SQL);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeSQLNoneQueryResponse")]
        System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
        
        int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
        System.Data.DataTable GetManDataView(out string errtext, string SQL);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManDataView", ReplyAction="http://tempuri.org/IControlMonitor/GetManDataViewResponse")]
        System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState);
        
        System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
        int ExeManSQLNoneQuery(out string errtext, string SQL);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ExeManSQLNoneQuery", ReplyAction="http://tempuri.org/IControlMonitor/ExeManSQLNoneQueryResponse")]
        System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState);
        
        int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
        bool GetAllManageTask(out string errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllManageTask", ReplyAction="http://tempuri.org/IControlMonitor/GetAllManageTaskResponse")]
        System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState);
        
        bool EndGetAllManageTask(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
        bool DisassembleTask(out string errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DisassembleTask", ReplyAction="http://tempuri.org/IControlMonitor/DisassembleTaskResponse")]
        System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState);
        
        bool EndDisassembleTask(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
        bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetLogicHaveGoods", ReplyAction="http://tempuri.org/IControlMonitor/SetLogicHaveGoodsResponse")]
        System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState);
        
        bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
        bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DealWithDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/DealWithDeviceStateResponse")]
        System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState);
        
        bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
        Model.MDevice SendAllDeviceStates(int device);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendAllDeviceStates", ReplyAction="http://tempuri.org/IControlMonitor/SendAllDeviceStatesResponse")]
        System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState);
        
        Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
        bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/WriteDBData", ReplyAction="http://tempuri.org/IControlMonitor/WriteDBDataResponse")]
        System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState);
        
        bool EndWriteDBData(out string errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
        bool ReConnectOPCServer();
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ReConnectOPCServer", ReplyAction="http://tempuri.org/IControlMonitor/ReConnectOPCServerResponse")]
        System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState);
        
        bool EndReConnectOPCServer(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildAutoTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildAutoTaskResponse")]
        bool BuildAutoTask(out string Errtext, Model.AutoTask Autotask);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildAutoTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildAutoTaskResponse")]
        System.IAsyncResult BeginBuildAutoTask(Model.AutoTask Autotask, System.AsyncCallback callback, object asyncState);
        
        bool EndBuildAutoTask(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ModifyManageTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskResponse")]
        bool ModifyManageTask(out string Errtext, int ManKind, int ManagetaskID, int ActionID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ModifyManageTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskResponse")]
        System.IAsyncResult BeginModifyManageTask(int ManKind, int ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState);
        
        bool EndModifyManageTask(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ModifyMonitorTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyMonitorTaskResponse")]
        bool ModifyMonitorTask(out string Errtext, int DeviceIndex, int MonitortaskID, int ActionID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ModifyMonitorTask", ReplyAction="http://tempuri.org/IControlMonitor/ModifyMonitorTaskResponse")]
        System.IAsyncResult BeginModifyMonitorTask(int DeviceIndex, int MonitortaskID, int ActionID, System.AsyncCallback callback, object asyncState);
        
        bool EndModifyMonitorTask(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ModifyManageTaskFork", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskForkResponse")]
        bool ModifyManageTaskFork(out string Errtext, int Flag, int FarForkTaskID, int NearForkTaskID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ModifyManageTaskFork", ReplyAction="http://tempuri.org/IControlMonitor/ModifyManageTaskForkResponse")]
        System.IAsyncResult BeginModifyManageTaskFork(int Flag, int FarForkTaskID, int NearForkTaskID, System.AsyncCallback callback, object asyncState);
        
        bool EndModifyManageTaskFork(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateResponse")]
        bool SetDeviceState(out string Errtext, Model.MDevice Devinfo);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceState", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateResponse")]
        System.IAsyncResult BeginSetDeviceState(Model.MDevice Devinfo, System.AsyncCallback callback, object asyncState);
        
        bool EndSetDeviceState(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceInfoResponse")]
        Model.MDevice GetDeviceInfo(out string Errtext, int Deviceindex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceInfoResponse")]
        System.IAsyncResult BeginGetDeviceInfo(int Deviceindex, System.AsyncCallback callback, object asyncState);
        
        Model.MDevice EndGetDeviceInfo(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceInfosResponse")]
        System.Data.DataTable GetDeviceInfos(out string Errtext, string erroecode);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceInfosResponse")]
        System.IAsyncResult BeginGetDeviceInfos(string erroecode, System.AsyncCallback callback, object asyncState);
        
        System.Data.DataTable EndGetDeviceInfos(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetRouteState", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateResponse")]
        bool SetRouteState(out string Errtext, Model.MRoute Routeinfo);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetRouteState", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateResponse")]
        System.IAsyncResult BeginSetRouteState(Model.MRoute Routeinfo, System.AsyncCallback callback, object asyncState);
        
        bool EndSetRouteState(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetRouteInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetRouteInfoResponse")]
        Model.MRoute GetRouteInfo(out string Errtext, decimal RouteID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetRouteInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetRouteInfoResponse")]
        System.IAsyncResult BeginGetRouteInfo(decimal RouteID, System.AsyncCallback callback, object asyncState);
        
        Model.MRoute EndGetRouteInfo(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetRouteInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetRouteInfosResponse")]
        Model.MRoute[] GetRouteInfos(out string Errtext, int RouteState);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetRouteInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetRouteInfosResponse")]
        System.IAsyncResult BeginGetRouteInfos(int RouteState, System.AsyncCallback callback, object asyncState);
        
        Model.MRoute[] EndGetRouteInfos(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetForkCombinWaitTime", ReplyAction="http://tempuri.org/IControlMonitor/SetForkCombinWaitTimeResponse")]
        bool SetForkCombinWaitTime(out string Errtext, int WaitTime);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetForkCombinWaitTime", ReplyAction="http://tempuri.org/IControlMonitor/SetForkCombinWaitTimeResponse")]
        System.IAsyncResult BeginSetForkCombinWaitTime(int WaitTime, System.AsyncCallback callback, object asyncState);
        
        bool EndSetForkCombinWaitTime(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetForkCombinWaitTime", ReplyAction="http://tempuri.org/IControlMonitor/GetForkCombinWaitTimeResponse")]
        int GetForkCombinWaitTime(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetForkCombinWaitTime", ReplyAction="http://tempuri.org/IControlMonitor/GetForkCombinWaitTimeResponse")]
        System.IAsyncResult BeginGetForkCombinWaitTime(System.AsyncCallback callback, object asyncState);
        
        int EndGetForkCombinWaitTime(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetConveyorTimeOutTime", ReplyAction="http://tempuri.org/IControlMonitor/SetConveyorTimeOutTimeResponse")]
        bool SetConveyorTimeOutTime(out string Errtext, int Timeout);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetConveyorTimeOutTime", ReplyAction="http://tempuri.org/IControlMonitor/SetConveyorTimeOutTimeResponse")]
        System.IAsyncResult BeginSetConveyorTimeOutTime(int Timeout, System.AsyncCallback callback, object asyncState);
        
        bool EndSetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetConveyorTimeOutTime", ReplyAction="http://tempuri.org/IControlMonitor/GetConveyorTimeOutTimeResponse")]
        int GetConveyorTimeOutTime(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetConveyorTimeOutTime", ReplyAction="http://tempuri.org/IControlMonitor/GetConveyorTimeOutTimeResponse")]
        System.IAsyncResult BeginGetConveyorTimeOutTime(System.AsyncCallback callback, object asyncState);
        
        int EndGetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDBConnection", ReplyAction="http://tempuri.org/IControlMonitor/SetDBConnectionResponse")]
        bool SetDBConnection(out string Errtext, string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDBConnection", ReplyAction="http://tempuri.org/IControlMonitor/SetDBConnectionResponse")]
        System.IAsyncResult BeginSetDBConnection(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, System.AsyncCallback callback, object asyncState);
        
        bool EndSetDBConnection(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDBConnection", ReplyAction="http://tempuri.org/IControlMonitor/GetDBConnectionResponse")]
        bool GetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, string MonitorOrManageDB);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDBConnection", ReplyAction="http://tempuri.org/IControlMonitor/GetDBConnectionResponse")]
        System.IAsyncResult BeginGetDBConnection(string MonitorOrManageDB, System.AsyncCallback callback, object asyncState);
        
        bool EndGetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetIOStationProperty", ReplyAction="http://tempuri.org/IControlMonitor/SetIOStationPropertyResponse")]
        bool SetIOStationProperty(out string Errtext, int deviceIndex, int IOStationProperty);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetIOStationProperty", ReplyAction="http://tempuri.org/IControlMonitor/SetIOStationPropertyResponse")]
        System.IAsyncResult BeginSetIOStationProperty(int deviceIndex, int IOStationProperty, System.AsyncCallback callback, object asyncState);
        
        bool EndSetIOStationProperty(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetBlackBoxParameter", ReplyAction="http://tempuri.org/IControlMonitor/SetBlackBoxParameterResponse")]
        bool SetBlackBoxParameter(out string Errtext, int FileCount, int FileSize);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetBlackBoxParameter", ReplyAction="http://tempuri.org/IControlMonitor/SetBlackBoxParameterResponse")]
        System.IAsyncResult BeginSetBlackBoxParameter(int FileCount, int FileSize, System.AsyncCallback callback, object asyncState);
        
        bool EndSetBlackBoxParameter(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetBlackBoxInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetBlackBoxInfoResponse")]
        string GetBlackBoxInfo(out string Errtext, string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetBlackBoxInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetBlackBoxInfoResponse")]
        System.IAsyncResult BeginGetBlackBoxInfo(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState);
        
        string EndGetBlackBoxInfo(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAutoTaskHistory", ReplyAction="http://tempuri.org/IControlMonitor/GetAutoTaskHistoryResponse")]
        System.Data.DataTable GetAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAutoTaskHistory", ReplyAction="http://tempuri.org/IControlMonitor/GetAutoTaskHistoryResponse")]
        System.IAsyncResult BeginGetAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState);
        
        System.Data.DataTable EndGetAutoTaskHistory(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DeleteAutoTaskHistory", ReplyAction="http://tempuri.org/IControlMonitor/DeleteAutoTaskHistoryResponse")]
        bool DeleteAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DeleteAutoTaskHistory", ReplyAction="http://tempuri.org/IControlMonitor/DeleteAutoTaskHistoryResponse")]
        System.IAsyncResult BeginDeleteAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState);
        
        bool EndDeleteAutoTaskHistory(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetUserAndPurview", ReplyAction="http://tempuri.org/IControlMonitor/SetUserAndPurviewResponse")]
        bool SetUserAndPurview(out string Errtext, string UserID, string UserName, string Password, string Purview);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetUserAndPurview", ReplyAction="http://tempuri.org/IControlMonitor/SetUserAndPurviewResponse")]
        System.IAsyncResult BeginSetUserAndPurview(string UserID, string UserName, string Password, string Purview, System.AsyncCallback callback, object asyncState);
        
        bool EndSetUserAndPurview(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetUserAndPurview", ReplyAction="http://tempuri.org/IControlMonitor/GetUserAndPurviewResponse")]
        bool GetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, string UserID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetUserAndPurview", ReplyAction="http://tempuri.org/IControlMonitor/GetUserAndPurviewResponse")]
        System.IAsyncResult BeginGetUserAndPurview(string UserID, System.AsyncCallback callback, object asyncState);
        
        bool EndGetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetUserPassword", ReplyAction="http://tempuri.org/IControlMonitor/SetUserPasswordResponse")]
        bool SetUserPassword(out string Errtext, string UserID, string Password);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetUserPassword", ReplyAction="http://tempuri.org/IControlMonitor/SetUserPasswordResponse")]
        System.IAsyncResult BeginSetUserPassword(string UserID, string Password, System.AsyncCallback callback, object asyncState);
        
        bool EndSetUserPassword(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetUserPassword", ReplyAction="http://tempuri.org/IControlMonitor/GetUserPasswordResponse")]
        string GetUserPassword(out string Errtext, string UserID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetUserPassword", ReplyAction="http://tempuri.org/IControlMonitor/GetUserPasswordResponse")]
        System.IAsyncResult BeginGetUserPassword(string UserID, System.AsyncCallback callback, object asyncState);
        
        string EndGetUserPassword(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
        bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcode", ReplyAction="http://tempuri.org/IControlMonitor/GetReadedAndReportedBarcodeResponse")]
        System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState);
        
        bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
        Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceAllErrors", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceAllErrorsResponse")]
        System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState);
        
        Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
        Model.MRoute[] GetAllRouteinfo(out string errorText);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetAllRouteinfoResponse")]
        System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState);
        
        Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
        Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceJoinRouteinfoResponse")]
        System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
        
        Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
        wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetManageTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetManageTasksResponse")]
        System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
        wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetMonitorTasks", ReplyAction="http://tempuri.org/IControlMonitor/GetMonitorTasksResponse")]
        System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
        wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/GetDeviceStateInfoResponse")]
        System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
        bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceStateInfoResponse")]
        System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState);
        
        bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
        bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetRouteStateInfoResponse")]
        System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState);
        
        bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
        bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfo", ReplyAction="http://tempuri.org/IControlMonitor/SetDeviceJoinRouteStateInfoResponse")]
        System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState);
        
        bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
        wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetAllCellInfos", ReplyAction="http://tempuri.org/IControlMonitor/GetAllCellInfosResponse")]
        System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
        string[] GetLanguageFields(out string errorText);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageFields", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageFieldsResponse")]
        System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState);
        
        string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
        wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetLanguageContent", ReplyAction="http://tempuri.org/IControlMonitor/GetLanguageContentResponse")]
        System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
        wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetDevicesDic", ReplyAction="http://tempuri.org/IControlMonitor/GetDevicesDicResponse")]
        System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState);
        
        wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
        bool RefreshMonitoringMode();
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RefreshMonitoringMode", ReplyAction="http://tempuri.org/IControlMonitor/RefreshMonitoringModeResponse")]
        System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState);
        
        bool EndRefreshMonitoringMode(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
        bool RegisterClient(out string errText, string userID, string userDescription);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/RegisterClient", ReplyAction="http://tempuri.org/IControlMonitor/RegisterClientResponse")]
        System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState);
        
        bool EndRegisterClient(out string errText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
        bool LogoutClient(out string errText, string userID);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/LogoutClient", ReplyAction="http://tempuri.org/IControlMonitor/LogoutClientResponse")]
        System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState);
        
        bool EndLogoutClient(out string errText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
        bool ObtainTask(string laneway, string Order);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/ObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/ObtainTaskResponse")]
        System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState);
        
        bool EndObtainTask(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
        bool StopObtainTask();
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/StopObtainTask", ReplyAction="http://tempuri.org/IControlMonitor/StopObtainTaskResponse")]
        System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState);
        
        bool EndStopObtainTask(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
        bool OrderTurnOn();
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOn", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOnResponse")]
        System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState);
        
        bool EndOrderTurnOn(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
        bool OrderTurnOff();
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/OrderTurnOff", ReplyAction="http://tempuri.org/IControlMonitor/OrderTurnOffResponse")]
        System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState);
        
        bool EndOrderTurnOff(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
        bool DeviceCommunicationInit(out string ErrText, string CommunicationType);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/DeviceCommunicationInit", ReplyAction="http://tempuri.org/IControlMonitor/DeviceCommunicationInitResponse")]
        System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState);
        
        bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
        System.Data.DataTable GetUsers(out string Errtext);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/GetUsers", ReplyAction="http://tempuri.org/IControlMonitor/GetUsersResponse")]
        System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState);
        
        System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
        bool BuildHandTask(out string Errtext, Model.HandTask Handtask);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandTaskResponse")]
        System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState);
        
        bool EndBuildHandTask(out string Errtext, System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
        bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/BuildHandAssociateTask", ReplyAction="http://tempuri.org/IControlMonitor/BuildHandAssociateTaskResponse")]
        System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState);
        
        bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IControlMonitorCallback {
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IControlMonitor/SendMessage")]
        void SendMessage(string message);
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendMessage")]
        System.IAsyncResult BeginSendMessage(string message, System.AsyncCallback callback, object asyncState);
        
        void EndSendMessage(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IControlMonitor/SendDeviceInfo")]
        void SendDeviceInfo(Model.MDevice devinfo);
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendDeviceInfo")]
        System.IAsyncResult BeginSendDeviceInfo(Model.MDevice devinfo, System.AsyncCallback callback, object asyncState);
        
        void EndSendDeviceInfo(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IControlMonitor/SendOrderMessage")]
        void SendOrderMessage(Model.MonitorInfo mi);
        
        [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://tempuri.org/IControlMonitor/SendOrderMessage")]
        System.IAsyncResult BeginSendOrderMessage(Model.MonitorInfo mi, System.AsyncCallback callback, object asyncState);
        
        void EndSendOrderMessage(System.IAsyncResult result);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IControlMonitorChannel : wcfControlMonitorClient.WcfControlMonitor.IControlMonitor, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ShutDownControlSystemCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ShutDownControlSystemCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string ErrText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class StartGetALLDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public StartGetALLDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class StartSendDeviceOrderCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public StartSendDeviceOrderCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DataClearCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public DataClearCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetManageTaskKindFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetManageTaskKindFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetManageTaskIndexFromMonitorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetManageTaskIndexFromMonitorCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceKindIndexCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceKindIndexCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SendDeviceResetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SendDeviceResetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class HeartbeatCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public HeartbeatCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Model.MonitorInfo monitorinfo {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MonitorInfo)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public System.Data.DataTable Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ExeSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ExeSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetManDataViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetManDataViewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public System.Data.DataTable Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ExeManSQLNoneQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ExeManSQLNoneQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetAllManageTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetAllManageTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DisassembleTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public DisassembleTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetLogicHaveGoodsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetLogicHaveGoodsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DealWithDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public DealWithDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SendAllDeviceStatesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SendAllDeviceStatesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Model.MDevice Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MDevice)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class WriteDBDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public WriteDBDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ReConnectOPCServerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ReConnectOPCServerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class BuildAutoTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public BuildAutoTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ModifyManageTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ModifyManageTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ModifyMonitorTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ModifyMonitorTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ModifyManageTaskForkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ModifyManageTaskForkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetDeviceStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetDeviceStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MDevice Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MDevice)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public System.Data.DataTable Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetRouteStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetRouteStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetRouteInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetRouteInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MRoute Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MRoute)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetRouteInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetRouteInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MRoute[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MRoute[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetForkCombinWaitTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetForkCombinWaitTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetForkCombinWaitTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetForkCombinWaitTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetConveyorTimeOutTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetConveyorTimeOutTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetConveyorTimeOutTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetConveyorTimeOutTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetDBConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetDBConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDBConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDBConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string ServerHostName {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string DBServiceName {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
        
        public string Username {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[2]));
            }
        }
        
        public string Password {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[3]));
            }
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[4]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[5]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetIOStationPropertyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetIOStationPropertyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetBlackBoxParameterCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetBlackBoxParameterCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetBlackBoxInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetBlackBoxInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetAutoTaskHistoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetAutoTaskHistoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public System.Data.DataTable Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DeleteAutoTaskHistoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public DeleteAutoTaskHistoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetUserAndPurviewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetUserAndPurviewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetUserAndPurviewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetUserAndPurviewCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string UserName {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string Password {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
        
        public string Purview {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[2]));
            }
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[3]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[4]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetUserPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetUserPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetUserPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetUserPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetReadedAndReportedBarcodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetReadedAndReportedBarcodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string readedBarcode {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string reportedBarcode {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[1]));
            }
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[2]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[3]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceAllErrorsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceAllErrorsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MError Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MError)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetAllRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetAllRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MRoute[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MRoute[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceJoinRouteinfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceJoinRouteinfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public Model.MRoute[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Model.MRoute[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetManageTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetManageTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.ManageTask[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetMonitorTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetMonitorTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.MonitorTask[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetDeviceStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetDeviceStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class SetDeviceJoinRouteStateInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public SetDeviceJoinRouteStateInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetAllCellInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetAllCellInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.ST_Cell[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetLanguageFieldsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetLanguageFieldsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public string[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetLanguageContentCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetLanguageContentCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.LanguageContent[])(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetDevicesDicCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetDevicesDicCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errorText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.DevicesDic Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((wcfControlMonitorClient.WcfControlMonitor.DevicesDic)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class RefreshMonitoringModeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public RefreshMonitoringModeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class RegisterClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public RegisterClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class LogoutClientCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public LogoutClientCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string errText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class StopObtainTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public StopObtainTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class OrderTurnOnCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public OrderTurnOnCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class OrderTurnOffCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public OrderTurnOffCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DeviceCommunicationInitCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public DeviceCommunicationInitCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string ErrText {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class GetUsersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetUsersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public System.Data.DataTable Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class BuildHandTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public BuildHandTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class BuildHandAssociateTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public BuildHandAssociateTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Errtext {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
        
        public bool Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((bool)(this.results[1]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class ControlMonitorClient : System.ServiceModel.DuplexClientBase<wcfControlMonitorClient.WcfControlMonitor.IControlMonitor>, wcfControlMonitorClient.WcfControlMonitor.IControlMonitor {
        
        private BeginOperationDelegate onBeginShutDownControlSystemDelegate;
        
        private EndOperationDelegate onEndShutDownControlSystemDelegate;
        
        private System.Threading.SendOrPostCallback onShutDownControlSystemCompletedDelegate;
        
        private BeginOperationDelegate onBeginStartGetALLDeviceStateDelegate;
        
        private EndOperationDelegate onEndStartGetALLDeviceStateDelegate;
        
        private System.Threading.SendOrPostCallback onStartGetALLDeviceStateCompletedDelegate;
        
        private BeginOperationDelegate onBeginStartSendDeviceOrderDelegate;
        
        private EndOperationDelegate onEndStartSendDeviceOrderDelegate;
        
        private System.Threading.SendOrPostCallback onStartSendDeviceOrderCompletedDelegate;
        
        private BeginOperationDelegate onBeginDataClearDelegate;
        
        private EndOperationDelegate onEndDataClearDelegate;
        
        private System.Threading.SendOrPostCallback onDataClearCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetManageTaskKindFromMonitorDelegate;
        
        private EndOperationDelegate onEndGetManageTaskKindFromMonitorDelegate;
        
        private System.Threading.SendOrPostCallback onGetManageTaskKindFromMonitorCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetManageTaskIndexFromMonitorDelegate;
        
        private EndOperationDelegate onEndGetManageTaskIndexFromMonitorDelegate;
        
        private System.Threading.SendOrPostCallback onGetManageTaskIndexFromMonitorCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceKindIndexDelegate;
        
        private EndOperationDelegate onEndGetDeviceKindIndexDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceKindIndexCompletedDelegate;
        
        private BeginOperationDelegate onBeginSendDeviceResetDelegate;
        
        private EndOperationDelegate onEndSendDeviceResetDelegate;
        
        private System.Threading.SendOrPostCallback onSendDeviceResetCompletedDelegate;
        
        private BeginOperationDelegate onBeginHeartbeatDelegate;
        
        private EndOperationDelegate onEndHeartbeatDelegate;
        
        private System.Threading.SendOrPostCallback onHeartbeatCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDataViewDelegate;
        
        private EndOperationDelegate onEndGetDataViewDelegate;
        
        private System.Threading.SendOrPostCallback onGetDataViewCompletedDelegate;
        
        private BeginOperationDelegate onBeginExeSQLNoneQueryDelegate;
        
        private EndOperationDelegate onEndExeSQLNoneQueryDelegate;
        
        private System.Threading.SendOrPostCallback onExeSQLNoneQueryCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetManDataViewDelegate;
        
        private EndOperationDelegate onEndGetManDataViewDelegate;
        
        private System.Threading.SendOrPostCallback onGetManDataViewCompletedDelegate;
        
        private BeginOperationDelegate onBeginExeManSQLNoneQueryDelegate;
        
        private EndOperationDelegate onEndExeManSQLNoneQueryDelegate;
        
        private System.Threading.SendOrPostCallback onExeManSQLNoneQueryCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetAllManageTaskDelegate;
        
        private EndOperationDelegate onEndGetAllManageTaskDelegate;
        
        private System.Threading.SendOrPostCallback onGetAllManageTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginDisassembleTaskDelegate;
        
        private EndOperationDelegate onEndDisassembleTaskDelegate;
        
        private System.Threading.SendOrPostCallback onDisassembleTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetLogicHaveGoodsDelegate;
        
        private EndOperationDelegate onEndSetLogicHaveGoodsDelegate;
        
        private System.Threading.SendOrPostCallback onSetLogicHaveGoodsCompletedDelegate;
        
        private BeginOperationDelegate onBeginDealWithDeviceStateDelegate;
        
        private EndOperationDelegate onEndDealWithDeviceStateDelegate;
        
        private System.Threading.SendOrPostCallback onDealWithDeviceStateCompletedDelegate;
        
        private BeginOperationDelegate onBeginSendAllDeviceStatesDelegate;
        
        private EndOperationDelegate onEndSendAllDeviceStatesDelegate;
        
        private System.Threading.SendOrPostCallback onSendAllDeviceStatesCompletedDelegate;
        
        private BeginOperationDelegate onBeginWriteDBDataDelegate;
        
        private EndOperationDelegate onEndWriteDBDataDelegate;
        
        private System.Threading.SendOrPostCallback onWriteDBDataCompletedDelegate;
        
        private BeginOperationDelegate onBeginReConnectOPCServerDelegate;
        
        private EndOperationDelegate onEndReConnectOPCServerDelegate;
        
        private System.Threading.SendOrPostCallback onReConnectOPCServerCompletedDelegate;
        
        private BeginOperationDelegate onBeginBuildAutoTaskDelegate;
        
        private EndOperationDelegate onEndBuildAutoTaskDelegate;
        
        private System.Threading.SendOrPostCallback onBuildAutoTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginModifyManageTaskDelegate;
        
        private EndOperationDelegate onEndModifyManageTaskDelegate;
        
        private System.Threading.SendOrPostCallback onModifyManageTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginModifyMonitorTaskDelegate;
        
        private EndOperationDelegate onEndModifyMonitorTaskDelegate;
        
        private System.Threading.SendOrPostCallback onModifyMonitorTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginModifyManageTaskForkDelegate;
        
        private EndOperationDelegate onEndModifyManageTaskForkDelegate;
        
        private System.Threading.SendOrPostCallback onModifyManageTaskForkCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetDeviceStateDelegate;
        
        private EndOperationDelegate onEndSetDeviceStateDelegate;
        
        private System.Threading.SendOrPostCallback onSetDeviceStateCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceInfoDelegate;
        
        private EndOperationDelegate onEndGetDeviceInfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceInfosDelegate;
        
        private EndOperationDelegate onEndGetDeviceInfosDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceInfosCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetRouteStateDelegate;
        
        private EndOperationDelegate onEndSetRouteStateDelegate;
        
        private System.Threading.SendOrPostCallback onSetRouteStateCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetRouteInfoDelegate;
        
        private EndOperationDelegate onEndGetRouteInfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetRouteInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetRouteInfosDelegate;
        
        private EndOperationDelegate onEndGetRouteInfosDelegate;
        
        private System.Threading.SendOrPostCallback onGetRouteInfosCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetForkCombinWaitTimeDelegate;
        
        private EndOperationDelegate onEndSetForkCombinWaitTimeDelegate;
        
        private System.Threading.SendOrPostCallback onSetForkCombinWaitTimeCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetForkCombinWaitTimeDelegate;
        
        private EndOperationDelegate onEndGetForkCombinWaitTimeDelegate;
        
        private System.Threading.SendOrPostCallback onGetForkCombinWaitTimeCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetConveyorTimeOutTimeDelegate;
        
        private EndOperationDelegate onEndSetConveyorTimeOutTimeDelegate;
        
        private System.Threading.SendOrPostCallback onSetConveyorTimeOutTimeCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetConveyorTimeOutTimeDelegate;
        
        private EndOperationDelegate onEndGetConveyorTimeOutTimeDelegate;
        
        private System.Threading.SendOrPostCallback onGetConveyorTimeOutTimeCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetDBConnectionDelegate;
        
        private EndOperationDelegate onEndSetDBConnectionDelegate;
        
        private System.Threading.SendOrPostCallback onSetDBConnectionCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDBConnectionDelegate;
        
        private EndOperationDelegate onEndGetDBConnectionDelegate;
        
        private System.Threading.SendOrPostCallback onGetDBConnectionCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetIOStationPropertyDelegate;
        
        private EndOperationDelegate onEndSetIOStationPropertyDelegate;
        
        private System.Threading.SendOrPostCallback onSetIOStationPropertyCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetBlackBoxParameterDelegate;
        
        private EndOperationDelegate onEndSetBlackBoxParameterDelegate;
        
        private System.Threading.SendOrPostCallback onSetBlackBoxParameterCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetBlackBoxInfoDelegate;
        
        private EndOperationDelegate onEndGetBlackBoxInfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetBlackBoxInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetAutoTaskHistoryDelegate;
        
        private EndOperationDelegate onEndGetAutoTaskHistoryDelegate;
        
        private System.Threading.SendOrPostCallback onGetAutoTaskHistoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginDeleteAutoTaskHistoryDelegate;
        
        private EndOperationDelegate onEndDeleteAutoTaskHistoryDelegate;
        
        private System.Threading.SendOrPostCallback onDeleteAutoTaskHistoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetUserAndPurviewDelegate;
        
        private EndOperationDelegate onEndSetUserAndPurviewDelegate;
        
        private System.Threading.SendOrPostCallback onSetUserAndPurviewCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetUserAndPurviewDelegate;
        
        private EndOperationDelegate onEndGetUserAndPurviewDelegate;
        
        private System.Threading.SendOrPostCallback onGetUserAndPurviewCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetUserPasswordDelegate;
        
        private EndOperationDelegate onEndSetUserPasswordDelegate;
        
        private System.Threading.SendOrPostCallback onSetUserPasswordCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetUserPasswordDelegate;
        
        private EndOperationDelegate onEndGetUserPasswordDelegate;
        
        private System.Threading.SendOrPostCallback onGetUserPasswordCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetReadedAndReportedBarcodeDelegate;
        
        private EndOperationDelegate onEndGetReadedAndReportedBarcodeDelegate;
        
        private System.Threading.SendOrPostCallback onGetReadedAndReportedBarcodeCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceAllErrorsDelegate;
        
        private EndOperationDelegate onEndGetDeviceAllErrorsDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceAllErrorsCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetAllRouteinfoDelegate;
        
        private EndOperationDelegate onEndGetAllRouteinfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetAllRouteinfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceJoinRouteinfoDelegate;
        
        private EndOperationDelegate onEndGetDeviceJoinRouteinfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceJoinRouteinfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetManageTasksDelegate;
        
        private EndOperationDelegate onEndGetManageTasksDelegate;
        
        private System.Threading.SendOrPostCallback onGetManageTasksCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetMonitorTasksDelegate;
        
        private EndOperationDelegate onEndGetMonitorTasksDelegate;
        
        private System.Threading.SendOrPostCallback onGetMonitorTasksCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDeviceStateInfoDelegate;
        
        private EndOperationDelegate onEndGetDeviceStateInfoDelegate;
        
        private System.Threading.SendOrPostCallback onGetDeviceStateInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetDeviceStateInfoDelegate;
        
        private EndOperationDelegate onEndSetDeviceStateInfoDelegate;
        
        private System.Threading.SendOrPostCallback onSetDeviceStateInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetRouteStateInfoDelegate;
        
        private EndOperationDelegate onEndSetRouteStateInfoDelegate;
        
        private System.Threading.SendOrPostCallback onSetRouteStateInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginSetDeviceJoinRouteStateInfoDelegate;
        
        private EndOperationDelegate onEndSetDeviceJoinRouteStateInfoDelegate;
        
        private System.Threading.SendOrPostCallback onSetDeviceJoinRouteStateInfoCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetAllCellInfosDelegate;
        
        private EndOperationDelegate onEndGetAllCellInfosDelegate;
        
        private System.Threading.SendOrPostCallback onGetAllCellInfosCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetLanguageFieldsDelegate;
        
        private EndOperationDelegate onEndGetLanguageFieldsDelegate;
        
        private System.Threading.SendOrPostCallback onGetLanguageFieldsCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetLanguageContentDelegate;
        
        private EndOperationDelegate onEndGetLanguageContentDelegate;
        
        private System.Threading.SendOrPostCallback onGetLanguageContentCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetDevicesDicDelegate;
        
        private EndOperationDelegate onEndGetDevicesDicDelegate;
        
        private System.Threading.SendOrPostCallback onGetDevicesDicCompletedDelegate;
        
        private BeginOperationDelegate onBeginRefreshMonitoringModeDelegate;
        
        private EndOperationDelegate onEndRefreshMonitoringModeDelegate;
        
        private System.Threading.SendOrPostCallback onRefreshMonitoringModeCompletedDelegate;
        
        private BeginOperationDelegate onBeginRegisterClientDelegate;
        
        private EndOperationDelegate onEndRegisterClientDelegate;
        
        private System.Threading.SendOrPostCallback onRegisterClientCompletedDelegate;
        
        private BeginOperationDelegate onBeginLogoutClientDelegate;
        
        private EndOperationDelegate onEndLogoutClientDelegate;
        
        private System.Threading.SendOrPostCallback onLogoutClientCompletedDelegate;
        
        private BeginOperationDelegate onBeginObtainTaskDelegate;
        
        private EndOperationDelegate onEndObtainTaskDelegate;
        
        private System.Threading.SendOrPostCallback onObtainTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginStopObtainTaskDelegate;
        
        private EndOperationDelegate onEndStopObtainTaskDelegate;
        
        private System.Threading.SendOrPostCallback onStopObtainTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginOrderTurnOnDelegate;
        
        private EndOperationDelegate onEndOrderTurnOnDelegate;
        
        private System.Threading.SendOrPostCallback onOrderTurnOnCompletedDelegate;
        
        private BeginOperationDelegate onBeginOrderTurnOffDelegate;
        
        private EndOperationDelegate onEndOrderTurnOffDelegate;
        
        private System.Threading.SendOrPostCallback onOrderTurnOffCompletedDelegate;
        
        private BeginOperationDelegate onBeginDeviceCommunicationInitDelegate;
        
        private EndOperationDelegate onEndDeviceCommunicationInitDelegate;
        
        private System.Threading.SendOrPostCallback onDeviceCommunicationInitCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetUsersDelegate;
        
        private EndOperationDelegate onEndGetUsersDelegate;
        
        private System.Threading.SendOrPostCallback onGetUsersCompletedDelegate;
        
        private BeginOperationDelegate onBeginBuildHandTaskDelegate;
        
        private EndOperationDelegate onEndBuildHandTaskDelegate;
        
        private System.Threading.SendOrPostCallback onBuildHandTaskCompletedDelegate;
        
        private BeginOperationDelegate onBeginBuildHandAssociateTaskDelegate;
        
        private EndOperationDelegate onEndBuildHandAssociateTaskDelegate;
        
        private System.Threading.SendOrPostCallback onBuildHandAssociateTaskCompletedDelegate;
        
        public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance) : 
                base(callbackInstance) {
        }
        
        public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) : 
                base(callbackInstance, endpointConfigurationName) {
        }
        
        public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) : 
                base(callbackInstance, endpointConfigurationName, remoteAddress) {
        }
        
        public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(callbackInstance, endpointConfigurationName, remoteAddress) {
        }
        
        public ControlMonitorClient(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(callbackInstance, binding, remoteAddress) {
        }
        
        public event System.EventHandler<ShutDownControlSystemCompletedEventArgs> ShutDownControlSystemCompleted;
        
        public event System.EventHandler<StartGetALLDeviceStateCompletedEventArgs> StartGetALLDeviceStateCompleted;
        
        public event System.EventHandler<StartSendDeviceOrderCompletedEventArgs> StartSendDeviceOrderCompleted;
        
        public event System.EventHandler<DataClearCompletedEventArgs> DataClearCompleted;
        
        public event System.EventHandler<GetManageTaskKindFromMonitorCompletedEventArgs> GetManageTaskKindFromMonitorCompleted;
        
        public event System.EventHandler<GetManageTaskIndexFromMonitorCompletedEventArgs> GetManageTaskIndexFromMonitorCompleted;
        
        public event System.EventHandler<GetDeviceKindIndexCompletedEventArgs> GetDeviceKindIndexCompleted;
        
        public event System.EventHandler<SendDeviceResetCompletedEventArgs> SendDeviceResetCompleted;
        
        public event System.EventHandler<HeartbeatCompletedEventArgs> HeartbeatCompleted;
        
        public event System.EventHandler<GetDataViewCompletedEventArgs> GetDataViewCompleted;
        
        public event System.EventHandler<ExeSQLNoneQueryCompletedEventArgs> ExeSQLNoneQueryCompleted;
        
        public event System.EventHandler<GetManDataViewCompletedEventArgs> GetManDataViewCompleted;
        
        public event System.EventHandler<ExeManSQLNoneQueryCompletedEventArgs> ExeManSQLNoneQueryCompleted;
        
        public event System.EventHandler<GetAllManageTaskCompletedEventArgs> GetAllManageTaskCompleted;
        
        public event System.EventHandler<DisassembleTaskCompletedEventArgs> DisassembleTaskCompleted;
        
        public event System.EventHandler<SetLogicHaveGoodsCompletedEventArgs> SetLogicHaveGoodsCompleted;
        
        public event System.EventHandler<DealWithDeviceStateCompletedEventArgs> DealWithDeviceStateCompleted;
        
        public event System.EventHandler<SendAllDeviceStatesCompletedEventArgs> SendAllDeviceStatesCompleted;
        
        public event System.EventHandler<WriteDBDataCompletedEventArgs> WriteDBDataCompleted;
        
        public event System.EventHandler<ReConnectOPCServerCompletedEventArgs> ReConnectOPCServerCompleted;
        
        public event System.EventHandler<BuildAutoTaskCompletedEventArgs> BuildAutoTaskCompleted;
        
        public event System.EventHandler<ModifyManageTaskCompletedEventArgs> ModifyManageTaskCompleted;
        
        public event System.EventHandler<ModifyMonitorTaskCompletedEventArgs> ModifyMonitorTaskCompleted;
        
        public event System.EventHandler<ModifyManageTaskForkCompletedEventArgs> ModifyManageTaskForkCompleted;
        
        public event System.EventHandler<SetDeviceStateCompletedEventArgs> SetDeviceStateCompleted;
        
        public event System.EventHandler<GetDeviceInfoCompletedEventArgs> GetDeviceInfoCompleted;
        
        public event System.EventHandler<GetDeviceInfosCompletedEventArgs> GetDeviceInfosCompleted;
        
        public event System.EventHandler<SetRouteStateCompletedEventArgs> SetRouteStateCompleted;
        
        public event System.EventHandler<GetRouteInfoCompletedEventArgs> GetRouteInfoCompleted;
        
        public event System.EventHandler<GetRouteInfosCompletedEventArgs> GetRouteInfosCompleted;
        
        public event System.EventHandler<SetForkCombinWaitTimeCompletedEventArgs> SetForkCombinWaitTimeCompleted;
        
        public event System.EventHandler<GetForkCombinWaitTimeCompletedEventArgs> GetForkCombinWaitTimeCompleted;
        
        public event System.EventHandler<SetConveyorTimeOutTimeCompletedEventArgs> SetConveyorTimeOutTimeCompleted;
        
        public event System.EventHandler<GetConveyorTimeOutTimeCompletedEventArgs> GetConveyorTimeOutTimeCompleted;
        
        public event System.EventHandler<SetDBConnectionCompletedEventArgs> SetDBConnectionCompleted;
        
        public event System.EventHandler<GetDBConnectionCompletedEventArgs> GetDBConnectionCompleted;
        
        public event System.EventHandler<SetIOStationPropertyCompletedEventArgs> SetIOStationPropertyCompleted;
        
        public event System.EventHandler<SetBlackBoxParameterCompletedEventArgs> SetBlackBoxParameterCompleted;
        
        public event System.EventHandler<GetBlackBoxInfoCompletedEventArgs> GetBlackBoxInfoCompleted;
        
        public event System.EventHandler<GetAutoTaskHistoryCompletedEventArgs> GetAutoTaskHistoryCompleted;
        
        public event System.EventHandler<DeleteAutoTaskHistoryCompletedEventArgs> DeleteAutoTaskHistoryCompleted;
        
        public event System.EventHandler<SetUserAndPurviewCompletedEventArgs> SetUserAndPurviewCompleted;
        
        public event System.EventHandler<GetUserAndPurviewCompletedEventArgs> GetUserAndPurviewCompleted;
        
        public event System.EventHandler<SetUserPasswordCompletedEventArgs> SetUserPasswordCompleted;
        
        public event System.EventHandler<GetUserPasswordCompletedEventArgs> GetUserPasswordCompleted;
        
        public event System.EventHandler<GetReadedAndReportedBarcodeCompletedEventArgs> GetReadedAndReportedBarcodeCompleted;
        
        public event System.EventHandler<GetDeviceAllErrorsCompletedEventArgs> GetDeviceAllErrorsCompleted;
        
        public event System.EventHandler<GetAllRouteinfoCompletedEventArgs> GetAllRouteinfoCompleted;
        
        public event System.EventHandler<GetDeviceJoinRouteinfoCompletedEventArgs> GetDeviceJoinRouteinfoCompleted;
        
        public event System.EventHandler<GetManageTasksCompletedEventArgs> GetManageTasksCompleted;
        
        public event System.EventHandler<GetMonitorTasksCompletedEventArgs> GetMonitorTasksCompleted;
        
        public event System.EventHandler<GetDeviceStateInfoCompletedEventArgs> GetDeviceStateInfoCompleted;
        
        public event System.EventHandler<SetDeviceStateInfoCompletedEventArgs> SetDeviceStateInfoCompleted;
        
        public event System.EventHandler<SetRouteStateInfoCompletedEventArgs> SetRouteStateInfoCompleted;
        
        public event System.EventHandler<SetDeviceJoinRouteStateInfoCompletedEventArgs> SetDeviceJoinRouteStateInfoCompleted;
        
        public event System.EventHandler<GetAllCellInfosCompletedEventArgs> GetAllCellInfosCompleted;
        
        public event System.EventHandler<GetLanguageFieldsCompletedEventArgs> GetLanguageFieldsCompleted;
        
        public event System.EventHandler<GetLanguageContentCompletedEventArgs> GetLanguageContentCompleted;
        
        public event System.EventHandler<GetDevicesDicCompletedEventArgs> GetDevicesDicCompleted;
        
        public event System.EventHandler<RefreshMonitoringModeCompletedEventArgs> RefreshMonitoringModeCompleted;
        
        public event System.EventHandler<RegisterClientCompletedEventArgs> RegisterClientCompleted;
        
        public event System.EventHandler<LogoutClientCompletedEventArgs> LogoutClientCompleted;
        
        public event System.EventHandler<ObtainTaskCompletedEventArgs> ObtainTaskCompleted;
        
        public event System.EventHandler<StopObtainTaskCompletedEventArgs> StopObtainTaskCompleted;
        
        public event System.EventHandler<OrderTurnOnCompletedEventArgs> OrderTurnOnCompleted;
        
        public event System.EventHandler<OrderTurnOffCompletedEventArgs> OrderTurnOffCompleted;
        
        public event System.EventHandler<DeviceCommunicationInitCompletedEventArgs> DeviceCommunicationInitCompleted;
        
        public event System.EventHandler<GetUsersCompletedEventArgs> GetUsersCompleted;
        
        public event System.EventHandler<BuildHandTaskCompletedEventArgs> BuildHandTaskCompleted;
        
        public event System.EventHandler<BuildHandAssociateTaskCompletedEventArgs> BuildHandAssociateTaskCompleted;
        
        public bool ShutDownControlSystem(out string ErrText) {
            return base.Channel.ShutDownControlSystem(out ErrText);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginShutDownControlSystem(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginShutDownControlSystem(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndShutDownControlSystem(out string ErrText, System.IAsyncResult result) {
            return base.Channel.EndShutDownControlSystem(out ErrText, result);
        }
        
        private System.IAsyncResult OnBeginShutDownControlSystem(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginShutDownControlSystem(callback, asyncState);
        }
        
        private object[] OnEndShutDownControlSystem(System.IAsyncResult result) {
            string ErrText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndShutDownControlSystem(out ErrText, result);
            return new object[] {
                    ErrText,
                    retVal};
        }
        
        private void OnShutDownControlSystemCompleted(object state) {
            if ((this.ShutDownControlSystemCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ShutDownControlSystemCompleted(this, new ShutDownControlSystemCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ShutDownControlSystemAsync() {
            this.ShutDownControlSystemAsync(null);
        }
        
        public void ShutDownControlSystemAsync(object userState) {
            if ((this.onBeginShutDownControlSystemDelegate == null)) {
                this.onBeginShutDownControlSystemDelegate = new BeginOperationDelegate(this.OnBeginShutDownControlSystem);
            }
            if ((this.onEndShutDownControlSystemDelegate == null)) {
                this.onEndShutDownControlSystemDelegate = new EndOperationDelegate(this.OnEndShutDownControlSystem);
            }
            if ((this.onShutDownControlSystemCompletedDelegate == null)) {
                this.onShutDownControlSystemCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShutDownControlSystemCompleted);
            }
            base.InvokeAsync(this.onBeginShutDownControlSystemDelegate, null, this.onEndShutDownControlSystemDelegate, this.onShutDownControlSystemCompletedDelegate, userState);
        }
        
        public bool StartGetALLDeviceState(out string Errtext) {
            return base.Channel.StartGetALLDeviceState(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginStartGetALLDeviceState(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginStartGetALLDeviceState(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndStartGetALLDeviceState(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndStartGetALLDeviceState(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginStartGetALLDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginStartGetALLDeviceState(callback, asyncState);
        }
        
        private object[] OnEndStartGetALLDeviceState(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndStartGetALLDeviceState(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnStartGetALLDeviceStateCompleted(object state) {
            if ((this.StartGetALLDeviceStateCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.StartGetALLDeviceStateCompleted(this, new StartGetALLDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void StartGetALLDeviceStateAsync() {
            this.StartGetALLDeviceStateAsync(null);
        }
        
        public void StartGetALLDeviceStateAsync(object userState) {
            if ((this.onBeginStartGetALLDeviceStateDelegate == null)) {
                this.onBeginStartGetALLDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginStartGetALLDeviceState);
            }
            if ((this.onEndStartGetALLDeviceStateDelegate == null)) {
                this.onEndStartGetALLDeviceStateDelegate = new EndOperationDelegate(this.OnEndStartGetALLDeviceState);
            }
            if ((this.onStartGetALLDeviceStateCompletedDelegate == null)) {
                this.onStartGetALLDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartGetALLDeviceStateCompleted);
            }
            base.InvokeAsync(this.onBeginStartGetALLDeviceStateDelegate, null, this.onEndStartGetALLDeviceStateDelegate, this.onStartGetALLDeviceStateCompletedDelegate, userState);
        }
        
        public bool StartSendDeviceOrder(out string Errtext) {
            return base.Channel.StartSendDeviceOrder(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginStartSendDeviceOrder(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginStartSendDeviceOrder(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndStartSendDeviceOrder(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndStartSendDeviceOrder(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginStartSendDeviceOrder(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginStartSendDeviceOrder(callback, asyncState);
        }
        
        private object[] OnEndStartSendDeviceOrder(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndStartSendDeviceOrder(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnStartSendDeviceOrderCompleted(object state) {
            if ((this.StartSendDeviceOrderCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.StartSendDeviceOrderCompleted(this, new StartSendDeviceOrderCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void StartSendDeviceOrderAsync() {
            this.StartSendDeviceOrderAsync(null);
        }
        
        public void StartSendDeviceOrderAsync(object userState) {
            if ((this.onBeginStartSendDeviceOrderDelegate == null)) {
                this.onBeginStartSendDeviceOrderDelegate = new BeginOperationDelegate(this.OnBeginStartSendDeviceOrder);
            }
            if ((this.onEndStartSendDeviceOrderDelegate == null)) {
                this.onEndStartSendDeviceOrderDelegate = new EndOperationDelegate(this.OnEndStartSendDeviceOrder);
            }
            if ((this.onStartSendDeviceOrderCompletedDelegate == null)) {
                this.onStartSendDeviceOrderCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStartSendDeviceOrderCompleted);
            }
            base.InvokeAsync(this.onBeginStartSendDeviceOrderDelegate, null, this.onEndStartSendDeviceOrderDelegate, this.onStartSendDeviceOrderCompletedDelegate, userState);
        }
        
        public bool DataClear(out string Errtext) {
            return base.Channel.DataClear(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginDataClear(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginDataClear(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndDataClear(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndDataClear(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginDataClear(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginDataClear(callback, asyncState);
        }
        
        private object[] OnEndDataClear(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndDataClear(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnDataClearCompleted(object state) {
            if ((this.DataClearCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.DataClearCompleted(this, new DataClearCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void DataClearAsync() {
            this.DataClearAsync(null);
        }
        
        public void DataClearAsync(object userState) {
            if ((this.onBeginDataClearDelegate == null)) {
                this.onBeginDataClearDelegate = new BeginOperationDelegate(this.OnBeginDataClear);
            }
            if ((this.onEndDataClearDelegate == null)) {
                this.onEndDataClearDelegate = new EndOperationDelegate(this.OnEndDataClear);
            }
            if ((this.onDataClearCompletedDelegate == null)) {
                this.onDataClearCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDataClearCompleted);
            }
            base.InvokeAsync(this.onBeginDataClearDelegate, null, this.onEndDataClearDelegate, this.onDataClearCompletedDelegate, userState);
        }
        
        public int GetManageTaskKindFromMonitor(out string errtext, int monitorIndex) {
            return base.Channel.GetManageTaskKindFromMonitor(out errtext, monitorIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetManageTaskKindFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndGetManageTaskKindFromMonitor(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetManageTaskKindFromMonitor(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetManageTaskKindFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int monitorIndex = ((int)(inValues[0]));
            return this.BeginGetManageTaskKindFromMonitor(monitorIndex, callback, asyncState);
        }
        
        private object[] OnEndGetManageTaskKindFromMonitor(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndGetManageTaskKindFromMonitor(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetManageTaskKindFromMonitorCompleted(object state) {
            if ((this.GetManageTaskKindFromMonitorCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetManageTaskKindFromMonitorCompleted(this, new GetManageTaskKindFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetManageTaskKindFromMonitorAsync(int monitorIndex) {
            this.GetManageTaskKindFromMonitorAsync(monitorIndex, null);
        }
        
        public void GetManageTaskKindFromMonitorAsync(int monitorIndex, object userState) {
            if ((this.onBeginGetManageTaskKindFromMonitorDelegate == null)) {
                this.onBeginGetManageTaskKindFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskKindFromMonitor);
            }
            if ((this.onEndGetManageTaskKindFromMonitorDelegate == null)) {
                this.onEndGetManageTaskKindFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskKindFromMonitor);
            }
            if ((this.onGetManageTaskKindFromMonitorCompletedDelegate == null)) {
                this.onGetManageTaskKindFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskKindFromMonitorCompleted);
            }
            base.InvokeAsync(this.onBeginGetManageTaskKindFromMonitorDelegate, new object[] {
                        monitorIndex}, this.onEndGetManageTaskKindFromMonitorDelegate, this.onGetManageTaskKindFromMonitorCompletedDelegate, userState);
        }
        
        public int GetManageTaskIndexFromMonitor(out string errtext, int monitorIndex) {
            return base.Channel.GetManageTaskIndexFromMonitor(out errtext, monitorIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetManageTaskIndexFromMonitor(int monitorIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndGetManageTaskIndexFromMonitor(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetManageTaskIndexFromMonitor(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetManageTaskIndexFromMonitor(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int monitorIndex = ((int)(inValues[0]));
            return this.BeginGetManageTaskIndexFromMonitor(monitorIndex, callback, asyncState);
        }
        
        private object[] OnEndGetManageTaskIndexFromMonitor(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndGetManageTaskIndexFromMonitor(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetManageTaskIndexFromMonitorCompleted(object state) {
            if ((this.GetManageTaskIndexFromMonitorCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetManageTaskIndexFromMonitorCompleted(this, new GetManageTaskIndexFromMonitorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetManageTaskIndexFromMonitorAsync(int monitorIndex) {
            this.GetManageTaskIndexFromMonitorAsync(monitorIndex, null);
        }
        
        public void GetManageTaskIndexFromMonitorAsync(int monitorIndex, object userState) {
            if ((this.onBeginGetManageTaskIndexFromMonitorDelegate == null)) {
                this.onBeginGetManageTaskIndexFromMonitorDelegate = new BeginOperationDelegate(this.OnBeginGetManageTaskIndexFromMonitor);
            }
            if ((this.onEndGetManageTaskIndexFromMonitorDelegate == null)) {
                this.onEndGetManageTaskIndexFromMonitorDelegate = new EndOperationDelegate(this.OnEndGetManageTaskIndexFromMonitor);
            }
            if ((this.onGetManageTaskIndexFromMonitorCompletedDelegate == null)) {
                this.onGetManageTaskIndexFromMonitorCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTaskIndexFromMonitorCompleted);
            }
            base.InvokeAsync(this.onBeginGetManageTaskIndexFromMonitorDelegate, new object[] {
                        monitorIndex}, this.onEndGetManageTaskIndexFromMonitorDelegate, this.onGetManageTaskIndexFromMonitorCompletedDelegate, userState);
        }
        
        public int GetDeviceKindIndex(out string errtext, int deviceIndex) {
            return base.Channel.GetDeviceKindIndex(out errtext, deviceIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceKindIndex(int deviceIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndGetDeviceKindIndex(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceKindIndex(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceKindIndex(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            return this.BeginGetDeviceKindIndex(deviceIndex, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceKindIndex(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndGetDeviceKindIndex(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetDeviceKindIndexCompleted(object state) {
            if ((this.GetDeviceKindIndexCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceKindIndexCompleted(this, new GetDeviceKindIndexCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceKindIndexAsync(int deviceIndex) {
            this.GetDeviceKindIndexAsync(deviceIndex, null);
        }
        
        public void GetDeviceKindIndexAsync(int deviceIndex, object userState) {
            if ((this.onBeginGetDeviceKindIndexDelegate == null)) {
                this.onBeginGetDeviceKindIndexDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceKindIndex);
            }
            if ((this.onEndGetDeviceKindIndexDelegate == null)) {
                this.onEndGetDeviceKindIndexDelegate = new EndOperationDelegate(this.OnEndGetDeviceKindIndex);
            }
            if ((this.onGetDeviceKindIndexCompletedDelegate == null)) {
                this.onGetDeviceKindIndexCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceKindIndexCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceKindIndexDelegate, new object[] {
                        deviceIndex}, this.onEndGetDeviceKindIndexDelegate, this.onGetDeviceKindIndexCompletedDelegate, userState);
        }
        
        public bool SendDeviceReset(out string errtext, int deviceIndex, int ResetOrder) {
            return base.Channel.SendDeviceReset(out errtext, deviceIndex, ResetOrder);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSendDeviceReset(int deviceIndex, int ResetOrder, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSendDeviceReset(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndSendDeviceReset(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginSendDeviceReset(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            int ResetOrder = ((int)(inValues[1]));
            return this.BeginSendDeviceReset(deviceIndex, ResetOrder, callback, asyncState);
        }
        
        private object[] OnEndSendDeviceReset(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSendDeviceReset(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnSendDeviceResetCompleted(object state) {
            if ((this.SendDeviceResetCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SendDeviceResetCompleted(this, new SendDeviceResetCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SendDeviceResetAsync(int deviceIndex, int ResetOrder) {
            this.SendDeviceResetAsync(deviceIndex, ResetOrder, null);
        }
        
        public void SendDeviceResetAsync(int deviceIndex, int ResetOrder, object userState) {
            if ((this.onBeginSendDeviceResetDelegate == null)) {
                this.onBeginSendDeviceResetDelegate = new BeginOperationDelegate(this.OnBeginSendDeviceReset);
            }
            if ((this.onEndSendDeviceResetDelegate == null)) {
                this.onEndSendDeviceResetDelegate = new EndOperationDelegate(this.OnEndSendDeviceReset);
            }
            if ((this.onSendDeviceResetCompletedDelegate == null)) {
                this.onSendDeviceResetCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendDeviceResetCompleted);
            }
            base.InvokeAsync(this.onBeginSendDeviceResetDelegate, new object[] {
                        deviceIndex,
                        ResetOrder}, this.onEndSendDeviceResetDelegate, this.onSendDeviceResetCompletedDelegate, userState);
        }
        
        public bool Heartbeat(out Model.MonitorInfo monitorinfo) {
            return base.Channel.Heartbeat(out monitorinfo);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginHeartbeat(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginHeartbeat(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndHeartbeat(out Model.MonitorInfo monitorinfo, System.IAsyncResult result) {
            return base.Channel.EndHeartbeat(out monitorinfo, result);
        }
        
        private System.IAsyncResult OnBeginHeartbeat(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginHeartbeat(callback, asyncState);
        }
        
        private object[] OnEndHeartbeat(System.IAsyncResult result) {
            Model.MonitorInfo monitorinfo = this.GetDefaultValueForInitialization<Model.MonitorInfo>();
            bool retVal = this.EndHeartbeat(out monitorinfo, result);
            return new object[] {
                    monitorinfo,
                    retVal};
        }
        
        private void OnHeartbeatCompleted(object state) {
            if ((this.HeartbeatCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.HeartbeatCompleted(this, new HeartbeatCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void HeartbeatAsync() {
            this.HeartbeatAsync(null);
        }
        
        public void HeartbeatAsync(object userState) {
            if ((this.onBeginHeartbeatDelegate == null)) {
                this.onBeginHeartbeatDelegate = new BeginOperationDelegate(this.OnBeginHeartbeat);
            }
            if ((this.onEndHeartbeatDelegate == null)) {
                this.onEndHeartbeatDelegate = new EndOperationDelegate(this.OnEndHeartbeat);
            }
            if ((this.onHeartbeatCompletedDelegate == null)) {
                this.onHeartbeatCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnHeartbeatCompleted);
            }
            base.InvokeAsync(this.onBeginHeartbeatDelegate, null, this.onEndHeartbeatDelegate, this.onHeartbeatCompletedDelegate, userState);
        }
        
        public System.Data.DataTable GetDataView(out string errtext, string SQL) {
            return base.Channel.GetDataView(out errtext, SQL);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDataView(string SQL, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDataView(SQL, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.Data.DataTable EndGetDataView(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetDataView(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string SQL = ((string)(inValues[0]));
            return this.BeginGetDataView(SQL, callback, asyncState);
        }
        
        private object[] OnEndGetDataView(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            System.Data.DataTable retVal = this.EndGetDataView(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetDataViewCompleted(object state) {
            if ((this.GetDataViewCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDataViewCompleted(this, new GetDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDataViewAsync(string SQL) {
            this.GetDataViewAsync(SQL, null);
        }
        
        public void GetDataViewAsync(string SQL, object userState) {
            if ((this.onBeginGetDataViewDelegate == null)) {
                this.onBeginGetDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetDataView);
            }
            if ((this.onEndGetDataViewDelegate == null)) {
                this.onEndGetDataViewDelegate = new EndOperationDelegate(this.OnEndGetDataView);
            }
            if ((this.onGetDataViewCompletedDelegate == null)) {
                this.onGetDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataViewCompleted);
            }
            base.InvokeAsync(this.onBeginGetDataViewDelegate, new object[] {
                        SQL}, this.onEndGetDataViewDelegate, this.onGetDataViewCompletedDelegate, userState);
        }
        
        public int ExeSQLNoneQuery(out string errtext, string SQL) {
            return base.Channel.ExeSQLNoneQuery(out errtext, SQL);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginExeSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginExeSQLNoneQuery(SQL, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndExeSQLNoneQuery(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndExeSQLNoneQuery(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginExeSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string SQL = ((string)(inValues[0]));
            return this.BeginExeSQLNoneQuery(SQL, callback, asyncState);
        }
        
        private object[] OnEndExeSQLNoneQuery(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndExeSQLNoneQuery(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnExeSQLNoneQueryCompleted(object state) {
            if ((this.ExeSQLNoneQueryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ExeSQLNoneQueryCompleted(this, new ExeSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ExeSQLNoneQueryAsync(string SQL) {
            this.ExeSQLNoneQueryAsync(SQL, null);
        }
        
        public void ExeSQLNoneQueryAsync(string SQL, object userState) {
            if ((this.onBeginExeSQLNoneQueryDelegate == null)) {
                this.onBeginExeSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeSQLNoneQuery);
            }
            if ((this.onEndExeSQLNoneQueryDelegate == null)) {
                this.onEndExeSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeSQLNoneQuery);
            }
            if ((this.onExeSQLNoneQueryCompletedDelegate == null)) {
                this.onExeSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeSQLNoneQueryCompleted);
            }
            base.InvokeAsync(this.onBeginExeSQLNoneQueryDelegate, new object[] {
                        SQL}, this.onEndExeSQLNoneQueryDelegate, this.onExeSQLNoneQueryCompletedDelegate, userState);
        }
        
        public System.Data.DataTable GetManDataView(out string errtext, string SQL) {
            return base.Channel.GetManDataView(out errtext, SQL);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetManDataView(string SQL, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetManDataView(SQL, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.Data.DataTable EndGetManDataView(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetManDataView(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetManDataView(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string SQL = ((string)(inValues[0]));
            return this.BeginGetManDataView(SQL, callback, asyncState);
        }
        
        private object[] OnEndGetManDataView(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            System.Data.DataTable retVal = this.EndGetManDataView(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetManDataViewCompleted(object state) {
            if ((this.GetManDataViewCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetManDataViewCompleted(this, new GetManDataViewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetManDataViewAsync(string SQL) {
            this.GetManDataViewAsync(SQL, null);
        }
        
        public void GetManDataViewAsync(string SQL, object userState) {
            if ((this.onBeginGetManDataViewDelegate == null)) {
                this.onBeginGetManDataViewDelegate = new BeginOperationDelegate(this.OnBeginGetManDataView);
            }
            if ((this.onEndGetManDataViewDelegate == null)) {
                this.onEndGetManDataViewDelegate = new EndOperationDelegate(this.OnEndGetManDataView);
            }
            if ((this.onGetManDataViewCompletedDelegate == null)) {
                this.onGetManDataViewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManDataViewCompleted);
            }
            base.InvokeAsync(this.onBeginGetManDataViewDelegate, new object[] {
                        SQL}, this.onEndGetManDataViewDelegate, this.onGetManDataViewCompletedDelegate, userState);
        }
        
        public int ExeManSQLNoneQuery(out string errtext, string SQL) {
            return base.Channel.ExeManSQLNoneQuery(out errtext, SQL);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginExeManSQLNoneQuery(string SQL, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndExeManSQLNoneQuery(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndExeManSQLNoneQuery(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginExeManSQLNoneQuery(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string SQL = ((string)(inValues[0]));
            return this.BeginExeManSQLNoneQuery(SQL, callback, asyncState);
        }
        
        private object[] OnEndExeManSQLNoneQuery(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndExeManSQLNoneQuery(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnExeManSQLNoneQueryCompleted(object state) {
            if ((this.ExeManSQLNoneQueryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ExeManSQLNoneQueryCompleted(this, new ExeManSQLNoneQueryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ExeManSQLNoneQueryAsync(string SQL) {
            this.ExeManSQLNoneQueryAsync(SQL, null);
        }
        
        public void ExeManSQLNoneQueryAsync(string SQL, object userState) {
            if ((this.onBeginExeManSQLNoneQueryDelegate == null)) {
                this.onBeginExeManSQLNoneQueryDelegate = new BeginOperationDelegate(this.OnBeginExeManSQLNoneQuery);
            }
            if ((this.onEndExeManSQLNoneQueryDelegate == null)) {
                this.onEndExeManSQLNoneQueryDelegate = new EndOperationDelegate(this.OnEndExeManSQLNoneQuery);
            }
            if ((this.onExeManSQLNoneQueryCompletedDelegate == null)) {
                this.onExeManSQLNoneQueryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExeManSQLNoneQueryCompleted);
            }
            base.InvokeAsync(this.onBeginExeManSQLNoneQueryDelegate, new object[] {
                        SQL}, this.onEndExeManSQLNoneQueryDelegate, this.onExeManSQLNoneQueryCompletedDelegate, userState);
        }
        
        public bool GetAllManageTask(out string errtext) {
            return base.Channel.GetAllManageTask(out errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetAllManageTask(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetAllManageTask(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndGetAllManageTask(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndGetAllManageTask(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetAllManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetAllManageTask(callback, asyncState);
        }
        
        private object[] OnEndGetAllManageTask(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndGetAllManageTask(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnGetAllManageTaskCompleted(object state) {
            if ((this.GetAllManageTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetAllManageTaskCompleted(this, new GetAllManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetAllManageTaskAsync() {
            this.GetAllManageTaskAsync(null);
        }
        
        public void GetAllManageTaskAsync(object userState) {
            if ((this.onBeginGetAllManageTaskDelegate == null)) {
                this.onBeginGetAllManageTaskDelegate = new BeginOperationDelegate(this.OnBeginGetAllManageTask);
            }
            if ((this.onEndGetAllManageTaskDelegate == null)) {
                this.onEndGetAllManageTaskDelegate = new EndOperationDelegate(this.OnEndGetAllManageTask);
            }
            if ((this.onGetAllManageTaskCompletedDelegate == null)) {
                this.onGetAllManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllManageTaskCompleted);
            }
            base.InvokeAsync(this.onBeginGetAllManageTaskDelegate, null, this.onEndGetAllManageTaskDelegate, this.onGetAllManageTaskCompletedDelegate, userState);
        }
        
        public bool DisassembleTask(out string errtext) {
            return base.Channel.DisassembleTask(out errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginDisassembleTask(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginDisassembleTask(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndDisassembleTask(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndDisassembleTask(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginDisassembleTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginDisassembleTask(callback, asyncState);
        }
        
        private object[] OnEndDisassembleTask(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndDisassembleTask(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnDisassembleTaskCompleted(object state) {
            if ((this.DisassembleTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.DisassembleTaskCompleted(this, new DisassembleTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void DisassembleTaskAsync() {
            this.DisassembleTaskAsync(null);
        }
        
        public void DisassembleTaskAsync(object userState) {
            if ((this.onBeginDisassembleTaskDelegate == null)) {
                this.onBeginDisassembleTaskDelegate = new BeginOperationDelegate(this.OnBeginDisassembleTask);
            }
            if ((this.onEndDisassembleTaskDelegate == null)) {
                this.onEndDisassembleTaskDelegate = new EndOperationDelegate(this.OnEndDisassembleTask);
            }
            if ((this.onDisassembleTaskCompletedDelegate == null)) {
                this.onDisassembleTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisassembleTaskCompleted);
            }
            base.InvokeAsync(this.onBeginDisassembleTaskDelegate, null, this.onEndDisassembleTaskDelegate, this.onDisassembleTaskCompletedDelegate, userState);
        }
        
        public bool SetLogicHaveGoods(out string errtext, bool ifHaveGoods, int deviceindex) {
            return base.Channel.SetLogicHaveGoods(out errtext, ifHaveGoods, deviceindex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetLogicHaveGoods(bool ifHaveGoods, int deviceindex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetLogicHaveGoods(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndSetLogicHaveGoods(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetLogicHaveGoods(object[] inValues, System.AsyncCallback callback, object asyncState) {
            bool ifHaveGoods = ((bool)(inValues[0]));
            int deviceindex = ((int)(inValues[1]));
            return this.BeginSetLogicHaveGoods(ifHaveGoods, deviceindex, callback, asyncState);
        }
        
        private object[] OnEndSetLogicHaveGoods(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetLogicHaveGoods(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnSetLogicHaveGoodsCompleted(object state) {
            if ((this.SetLogicHaveGoodsCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetLogicHaveGoodsCompleted(this, new SetLogicHaveGoodsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex) {
            this.SetLogicHaveGoodsAsync(ifHaveGoods, deviceindex, null);
        }
        
        public void SetLogicHaveGoodsAsync(bool ifHaveGoods, int deviceindex, object userState) {
            if ((this.onBeginSetLogicHaveGoodsDelegate == null)) {
                this.onBeginSetLogicHaveGoodsDelegate = new BeginOperationDelegate(this.OnBeginSetLogicHaveGoods);
            }
            if ((this.onEndSetLogicHaveGoodsDelegate == null)) {
                this.onEndSetLogicHaveGoodsDelegate = new EndOperationDelegate(this.OnEndSetLogicHaveGoods);
            }
            if ((this.onSetLogicHaveGoodsCompletedDelegate == null)) {
                this.onSetLogicHaveGoodsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetLogicHaveGoodsCompleted);
            }
            base.InvokeAsync(this.onBeginSetLogicHaveGoodsDelegate, new object[] {
                        ifHaveGoods,
                        deviceindex}, this.onEndSetLogicHaveGoodsDelegate, this.onSetLogicHaveGoodsCompletedDelegate, userState);
        }
        
        public bool DealWithDeviceState(out string errtext, int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
            return base.Channel.DealWithDeviceState(out errtext, deviceindex, splitbyteValue, devicestates);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginDealWithDeviceState(int deviceindex, byte[] splitbyteValue, byte[] devicestates, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndDealWithDeviceState(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndDealWithDeviceState(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginDealWithDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceindex = ((int)(inValues[0]));
            byte[] splitbyteValue = ((byte[])(inValues[1]));
            byte[] devicestates = ((byte[])(inValues[2]));
            return this.BeginDealWithDeviceState(deviceindex, splitbyteValue, devicestates, callback, asyncState);
        }
        
        private object[] OnEndDealWithDeviceState(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndDealWithDeviceState(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnDealWithDeviceStateCompleted(object state) {
            if ((this.DealWithDeviceStateCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.DealWithDeviceStateCompleted(this, new DealWithDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates) {
            this.DealWithDeviceStateAsync(deviceindex, splitbyteValue, devicestates, null);
        }
        
        public void DealWithDeviceStateAsync(int deviceindex, byte[] splitbyteValue, byte[] devicestates, object userState) {
            if ((this.onBeginDealWithDeviceStateDelegate == null)) {
                this.onBeginDealWithDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginDealWithDeviceState);
            }
            if ((this.onEndDealWithDeviceStateDelegate == null)) {
                this.onEndDealWithDeviceStateDelegate = new EndOperationDelegate(this.OnEndDealWithDeviceState);
            }
            if ((this.onDealWithDeviceStateCompletedDelegate == null)) {
                this.onDealWithDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDealWithDeviceStateCompleted);
            }
            base.InvokeAsync(this.onBeginDealWithDeviceStateDelegate, new object[] {
                        deviceindex,
                        splitbyteValue,
                        devicestates}, this.onEndDealWithDeviceStateDelegate, this.onDealWithDeviceStateCompletedDelegate, userState);
        }
        
        public Model.MDevice SendAllDeviceStates(int device) {
            return base.Channel.SendAllDeviceStates(device);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSendAllDeviceStates(int device, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSendAllDeviceStates(device, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MDevice EndSendAllDeviceStates(System.IAsyncResult result) {
            return base.Channel.EndSendAllDeviceStates(result);
        }
        
        private System.IAsyncResult OnBeginSendAllDeviceStates(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int device = ((int)(inValues[0]));
            return this.BeginSendAllDeviceStates(device, callback, asyncState);
        }
        
        private object[] OnEndSendAllDeviceStates(System.IAsyncResult result) {
            Model.MDevice retVal = this.EndSendAllDeviceStates(result);
            return new object[] {
                    retVal};
        }
        
        private void OnSendAllDeviceStatesCompleted(object state) {
            if ((this.SendAllDeviceStatesCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SendAllDeviceStatesCompleted(this, new SendAllDeviceStatesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SendAllDeviceStatesAsync(int device) {
            this.SendAllDeviceStatesAsync(device, null);
        }
        
        public void SendAllDeviceStatesAsync(int device, object userState) {
            if ((this.onBeginSendAllDeviceStatesDelegate == null)) {
                this.onBeginSendAllDeviceStatesDelegate = new BeginOperationDelegate(this.OnBeginSendAllDeviceStates);
            }
            if ((this.onEndSendAllDeviceStatesDelegate == null)) {
                this.onEndSendAllDeviceStatesDelegate = new EndOperationDelegate(this.OnEndSendAllDeviceStates);
            }
            if ((this.onSendAllDeviceStatesCompletedDelegate == null)) {
                this.onSendAllDeviceStatesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSendAllDeviceStatesCompleted);
            }
            base.InvokeAsync(this.onBeginSendAllDeviceStatesDelegate, new object[] {
                        device}, this.onEndSendAllDeviceStatesDelegate, this.onSendAllDeviceStatesCompletedDelegate, userState);
        }
        
        public bool WriteDBData(out string errtext, int deviceIndex, string DBBlock, string Wdata) {
            return base.Channel.WriteDBData(out errtext, deviceIndex, DBBlock, Wdata);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginWriteDBData(int deviceIndex, string DBBlock, string Wdata, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndWriteDBData(out string errtext, System.IAsyncResult result) {
            return base.Channel.EndWriteDBData(out errtext, result);
        }
        
        private System.IAsyncResult OnBeginWriteDBData(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            string DBBlock = ((string)(inValues[1]));
            string Wdata = ((string)(inValues[2]));
            return this.BeginWriteDBData(deviceIndex, DBBlock, Wdata, callback, asyncState);
        }
        
        private object[] OnEndWriteDBData(System.IAsyncResult result) {
            string errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndWriteDBData(out errtext, result);
            return new object[] {
                    errtext,
                    retVal};
        }
        
        private void OnWriteDBDataCompleted(object state) {
            if ((this.WriteDBDataCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.WriteDBDataCompleted(this, new WriteDBDataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata) {
            this.WriteDBDataAsync(deviceIndex, DBBlock, Wdata, null);
        }
        
        public void WriteDBDataAsync(int deviceIndex, string DBBlock, string Wdata, object userState) {
            if ((this.onBeginWriteDBDataDelegate == null)) {
                this.onBeginWriteDBDataDelegate = new BeginOperationDelegate(this.OnBeginWriteDBData);
            }
            if ((this.onEndWriteDBDataDelegate == null)) {
                this.onEndWriteDBDataDelegate = new EndOperationDelegate(this.OnEndWriteDBData);
            }
            if ((this.onWriteDBDataCompletedDelegate == null)) {
                this.onWriteDBDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnWriteDBDataCompleted);
            }
            base.InvokeAsync(this.onBeginWriteDBDataDelegate, new object[] {
                        deviceIndex,
                        DBBlock,
                        Wdata}, this.onEndWriteDBDataDelegate, this.onWriteDBDataCompletedDelegate, userState);
        }
        
        public bool ReConnectOPCServer() {
            return base.Channel.ReConnectOPCServer();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginReConnectOPCServer(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginReConnectOPCServer(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndReConnectOPCServer(System.IAsyncResult result) {
            return base.Channel.EndReConnectOPCServer(result);
        }
        
        private System.IAsyncResult OnBeginReConnectOPCServer(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginReConnectOPCServer(callback, asyncState);
        }
        
        private object[] OnEndReConnectOPCServer(System.IAsyncResult result) {
            bool retVal = this.EndReConnectOPCServer(result);
            return new object[] {
                    retVal};
        }
        
        private void OnReConnectOPCServerCompleted(object state) {
            if ((this.ReConnectOPCServerCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ReConnectOPCServerCompleted(this, new ReConnectOPCServerCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ReConnectOPCServerAsync() {
            this.ReConnectOPCServerAsync(null);
        }
        
        public void ReConnectOPCServerAsync(object userState) {
            if ((this.onBeginReConnectOPCServerDelegate == null)) {
                this.onBeginReConnectOPCServerDelegate = new BeginOperationDelegate(this.OnBeginReConnectOPCServer);
            }
            if ((this.onEndReConnectOPCServerDelegate == null)) {
                this.onEndReConnectOPCServerDelegate = new EndOperationDelegate(this.OnEndReConnectOPCServer);
            }
            if ((this.onReConnectOPCServerCompletedDelegate == null)) {
                this.onReConnectOPCServerCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnReConnectOPCServerCompleted);
            }
            base.InvokeAsync(this.onBeginReConnectOPCServerDelegate, null, this.onEndReConnectOPCServerDelegate, this.onReConnectOPCServerCompletedDelegate, userState);
        }
        
        public bool BuildAutoTask(out string Errtext, Model.AutoTask Autotask) {
            return base.Channel.BuildAutoTask(out Errtext, Autotask);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginBuildAutoTask(Model.AutoTask Autotask, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginBuildAutoTask(Autotask, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndBuildAutoTask(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndBuildAutoTask(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginBuildAutoTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Model.AutoTask Autotask = ((Model.AutoTask)(inValues[0]));
            return this.BeginBuildAutoTask(Autotask, callback, asyncState);
        }
        
        private object[] OnEndBuildAutoTask(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndBuildAutoTask(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnBuildAutoTaskCompleted(object state) {
            if ((this.BuildAutoTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.BuildAutoTaskCompleted(this, new BuildAutoTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void BuildAutoTaskAsync(Model.AutoTask Autotask) {
            this.BuildAutoTaskAsync(Autotask, null);
        }
        
        public void BuildAutoTaskAsync(Model.AutoTask Autotask, object userState) {
            if ((this.onBeginBuildAutoTaskDelegate == null)) {
                this.onBeginBuildAutoTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildAutoTask);
            }
            if ((this.onEndBuildAutoTaskDelegate == null)) {
                this.onEndBuildAutoTaskDelegate = new EndOperationDelegate(this.OnEndBuildAutoTask);
            }
            if ((this.onBuildAutoTaskCompletedDelegate == null)) {
                this.onBuildAutoTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildAutoTaskCompleted);
            }
            base.InvokeAsync(this.onBeginBuildAutoTaskDelegate, new object[] {
                        Autotask}, this.onEndBuildAutoTaskDelegate, this.onBuildAutoTaskCompletedDelegate, userState);
        }
        
        public bool ModifyManageTask(out string Errtext, int ManKind, int ManagetaskID, int ActionID) {
            return base.Channel.ModifyManageTask(out Errtext, ManKind, ManagetaskID, ActionID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginModifyManageTask(int ManKind, int ManagetaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndModifyManageTask(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndModifyManageTask(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginModifyManageTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int ManKind = ((int)(inValues[0]));
            int ManagetaskID = ((int)(inValues[1]));
            int ActionID = ((int)(inValues[2]));
            return this.BeginModifyManageTask(ManKind, ManagetaskID, ActionID, callback, asyncState);
        }
        
        private object[] OnEndModifyManageTask(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndModifyManageTask(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnModifyManageTaskCompleted(object state) {
            if ((this.ModifyManageTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ModifyManageTaskCompleted(this, new ModifyManageTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ModifyManageTaskAsync(int ManKind, int ManagetaskID, int ActionID) {
            this.ModifyManageTaskAsync(ManKind, ManagetaskID, ActionID, null);
        }
        
        public void ModifyManageTaskAsync(int ManKind, int ManagetaskID, int ActionID, object userState) {
            if ((this.onBeginModifyManageTaskDelegate == null)) {
                this.onBeginModifyManageTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTask);
            }
            if ((this.onEndModifyManageTaskDelegate == null)) {
                this.onEndModifyManageTaskDelegate = new EndOperationDelegate(this.OnEndModifyManageTask);
            }
            if ((this.onModifyManageTaskCompletedDelegate == null)) {
                this.onModifyManageTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskCompleted);
            }
            base.InvokeAsync(this.onBeginModifyManageTaskDelegate, new object[] {
                        ManKind,
                        ManagetaskID,
                        ActionID}, this.onEndModifyManageTaskDelegate, this.onModifyManageTaskCompletedDelegate, userState);
        }
        
        public bool ModifyMonitorTask(out string Errtext, int DeviceIndex, int MonitortaskID, int ActionID) {
            return base.Channel.ModifyMonitorTask(out Errtext, DeviceIndex, MonitortaskID, ActionID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginModifyMonitorTask(int DeviceIndex, int MonitortaskID, int ActionID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndModifyMonitorTask(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndModifyMonitorTask(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginModifyMonitorTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int DeviceIndex = ((int)(inValues[0]));
            int MonitortaskID = ((int)(inValues[1]));
            int ActionID = ((int)(inValues[2]));
            return this.BeginModifyMonitorTask(DeviceIndex, MonitortaskID, ActionID, callback, asyncState);
        }
        
        private object[] OnEndModifyMonitorTask(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndModifyMonitorTask(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnModifyMonitorTaskCompleted(object state) {
            if ((this.ModifyMonitorTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ModifyMonitorTaskCompleted(this, new ModifyMonitorTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID) {
            this.ModifyMonitorTaskAsync(DeviceIndex, MonitortaskID, ActionID, null);
        }
        
        public void ModifyMonitorTaskAsync(int DeviceIndex, int MonitortaskID, int ActionID, object userState) {
            if ((this.onBeginModifyMonitorTaskDelegate == null)) {
                this.onBeginModifyMonitorTaskDelegate = new BeginOperationDelegate(this.OnBeginModifyMonitorTask);
            }
            if ((this.onEndModifyMonitorTaskDelegate == null)) {
                this.onEndModifyMonitorTaskDelegate = new EndOperationDelegate(this.OnEndModifyMonitorTask);
            }
            if ((this.onModifyMonitorTaskCompletedDelegate == null)) {
                this.onModifyMonitorTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyMonitorTaskCompleted);
            }
            base.InvokeAsync(this.onBeginModifyMonitorTaskDelegate, new object[] {
                        DeviceIndex,
                        MonitortaskID,
                        ActionID}, this.onEndModifyMonitorTaskDelegate, this.onModifyMonitorTaskCompletedDelegate, userState);
        }
        
        public bool ModifyManageTaskFork(out string Errtext, int Flag, int FarForkTaskID, int NearForkTaskID) {
            return base.Channel.ModifyManageTaskFork(out Errtext, Flag, FarForkTaskID, NearForkTaskID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginModifyManageTaskFork(int Flag, int FarForkTaskID, int NearForkTaskID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndModifyManageTaskFork(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndModifyManageTaskFork(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginModifyManageTaskFork(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int Flag = ((int)(inValues[0]));
            int FarForkTaskID = ((int)(inValues[1]));
            int NearForkTaskID = ((int)(inValues[2]));
            return this.BeginModifyManageTaskFork(Flag, FarForkTaskID, NearForkTaskID, callback, asyncState);
        }
        
        private object[] OnEndModifyManageTaskFork(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndModifyManageTaskFork(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnModifyManageTaskForkCompleted(object state) {
            if ((this.ModifyManageTaskForkCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ModifyManageTaskForkCompleted(this, new ModifyManageTaskForkCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID) {
            this.ModifyManageTaskForkAsync(Flag, FarForkTaskID, NearForkTaskID, null);
        }
        
        public void ModifyManageTaskForkAsync(int Flag, int FarForkTaskID, int NearForkTaskID, object userState) {
            if ((this.onBeginModifyManageTaskForkDelegate == null)) {
                this.onBeginModifyManageTaskForkDelegate = new BeginOperationDelegate(this.OnBeginModifyManageTaskFork);
            }
            if ((this.onEndModifyManageTaskForkDelegate == null)) {
                this.onEndModifyManageTaskForkDelegate = new EndOperationDelegate(this.OnEndModifyManageTaskFork);
            }
            if ((this.onModifyManageTaskForkCompletedDelegate == null)) {
                this.onModifyManageTaskForkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnModifyManageTaskForkCompleted);
            }
            base.InvokeAsync(this.onBeginModifyManageTaskForkDelegate, new object[] {
                        Flag,
                        FarForkTaskID,
                        NearForkTaskID}, this.onEndModifyManageTaskForkDelegate, this.onModifyManageTaskForkCompletedDelegate, userState);
        }
        
        public bool SetDeviceState(out string Errtext, Model.MDevice Devinfo) {
            return base.Channel.SetDeviceState(out Errtext, Devinfo);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetDeviceState(Model.MDevice Devinfo, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetDeviceState(Devinfo, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetDeviceState(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetDeviceState(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetDeviceState(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Model.MDevice Devinfo = ((Model.MDevice)(inValues[0]));
            return this.BeginSetDeviceState(Devinfo, callback, asyncState);
        }
        
        private object[] OnEndSetDeviceState(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetDeviceState(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetDeviceStateCompleted(object state) {
            if ((this.SetDeviceStateCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetDeviceStateCompleted(this, new SetDeviceStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetDeviceStateAsync(Model.MDevice Devinfo) {
            this.SetDeviceStateAsync(Devinfo, null);
        }
        
        public void SetDeviceStateAsync(Model.MDevice Devinfo, object userState) {
            if ((this.onBeginSetDeviceStateDelegate == null)) {
                this.onBeginSetDeviceStateDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceState);
            }
            if ((this.onEndSetDeviceStateDelegate == null)) {
                this.onEndSetDeviceStateDelegate = new EndOperationDelegate(this.OnEndSetDeviceState);
            }
            if ((this.onSetDeviceStateCompletedDelegate == null)) {
                this.onSetDeviceStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateCompleted);
            }
            base.InvokeAsync(this.onBeginSetDeviceStateDelegate, new object[] {
                        Devinfo}, this.onEndSetDeviceStateDelegate, this.onSetDeviceStateCompletedDelegate, userState);
        }
        
        public Model.MDevice GetDeviceInfo(out string Errtext, int Deviceindex) {
            return base.Channel.GetDeviceInfo(out Errtext, Deviceindex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceInfo(int Deviceindex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MDevice EndGetDeviceInfo(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceInfo(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int Deviceindex = ((int)(inValues[0]));
            return this.BeginGetDeviceInfo(Deviceindex, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceInfo(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            Model.MDevice retVal = this.EndGetDeviceInfo(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetDeviceInfoCompleted(object state) {
            if ((this.GetDeviceInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceInfoCompleted(this, new GetDeviceInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceInfoAsync(int Deviceindex) {
            this.GetDeviceInfoAsync(Deviceindex, null);
        }
        
        public void GetDeviceInfoAsync(int Deviceindex, object userState) {
            if ((this.onBeginGetDeviceInfoDelegate == null)) {
                this.onBeginGetDeviceInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfo);
            }
            if ((this.onEndGetDeviceInfoDelegate == null)) {
                this.onEndGetDeviceInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfo);
            }
            if ((this.onGetDeviceInfoCompletedDelegate == null)) {
                this.onGetDeviceInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceInfoDelegate, new object[] {
                        Deviceindex}, this.onEndGetDeviceInfoDelegate, this.onGetDeviceInfoCompletedDelegate, userState);
        }
        
        public System.Data.DataTable GetDeviceInfos(out string Errtext, string erroecode) {
            return base.Channel.GetDeviceInfos(out Errtext, erroecode);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceInfos(string erroecode, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceInfos(erroecode, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.Data.DataTable EndGetDeviceInfos(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceInfos(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string erroecode = ((string)(inValues[0]));
            return this.BeginGetDeviceInfos(erroecode, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceInfos(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            System.Data.DataTable retVal = this.EndGetDeviceInfos(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetDeviceInfosCompleted(object state) {
            if ((this.GetDeviceInfosCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceInfosCompleted(this, new GetDeviceInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceInfosAsync(string erroecode) {
            this.GetDeviceInfosAsync(erroecode, null);
        }
        
        public void GetDeviceInfosAsync(string erroecode, object userState) {
            if ((this.onBeginGetDeviceInfosDelegate == null)) {
                this.onBeginGetDeviceInfosDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceInfos);
            }
            if ((this.onEndGetDeviceInfosDelegate == null)) {
                this.onEndGetDeviceInfosDelegate = new EndOperationDelegate(this.OnEndGetDeviceInfos);
            }
            if ((this.onGetDeviceInfosCompletedDelegate == null)) {
                this.onGetDeviceInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceInfosCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceInfosDelegate, new object[] {
                        erroecode}, this.onEndGetDeviceInfosDelegate, this.onGetDeviceInfosCompletedDelegate, userState);
        }
        
        public bool SetRouteState(out string Errtext, Model.MRoute Routeinfo) {
            return base.Channel.SetRouteState(out Errtext, Routeinfo);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetRouteState(Model.MRoute Routeinfo, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetRouteState(Routeinfo, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetRouteState(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetRouteState(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetRouteState(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Model.MRoute Routeinfo = ((Model.MRoute)(inValues[0]));
            return this.BeginSetRouteState(Routeinfo, callback, asyncState);
        }
        
        private object[] OnEndSetRouteState(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetRouteState(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetRouteStateCompleted(object state) {
            if ((this.SetRouteStateCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetRouteStateCompleted(this, new SetRouteStateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetRouteStateAsync(Model.MRoute Routeinfo) {
            this.SetRouteStateAsync(Routeinfo, null);
        }
        
        public void SetRouteStateAsync(Model.MRoute Routeinfo, object userState) {
            if ((this.onBeginSetRouteStateDelegate == null)) {
                this.onBeginSetRouteStateDelegate = new BeginOperationDelegate(this.OnBeginSetRouteState);
            }
            if ((this.onEndSetRouteStateDelegate == null)) {
                this.onEndSetRouteStateDelegate = new EndOperationDelegate(this.OnEndSetRouteState);
            }
            if ((this.onSetRouteStateCompletedDelegate == null)) {
                this.onSetRouteStateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateCompleted);
            }
            base.InvokeAsync(this.onBeginSetRouteStateDelegate, new object[] {
                        Routeinfo}, this.onEndSetRouteStateDelegate, this.onSetRouteStateCompletedDelegate, userState);
        }
        
        public Model.MRoute GetRouteInfo(out string Errtext, decimal RouteID) {
            return base.Channel.GetRouteInfo(out Errtext, RouteID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetRouteInfo(decimal RouteID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetRouteInfo(RouteID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MRoute EndGetRouteInfo(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetRouteInfo(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetRouteInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            decimal RouteID = ((decimal)(inValues[0]));
            return this.BeginGetRouteInfo(RouteID, callback, asyncState);
        }
        
        private object[] OnEndGetRouteInfo(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            Model.MRoute retVal = this.EndGetRouteInfo(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetRouteInfoCompleted(object state) {
            if ((this.GetRouteInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetRouteInfoCompleted(this, new GetRouteInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetRouteInfoAsync(decimal RouteID) {
            this.GetRouteInfoAsync(RouteID, null);
        }
        
        public void GetRouteInfoAsync(decimal RouteID, object userState) {
            if ((this.onBeginGetRouteInfoDelegate == null)) {
                this.onBeginGetRouteInfoDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfo);
            }
            if ((this.onEndGetRouteInfoDelegate == null)) {
                this.onEndGetRouteInfoDelegate = new EndOperationDelegate(this.OnEndGetRouteInfo);
            }
            if ((this.onGetRouteInfoCompletedDelegate == null)) {
                this.onGetRouteInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetRouteInfoDelegate, new object[] {
                        RouteID}, this.onEndGetRouteInfoDelegate, this.onGetRouteInfoCompletedDelegate, userState);
        }
        
        public Model.MRoute[] GetRouteInfos(out string Errtext, int RouteState) {
            return base.Channel.GetRouteInfos(out Errtext, RouteState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetRouteInfos(int RouteState, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetRouteInfos(RouteState, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MRoute[] EndGetRouteInfos(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetRouteInfos(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetRouteInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int RouteState = ((int)(inValues[0]));
            return this.BeginGetRouteInfos(RouteState, callback, asyncState);
        }
        
        private object[] OnEndGetRouteInfos(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            Model.MRoute[] retVal = this.EndGetRouteInfos(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetRouteInfosCompleted(object state) {
            if ((this.GetRouteInfosCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetRouteInfosCompleted(this, new GetRouteInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetRouteInfosAsync(int RouteState) {
            this.GetRouteInfosAsync(RouteState, null);
        }
        
        public void GetRouteInfosAsync(int RouteState, object userState) {
            if ((this.onBeginGetRouteInfosDelegate == null)) {
                this.onBeginGetRouteInfosDelegate = new BeginOperationDelegate(this.OnBeginGetRouteInfos);
            }
            if ((this.onEndGetRouteInfosDelegate == null)) {
                this.onEndGetRouteInfosDelegate = new EndOperationDelegate(this.OnEndGetRouteInfos);
            }
            if ((this.onGetRouteInfosCompletedDelegate == null)) {
                this.onGetRouteInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRouteInfosCompleted);
            }
            base.InvokeAsync(this.onBeginGetRouteInfosDelegate, new object[] {
                        RouteState}, this.onEndGetRouteInfosDelegate, this.onGetRouteInfosCompletedDelegate, userState);
        }
        
        public bool SetForkCombinWaitTime(out string Errtext, int WaitTime) {
            return base.Channel.SetForkCombinWaitTime(out Errtext, WaitTime);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetForkCombinWaitTime(int WaitTime, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetForkCombinWaitTime(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int WaitTime = ((int)(inValues[0]));
            return this.BeginSetForkCombinWaitTime(WaitTime, callback, asyncState);
        }
        
        private object[] OnEndSetForkCombinWaitTime(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetForkCombinWaitTime(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetForkCombinWaitTimeCompleted(object state) {
            if ((this.SetForkCombinWaitTimeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetForkCombinWaitTimeCompleted(this, new SetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetForkCombinWaitTimeAsync(int WaitTime) {
            this.SetForkCombinWaitTimeAsync(WaitTime, null);
        }
        
        public void SetForkCombinWaitTimeAsync(int WaitTime, object userState) {
            if ((this.onBeginSetForkCombinWaitTimeDelegate == null)) {
                this.onBeginSetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginSetForkCombinWaitTime);
            }
            if ((this.onEndSetForkCombinWaitTimeDelegate == null)) {
                this.onEndSetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndSetForkCombinWaitTime);
            }
            if ((this.onSetForkCombinWaitTimeCompletedDelegate == null)) {
                this.onSetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetForkCombinWaitTimeCompleted);
            }
            base.InvokeAsync(this.onBeginSetForkCombinWaitTimeDelegate, new object[] {
                        WaitTime}, this.onEndSetForkCombinWaitTimeDelegate, this.onSetForkCombinWaitTimeCompletedDelegate, userState);
        }
        
        public int GetForkCombinWaitTime(out string Errtext) {
            return base.Channel.GetForkCombinWaitTime(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetForkCombinWaitTime(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetForkCombinWaitTime(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndGetForkCombinWaitTime(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetForkCombinWaitTime(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetForkCombinWaitTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetForkCombinWaitTime(callback, asyncState);
        }
        
        private object[] OnEndGetForkCombinWaitTime(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndGetForkCombinWaitTime(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetForkCombinWaitTimeCompleted(object state) {
            if ((this.GetForkCombinWaitTimeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetForkCombinWaitTimeCompleted(this, new GetForkCombinWaitTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetForkCombinWaitTimeAsync() {
            this.GetForkCombinWaitTimeAsync(null);
        }
        
        public void GetForkCombinWaitTimeAsync(object userState) {
            if ((this.onBeginGetForkCombinWaitTimeDelegate == null)) {
                this.onBeginGetForkCombinWaitTimeDelegate = new BeginOperationDelegate(this.OnBeginGetForkCombinWaitTime);
            }
            if ((this.onEndGetForkCombinWaitTimeDelegate == null)) {
                this.onEndGetForkCombinWaitTimeDelegate = new EndOperationDelegate(this.OnEndGetForkCombinWaitTime);
            }
            if ((this.onGetForkCombinWaitTimeCompletedDelegate == null)) {
                this.onGetForkCombinWaitTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetForkCombinWaitTimeCompleted);
            }
            base.InvokeAsync(this.onBeginGetForkCombinWaitTimeDelegate, null, this.onEndGetForkCombinWaitTimeDelegate, this.onGetForkCombinWaitTimeCompletedDelegate, userState);
        }
        
        public bool SetConveyorTimeOutTime(out string Errtext, int Timeout) {
            return base.Channel.SetConveyorTimeOutTime(out Errtext, Timeout);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetConveyorTimeOutTime(int Timeout, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetConveyorTimeOutTime(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int Timeout = ((int)(inValues[0]));
            return this.BeginSetConveyorTimeOutTime(Timeout, callback, asyncState);
        }
        
        private object[] OnEndSetConveyorTimeOutTime(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetConveyorTimeOutTime(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetConveyorTimeOutTimeCompleted(object state) {
            if ((this.SetConveyorTimeOutTimeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetConveyorTimeOutTimeCompleted(this, new SetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetConveyorTimeOutTimeAsync(int Timeout) {
            this.SetConveyorTimeOutTimeAsync(Timeout, null);
        }
        
        public void SetConveyorTimeOutTimeAsync(int Timeout, object userState) {
            if ((this.onBeginSetConveyorTimeOutTimeDelegate == null)) {
                this.onBeginSetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginSetConveyorTimeOutTime);
            }
            if ((this.onEndSetConveyorTimeOutTimeDelegate == null)) {
                this.onEndSetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndSetConveyorTimeOutTime);
            }
            if ((this.onSetConveyorTimeOutTimeCompletedDelegate == null)) {
                this.onSetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConveyorTimeOutTimeCompleted);
            }
            base.InvokeAsync(this.onBeginSetConveyorTimeOutTimeDelegate, new object[] {
                        Timeout}, this.onEndSetConveyorTimeOutTimeDelegate, this.onSetConveyorTimeOutTimeCompletedDelegate, userState);
        }
        
        public int GetConveyorTimeOutTime(out string Errtext) {
            return base.Channel.GetConveyorTimeOutTime(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetConveyorTimeOutTime(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetConveyorTimeOutTime(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public int EndGetConveyorTimeOutTime(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetConveyorTimeOutTime(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetConveyorTimeOutTime(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetConveyorTimeOutTime(callback, asyncState);
        }
        
        private object[] OnEndGetConveyorTimeOutTime(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            int retVal = this.EndGetConveyorTimeOutTime(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetConveyorTimeOutTimeCompleted(object state) {
            if ((this.GetConveyorTimeOutTimeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetConveyorTimeOutTimeCompleted(this, new GetConveyorTimeOutTimeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetConveyorTimeOutTimeAsync() {
            this.GetConveyorTimeOutTimeAsync(null);
        }
        
        public void GetConveyorTimeOutTimeAsync(object userState) {
            if ((this.onBeginGetConveyorTimeOutTimeDelegate == null)) {
                this.onBeginGetConveyorTimeOutTimeDelegate = new BeginOperationDelegate(this.OnBeginGetConveyorTimeOutTime);
            }
            if ((this.onEndGetConveyorTimeOutTimeDelegate == null)) {
                this.onEndGetConveyorTimeOutTimeDelegate = new EndOperationDelegate(this.OnEndGetConveyorTimeOutTime);
            }
            if ((this.onGetConveyorTimeOutTimeCompletedDelegate == null)) {
                this.onGetConveyorTimeOutTimeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConveyorTimeOutTimeCompleted);
            }
            base.InvokeAsync(this.onBeginGetConveyorTimeOutTimeDelegate, null, this.onEndGetConveyorTimeOutTimeDelegate, this.onGetConveyorTimeOutTimeCompletedDelegate, userState);
        }
        
        public bool SetDBConnection(out string Errtext, string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
            return base.Channel.SetDBConnection(out Errtext, MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetDBConnection(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetDBConnection(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetDBConnection(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string MonitorOrManageDB = ((string)(inValues[0]));
            string ServerHostName = ((string)(inValues[1]));
            string DBServiceName = ((string)(inValues[2]));
            string Username = ((string)(inValues[3]));
            string Password = ((string)(inValues[4]));
            return this.BeginSetDBConnection(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, callback, asyncState);
        }
        
        private object[] OnEndSetDBConnection(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetDBConnection(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetDBConnectionCompleted(object state) {
            if ((this.SetDBConnectionCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetDBConnectionCompleted(this, new SetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password) {
            this.SetDBConnectionAsync(MonitorOrManageDB, ServerHostName, DBServiceName, Username, Password, null);
        }
        
        public void SetDBConnectionAsync(string MonitorOrManageDB, string ServerHostName, string DBServiceName, string Username, string Password, object userState) {
            if ((this.onBeginSetDBConnectionDelegate == null)) {
                this.onBeginSetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetDBConnection);
            }
            if ((this.onEndSetDBConnectionDelegate == null)) {
                this.onEndSetDBConnectionDelegate = new EndOperationDelegate(this.OnEndSetDBConnection);
            }
            if ((this.onSetDBConnectionCompletedDelegate == null)) {
                this.onSetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDBConnectionCompleted);
            }
            base.InvokeAsync(this.onBeginSetDBConnectionDelegate, new object[] {
                        MonitorOrManageDB,
                        ServerHostName,
                        DBServiceName,
                        Username,
                        Password}, this.onEndSetDBConnectionDelegate, this.onSetDBConnectionCompletedDelegate, userState);
        }
        
        public bool GetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, string MonitorOrManageDB) {
            return base.Channel.GetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, MonitorOrManageDB);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDBConnection(string MonitorOrManageDB, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndGetDBConnection(out string ServerHostName, out string DBServiceName, out string Username, out string Password, out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetDBConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string MonitorOrManageDB = ((string)(inValues[0]));
            return this.BeginGetDBConnection(MonitorOrManageDB, callback, asyncState);
        }
        
        private object[] OnEndGetDBConnection(System.IAsyncResult result) {
            string ServerHostName = this.GetDefaultValueForInitialization<string>();
            string DBServiceName = this.GetDefaultValueForInitialization<string>();
            string Username = this.GetDefaultValueForInitialization<string>();
            string Password = this.GetDefaultValueForInitialization<string>();
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndGetDBConnection(out ServerHostName, out DBServiceName, out Username, out Password, out Errtext, result);
            return new object[] {
                    ServerHostName,
                    DBServiceName,
                    Username,
                    Password,
                    Errtext,
                    retVal};
        }
        
        private void OnGetDBConnectionCompleted(object state) {
            if ((this.GetDBConnectionCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDBConnectionCompleted(this, new GetDBConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDBConnectionAsync(string MonitorOrManageDB) {
            this.GetDBConnectionAsync(MonitorOrManageDB, null);
        }
        
        public void GetDBConnectionAsync(string MonitorOrManageDB, object userState) {
            if ((this.onBeginGetDBConnectionDelegate == null)) {
                this.onBeginGetDBConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetDBConnection);
            }
            if ((this.onEndGetDBConnectionDelegate == null)) {
                this.onEndGetDBConnectionDelegate = new EndOperationDelegate(this.OnEndGetDBConnection);
            }
            if ((this.onGetDBConnectionCompletedDelegate == null)) {
                this.onGetDBConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDBConnectionCompleted);
            }
            base.InvokeAsync(this.onBeginGetDBConnectionDelegate, new object[] {
                        MonitorOrManageDB}, this.onEndGetDBConnectionDelegate, this.onGetDBConnectionCompletedDelegate, userState);
        }
        
        public bool SetIOStationProperty(out string Errtext, int deviceIndex, int IOStationProperty) {
            return base.Channel.SetIOStationProperty(out Errtext, deviceIndex, IOStationProperty);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetIOStationProperty(int deviceIndex, int IOStationProperty, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetIOStationProperty(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetIOStationProperty(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetIOStationProperty(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            int IOStationProperty = ((int)(inValues[1]));
            return this.BeginSetIOStationProperty(deviceIndex, IOStationProperty, callback, asyncState);
        }
        
        private object[] OnEndSetIOStationProperty(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetIOStationProperty(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetIOStationPropertyCompleted(object state) {
            if ((this.SetIOStationPropertyCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetIOStationPropertyCompleted(this, new SetIOStationPropertyCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty) {
            this.SetIOStationPropertyAsync(deviceIndex, IOStationProperty, null);
        }
        
        public void SetIOStationPropertyAsync(int deviceIndex, int IOStationProperty, object userState) {
            if ((this.onBeginSetIOStationPropertyDelegate == null)) {
                this.onBeginSetIOStationPropertyDelegate = new BeginOperationDelegate(this.OnBeginSetIOStationProperty);
            }
            if ((this.onEndSetIOStationPropertyDelegate == null)) {
                this.onEndSetIOStationPropertyDelegate = new EndOperationDelegate(this.OnEndSetIOStationProperty);
            }
            if ((this.onSetIOStationPropertyCompletedDelegate == null)) {
                this.onSetIOStationPropertyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetIOStationPropertyCompleted);
            }
            base.InvokeAsync(this.onBeginSetIOStationPropertyDelegate, new object[] {
                        deviceIndex,
                        IOStationProperty}, this.onEndSetIOStationPropertyDelegate, this.onSetIOStationPropertyCompletedDelegate, userState);
        }
        
        public bool SetBlackBoxParameter(out string Errtext, int FileCount, int FileSize) {
            return base.Channel.SetBlackBoxParameter(out Errtext, FileCount, FileSize);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetBlackBoxParameter(int FileCount, int FileSize, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetBlackBoxParameter(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetBlackBoxParameter(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetBlackBoxParameter(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int FileCount = ((int)(inValues[0]));
            int FileSize = ((int)(inValues[1]));
            return this.BeginSetBlackBoxParameter(FileCount, FileSize, callback, asyncState);
        }
        
        private object[] OnEndSetBlackBoxParameter(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetBlackBoxParameter(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetBlackBoxParameterCompleted(object state) {
            if ((this.SetBlackBoxParameterCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetBlackBoxParameterCompleted(this, new SetBlackBoxParameterCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetBlackBoxParameterAsync(int FileCount, int FileSize) {
            this.SetBlackBoxParameterAsync(FileCount, FileSize, null);
        }
        
        public void SetBlackBoxParameterAsync(int FileCount, int FileSize, object userState) {
            if ((this.onBeginSetBlackBoxParameterDelegate == null)) {
                this.onBeginSetBlackBoxParameterDelegate = new BeginOperationDelegate(this.OnBeginSetBlackBoxParameter);
            }
            if ((this.onEndSetBlackBoxParameterDelegate == null)) {
                this.onEndSetBlackBoxParameterDelegate = new EndOperationDelegate(this.OnEndSetBlackBoxParameter);
            }
            if ((this.onSetBlackBoxParameterCompletedDelegate == null)) {
                this.onSetBlackBoxParameterCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetBlackBoxParameterCompleted);
            }
            base.InvokeAsync(this.onBeginSetBlackBoxParameterDelegate, new object[] {
                        FileCount,
                        FileSize}, this.onEndSetBlackBoxParameterDelegate, this.onSetBlackBoxParameterCompletedDelegate, userState);
        }
        
        public string GetBlackBoxInfo(out string Errtext, string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
            return base.Channel.GetBlackBoxInfo(out Errtext, deviceIndex, BeginTime, EndTime);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetBlackBoxInfo(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public string EndGetBlackBoxInfo(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetBlackBoxInfo(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetBlackBoxInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string deviceIndex = ((string)(inValues[0]));
            System.DateTime BeginTime = ((System.DateTime)(inValues[1]));
            System.DateTime EndTime = ((System.DateTime)(inValues[2]));
            return this.BeginGetBlackBoxInfo(deviceIndex, BeginTime, EndTime, callback, asyncState);
        }
        
        private object[] OnEndGetBlackBoxInfo(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            string retVal = this.EndGetBlackBoxInfo(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetBlackBoxInfoCompleted(object state) {
            if ((this.GetBlackBoxInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetBlackBoxInfoCompleted(this, new GetBlackBoxInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime) {
            this.GetBlackBoxInfoAsync(deviceIndex, BeginTime, EndTime, null);
        }
        
        public void GetBlackBoxInfoAsync(string deviceIndex, System.DateTime BeginTime, System.DateTime EndTime, object userState) {
            if ((this.onBeginGetBlackBoxInfoDelegate == null)) {
                this.onBeginGetBlackBoxInfoDelegate = new BeginOperationDelegate(this.OnBeginGetBlackBoxInfo);
            }
            if ((this.onEndGetBlackBoxInfoDelegate == null)) {
                this.onEndGetBlackBoxInfoDelegate = new EndOperationDelegate(this.OnEndGetBlackBoxInfo);
            }
            if ((this.onGetBlackBoxInfoCompletedDelegate == null)) {
                this.onGetBlackBoxInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetBlackBoxInfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetBlackBoxInfoDelegate, new object[] {
                        deviceIndex,
                        BeginTime,
                        EndTime}, this.onEndGetBlackBoxInfoDelegate, this.onGetBlackBoxInfoCompletedDelegate, userState);
        }
        
        public System.Data.DataTable GetAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
            return base.Channel.GetAutoTaskHistory(out Errtext, BeginTime, EndTime);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.Data.DataTable EndGetAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetAutoTaskHistory(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
            System.DateTime EndTime = ((System.DateTime)(inValues[1]));
            return this.BeginGetAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
        }
        
        private object[] OnEndGetAutoTaskHistory(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            System.Data.DataTable retVal = this.EndGetAutoTaskHistory(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetAutoTaskHistoryCompleted(object state) {
            if ((this.GetAutoTaskHistoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetAutoTaskHistoryCompleted(this, new GetAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
            this.GetAutoTaskHistoryAsync(BeginTime, EndTime, null);
        }
        
        public void GetAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
            if ((this.onBeginGetAutoTaskHistoryDelegate == null)) {
                this.onBeginGetAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginGetAutoTaskHistory);
            }
            if ((this.onEndGetAutoTaskHistoryDelegate == null)) {
                this.onEndGetAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndGetAutoTaskHistory);
            }
            if ((this.onGetAutoTaskHistoryCompletedDelegate == null)) {
                this.onGetAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAutoTaskHistoryCompleted);
            }
            base.InvokeAsync(this.onBeginGetAutoTaskHistoryDelegate, new object[] {
                        BeginTime,
                        EndTime}, this.onEndGetAutoTaskHistoryDelegate, this.onGetAutoTaskHistoryCompletedDelegate, userState);
        }
        
        public bool DeleteAutoTaskHistory(out string Errtext, System.DateTime BeginTime, System.DateTime EndTime) {
            return base.Channel.DeleteAutoTaskHistory(out Errtext, BeginTime, EndTime);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginDeleteAutoTaskHistory(System.DateTime BeginTime, System.DateTime EndTime, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndDeleteAutoTaskHistory(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndDeleteAutoTaskHistory(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginDeleteAutoTaskHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.DateTime BeginTime = ((System.DateTime)(inValues[0]));
            System.DateTime EndTime = ((System.DateTime)(inValues[1]));
            return this.BeginDeleteAutoTaskHistory(BeginTime, EndTime, callback, asyncState);
        }
        
        private object[] OnEndDeleteAutoTaskHistory(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndDeleteAutoTaskHistory(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnDeleteAutoTaskHistoryCompleted(object state) {
            if ((this.DeleteAutoTaskHistoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.DeleteAutoTaskHistoryCompleted(this, new DeleteAutoTaskHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime) {
            this.DeleteAutoTaskHistoryAsync(BeginTime, EndTime, null);
        }
        
        public void DeleteAutoTaskHistoryAsync(System.DateTime BeginTime, System.DateTime EndTime, object userState) {
            if ((this.onBeginDeleteAutoTaskHistoryDelegate == null)) {
                this.onBeginDeleteAutoTaskHistoryDelegate = new BeginOperationDelegate(this.OnBeginDeleteAutoTaskHistory);
            }
            if ((this.onEndDeleteAutoTaskHistoryDelegate == null)) {
                this.onEndDeleteAutoTaskHistoryDelegate = new EndOperationDelegate(this.OnEndDeleteAutoTaskHistory);
            }
            if ((this.onDeleteAutoTaskHistoryCompletedDelegate == null)) {
                this.onDeleteAutoTaskHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteAutoTaskHistoryCompleted);
            }
            base.InvokeAsync(this.onBeginDeleteAutoTaskHistoryDelegate, new object[] {
                        BeginTime,
                        EndTime}, this.onEndDeleteAutoTaskHistoryDelegate, this.onDeleteAutoTaskHistoryCompletedDelegate, userState);
        }
        
        public bool SetUserAndPurview(out string Errtext, string UserID, string UserName, string Password, string Purview) {
            return base.Channel.SetUserAndPurview(out Errtext, UserID, UserName, Password, Purview);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetUserAndPurview(string UserID, string UserName, string Password, string Purview, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetUserAndPurview(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetUserAndPurview(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string UserID = ((string)(inValues[0]));
            string UserName = ((string)(inValues[1]));
            string Password = ((string)(inValues[2]));
            string Purview = ((string)(inValues[3]));
            return this.BeginSetUserAndPurview(UserID, UserName, Password, Purview, callback, asyncState);
        }
        
        private object[] OnEndSetUserAndPurview(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetUserAndPurview(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetUserAndPurviewCompleted(object state) {
            if ((this.SetUserAndPurviewCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetUserAndPurviewCompleted(this, new SetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview) {
            this.SetUserAndPurviewAsync(UserID, UserName, Password, Purview, null);
        }
        
        public void SetUserAndPurviewAsync(string UserID, string UserName, string Password, string Purview, object userState) {
            if ((this.onBeginSetUserAndPurviewDelegate == null)) {
                this.onBeginSetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginSetUserAndPurview);
            }
            if ((this.onEndSetUserAndPurviewDelegate == null)) {
                this.onEndSetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndSetUserAndPurview);
            }
            if ((this.onSetUserAndPurviewCompletedDelegate == null)) {
                this.onSetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserAndPurviewCompleted);
            }
            base.InvokeAsync(this.onBeginSetUserAndPurviewDelegate, new object[] {
                        UserID,
                        UserName,
                        Password,
                        Purview}, this.onEndSetUserAndPurviewDelegate, this.onSetUserAndPurviewCompletedDelegate, userState);
        }
        
        public bool GetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, string UserID) {
            return base.Channel.GetUserAndPurview(out UserName, out Password, out Purview, out Errtext, UserID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetUserAndPurview(string UserID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetUserAndPurview(UserID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndGetUserAndPurview(out string UserName, out string Password, out string Purview, out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetUserAndPurview(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string UserID = ((string)(inValues[0]));
            return this.BeginGetUserAndPurview(UserID, callback, asyncState);
        }
        
        private object[] OnEndGetUserAndPurview(System.IAsyncResult result) {
            string UserName = this.GetDefaultValueForInitialization<string>();
            string Password = this.GetDefaultValueForInitialization<string>();
            string Purview = this.GetDefaultValueForInitialization<string>();
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndGetUserAndPurview(out UserName, out Password, out Purview, out Errtext, result);
            return new object[] {
                    UserName,
                    Password,
                    Purview,
                    Errtext,
                    retVal};
        }
        
        private void OnGetUserAndPurviewCompleted(object state) {
            if ((this.GetUserAndPurviewCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetUserAndPurviewCompleted(this, new GetUserAndPurviewCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetUserAndPurviewAsync(string UserID) {
            this.GetUserAndPurviewAsync(UserID, null);
        }
        
        public void GetUserAndPurviewAsync(string UserID, object userState) {
            if ((this.onBeginGetUserAndPurviewDelegate == null)) {
                this.onBeginGetUserAndPurviewDelegate = new BeginOperationDelegate(this.OnBeginGetUserAndPurview);
            }
            if ((this.onEndGetUserAndPurviewDelegate == null)) {
                this.onEndGetUserAndPurviewDelegate = new EndOperationDelegate(this.OnEndGetUserAndPurview);
            }
            if ((this.onGetUserAndPurviewCompletedDelegate == null)) {
                this.onGetUserAndPurviewCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserAndPurviewCompleted);
            }
            base.InvokeAsync(this.onBeginGetUserAndPurviewDelegate, new object[] {
                        UserID}, this.onEndGetUserAndPurviewDelegate, this.onGetUserAndPurviewCompletedDelegate, userState);
        }
        
        public bool SetUserPassword(out string Errtext, string UserID, string Password) {
            return base.Channel.SetUserPassword(out Errtext, UserID, Password);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetUserPassword(string UserID, string Password, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetUserPassword(UserID, Password, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetUserPassword(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndSetUserPassword(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginSetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string UserID = ((string)(inValues[0]));
            string Password = ((string)(inValues[1]));
            return this.BeginSetUserPassword(UserID, Password, callback, asyncState);
        }
        
        private object[] OnEndSetUserPassword(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetUserPassword(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnSetUserPasswordCompleted(object state) {
            if ((this.SetUserPasswordCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetUserPasswordCompleted(this, new SetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetUserPasswordAsync(string UserID, string Password) {
            this.SetUserPasswordAsync(UserID, Password, null);
        }
        
        public void SetUserPasswordAsync(string UserID, string Password, object userState) {
            if ((this.onBeginSetUserPasswordDelegate == null)) {
                this.onBeginSetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginSetUserPassword);
            }
            if ((this.onEndSetUserPasswordDelegate == null)) {
                this.onEndSetUserPasswordDelegate = new EndOperationDelegate(this.OnEndSetUserPassword);
            }
            if ((this.onSetUserPasswordCompletedDelegate == null)) {
                this.onSetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetUserPasswordCompleted);
            }
            base.InvokeAsync(this.onBeginSetUserPasswordDelegate, new object[] {
                        UserID,
                        Password}, this.onEndSetUserPasswordDelegate, this.onSetUserPasswordCompletedDelegate, userState);
        }
        
        public string GetUserPassword(out string Errtext, string UserID) {
            return base.Channel.GetUserPassword(out Errtext, UserID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetUserPassword(string UserID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetUserPassword(UserID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public string EndGetUserPassword(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetUserPassword(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetUserPassword(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string UserID = ((string)(inValues[0]));
            return this.BeginGetUserPassword(UserID, callback, asyncState);
        }
        
        private object[] OnEndGetUserPassword(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            string retVal = this.EndGetUserPassword(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetUserPasswordCompleted(object state) {
            if ((this.GetUserPasswordCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetUserPasswordCompleted(this, new GetUserPasswordCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetUserPasswordAsync(string UserID) {
            this.GetUserPasswordAsync(UserID, null);
        }
        
        public void GetUserPasswordAsync(string UserID, object userState) {
            if ((this.onBeginGetUserPasswordDelegate == null)) {
                this.onBeginGetUserPasswordDelegate = new BeginOperationDelegate(this.OnBeginGetUserPassword);
            }
            if ((this.onEndGetUserPasswordDelegate == null)) {
                this.onEndGetUserPasswordDelegate = new EndOperationDelegate(this.OnEndGetUserPassword);
            }
            if ((this.onGetUserPasswordCompletedDelegate == null)) {
                this.onGetUserPasswordCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserPasswordCompleted);
            }
            base.InvokeAsync(this.onBeginGetUserPasswordDelegate, new object[] {
                        UserID}, this.onEndGetUserPasswordDelegate, this.onGetUserPasswordCompletedDelegate, userState);
        }
        
        public bool GetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, int bindDeviceOfBarcode) {
            return base.Channel.GetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, bindDeviceOfBarcode);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetReadedAndReportedBarcode(int bindDeviceOfBarcode, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndGetReadedAndReportedBarcode(out string readedBarcode, out string reportedBarcode, out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetReadedAndReportedBarcode(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int bindDeviceOfBarcode = ((int)(inValues[0]));
            return this.BeginGetReadedAndReportedBarcode(bindDeviceOfBarcode, callback, asyncState);
        }
        
        private object[] OnEndGetReadedAndReportedBarcode(System.IAsyncResult result) {
            string readedBarcode = this.GetDefaultValueForInitialization<string>();
            string reportedBarcode = this.GetDefaultValueForInitialization<string>();
            string errorText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndGetReadedAndReportedBarcode(out readedBarcode, out reportedBarcode, out errorText, result);
            return new object[] {
                    readedBarcode,
                    reportedBarcode,
                    errorText,
                    retVal};
        }
        
        private void OnGetReadedAndReportedBarcodeCompleted(object state) {
            if ((this.GetReadedAndReportedBarcodeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetReadedAndReportedBarcodeCompleted(this, new GetReadedAndReportedBarcodeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode) {
            this.GetReadedAndReportedBarcodeAsync(bindDeviceOfBarcode, null);
        }
        
        public void GetReadedAndReportedBarcodeAsync(int bindDeviceOfBarcode, object userState) {
            if ((this.onBeginGetReadedAndReportedBarcodeDelegate == null)) {
                this.onBeginGetReadedAndReportedBarcodeDelegate = new BeginOperationDelegate(this.OnBeginGetReadedAndReportedBarcode);
            }
            if ((this.onEndGetReadedAndReportedBarcodeDelegate == null)) {
                this.onEndGetReadedAndReportedBarcodeDelegate = new EndOperationDelegate(this.OnEndGetReadedAndReportedBarcode);
            }
            if ((this.onGetReadedAndReportedBarcodeCompletedDelegate == null)) {
                this.onGetReadedAndReportedBarcodeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetReadedAndReportedBarcodeCompleted);
            }
            base.InvokeAsync(this.onBeginGetReadedAndReportedBarcodeDelegate, new object[] {
                        bindDeviceOfBarcode}, this.onEndGetReadedAndReportedBarcodeDelegate, this.onGetReadedAndReportedBarcodeCompletedDelegate, userState);
        }
        
        public Model.MError GetDeviceAllErrors(out string errorText, int deviceKindIndex) {
            return base.Channel.GetDeviceAllErrors(out errorText, deviceKindIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceAllErrors(int deviceKindIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MError EndGetDeviceAllErrors(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceAllErrors(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceAllErrors(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceKindIndex = ((int)(inValues[0]));
            return this.BeginGetDeviceAllErrors(deviceKindIndex, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceAllErrors(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            Model.MError retVal = this.EndGetDeviceAllErrors(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetDeviceAllErrorsCompleted(object state) {
            if ((this.GetDeviceAllErrorsCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceAllErrorsCompleted(this, new GetDeviceAllErrorsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceAllErrorsAsync(int deviceKindIndex) {
            this.GetDeviceAllErrorsAsync(deviceKindIndex, null);
        }
        
        public void GetDeviceAllErrorsAsync(int deviceKindIndex, object userState) {
            if ((this.onBeginGetDeviceAllErrorsDelegate == null)) {
                this.onBeginGetDeviceAllErrorsDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceAllErrors);
            }
            if ((this.onEndGetDeviceAllErrorsDelegate == null)) {
                this.onEndGetDeviceAllErrorsDelegate = new EndOperationDelegate(this.OnEndGetDeviceAllErrors);
            }
            if ((this.onGetDeviceAllErrorsCompletedDelegate == null)) {
                this.onGetDeviceAllErrorsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceAllErrorsCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceAllErrorsDelegate, new object[] {
                        deviceKindIndex}, this.onEndGetDeviceAllErrorsDelegate, this.onGetDeviceAllErrorsCompletedDelegate, userState);
        }
        
        public Model.MRoute[] GetAllRouteinfo(out string errorText) {
            return base.Channel.GetAllRouteinfo(out errorText);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetAllRouteinfo(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetAllRouteinfo(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MRoute[] EndGetAllRouteinfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetAllRouteinfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetAllRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetAllRouteinfo(callback, asyncState);
        }
        
        private object[] OnEndGetAllRouteinfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            Model.MRoute[] retVal = this.EndGetAllRouteinfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetAllRouteinfoCompleted(object state) {
            if ((this.GetAllRouteinfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetAllRouteinfoCompleted(this, new GetAllRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetAllRouteinfoAsync() {
            this.GetAllRouteinfoAsync(null);
        }
        
        public void GetAllRouteinfoAsync(object userState) {
            if ((this.onBeginGetAllRouteinfoDelegate == null)) {
                this.onBeginGetAllRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetAllRouteinfo);
            }
            if ((this.onEndGetAllRouteinfoDelegate == null)) {
                this.onEndGetAllRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetAllRouteinfo);
            }
            if ((this.onGetAllRouteinfoCompletedDelegate == null)) {
                this.onGetAllRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllRouteinfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetAllRouteinfoDelegate, null, this.onEndGetAllRouteinfoDelegate, this.onGetAllRouteinfoCompletedDelegate, userState);
        }
        
        public Model.MRoute[] GetDeviceJoinRouteinfo(out string errorText, int deviceIndex) {
            return base.Channel.GetDeviceJoinRouteinfo(out errorText, deviceIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceJoinRouteinfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public Model.MRoute[] EndGetDeviceJoinRouteinfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceJoinRouteinfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceJoinRouteinfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            return this.BeginGetDeviceJoinRouteinfo(deviceIndex, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceJoinRouteinfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            Model.MRoute[] retVal = this.EndGetDeviceJoinRouteinfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetDeviceJoinRouteinfoCompleted(object state) {
            if ((this.GetDeviceJoinRouteinfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceJoinRouteinfoCompleted(this, new GetDeviceJoinRouteinfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceJoinRouteinfoAsync(int deviceIndex) {
            this.GetDeviceJoinRouteinfoAsync(deviceIndex, null);
        }
        
        public void GetDeviceJoinRouteinfoAsync(int deviceIndex, object userState) {
            if ((this.onBeginGetDeviceJoinRouteinfoDelegate == null)) {
                this.onBeginGetDeviceJoinRouteinfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceJoinRouteinfo);
            }
            if ((this.onEndGetDeviceJoinRouteinfoDelegate == null)) {
                this.onEndGetDeviceJoinRouteinfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceJoinRouteinfo);
            }
            if ((this.onGetDeviceJoinRouteinfoCompletedDelegate == null)) {
                this.onGetDeviceJoinRouteinfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceJoinRouteinfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceJoinRouteinfoDelegate, new object[] {
                        deviceIndex}, this.onEndGetDeviceJoinRouteinfoDelegate, this.onGetDeviceJoinRouteinfoCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] GetManageTasks(out string errorText, string FieldName, string content) {
            return base.Channel.GetManageTasks(out errorText, FieldName, content);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetManageTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetManageTasks(FieldName, content, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.ManageTask[] EndGetManageTasks(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetManageTasks(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetManageTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string FieldName = ((string)(inValues[0]));
            string content = ((string)(inValues[1]));
            return this.BeginGetManageTasks(FieldName, content, callback, asyncState);
        }
        
        private object[] OnEndGetManageTasks(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.ManageTask[] retVal = this.EndGetManageTasks(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetManageTasksCompleted(object state) {
            if ((this.GetManageTasksCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetManageTasksCompleted(this, new GetManageTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetManageTasksAsync(string FieldName, string content) {
            this.GetManageTasksAsync(FieldName, content, null);
        }
        
        public void GetManageTasksAsync(string FieldName, string content, object userState) {
            if ((this.onBeginGetManageTasksDelegate == null)) {
                this.onBeginGetManageTasksDelegate = new BeginOperationDelegate(this.OnBeginGetManageTasks);
            }
            if ((this.onEndGetManageTasksDelegate == null)) {
                this.onEndGetManageTasksDelegate = new EndOperationDelegate(this.OnEndGetManageTasks);
            }
            if ((this.onGetManageTasksCompletedDelegate == null)) {
                this.onGetManageTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetManageTasksCompleted);
            }
            base.InvokeAsync(this.onBeginGetManageTasksDelegate, new object[] {
                        FieldName,
                        content}, this.onEndGetManageTasksDelegate, this.onGetManageTasksCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] GetMonitorTasks(out string errorText, string FieldName, string content) {
            return base.Channel.GetMonitorTasks(out errorText, FieldName, content);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetMonitorTasks(string FieldName, string content, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] EndGetMonitorTasks(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetMonitorTasks(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetMonitorTasks(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string FieldName = ((string)(inValues[0]));
            string content = ((string)(inValues[1]));
            return this.BeginGetMonitorTasks(FieldName, content, callback, asyncState);
        }
        
        private object[] OnEndGetMonitorTasks(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.MonitorTask[] retVal = this.EndGetMonitorTasks(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetMonitorTasksCompleted(object state) {
            if ((this.GetMonitorTasksCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetMonitorTasksCompleted(this, new GetMonitorTasksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetMonitorTasksAsync(string FieldName, string content) {
            this.GetMonitorTasksAsync(FieldName, content, null);
        }
        
        public void GetMonitorTasksAsync(string FieldName, string content, object userState) {
            if ((this.onBeginGetMonitorTasksDelegate == null)) {
                this.onBeginGetMonitorTasksDelegate = new BeginOperationDelegate(this.OnBeginGetMonitorTasks);
            }
            if ((this.onEndGetMonitorTasksDelegate == null)) {
                this.onEndGetMonitorTasksDelegate = new EndOperationDelegate(this.OnEndGetMonitorTasks);
            }
            if ((this.onGetMonitorTasksCompletedDelegate == null)) {
                this.onGetMonitorTasksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetMonitorTasksCompleted);
            }
            base.InvokeAsync(this.onBeginGetMonitorTasksDelegate, new object[] {
                        FieldName,
                        content}, this.onEndGetMonitorTasksDelegate, this.onGetMonitorTasksCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType GetDeviceStateInfo(out string errorText, int deviceIndex) {
            return base.Channel.GetDeviceStateInfo(out errorText, deviceIndex);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDeviceStateInfo(int deviceIndex, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.DeviceStateType EndGetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetDeviceStateInfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            return this.BeginGetDeviceStateInfo(deviceIndex, callback, asyncState);
        }
        
        private object[] OnEndGetDeviceStateInfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.DeviceStateType retVal = this.EndGetDeviceStateInfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetDeviceStateInfoCompleted(object state) {
            if ((this.GetDeviceStateInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDeviceStateInfoCompleted(this, new GetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDeviceStateInfoAsync(int deviceIndex) {
            this.GetDeviceStateInfoAsync(deviceIndex, null);
        }
        
        public void GetDeviceStateInfoAsync(int deviceIndex, object userState) {
            if ((this.onBeginGetDeviceStateInfoDelegate == null)) {
                this.onBeginGetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginGetDeviceStateInfo);
            }
            if ((this.onEndGetDeviceStateInfoDelegate == null)) {
                this.onEndGetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndGetDeviceStateInfo);
            }
            if ((this.onGetDeviceStateInfoCompletedDelegate == null)) {
                this.onGetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDeviceStateInfoCompleted);
            }
            base.InvokeAsync(this.onBeginGetDeviceStateInfoDelegate, new object[] {
                        deviceIndex}, this.onEndGetDeviceStateInfoDelegate, this.onGetDeviceStateInfoCompletedDelegate, userState);
        }
        
        public bool SetDeviceStateInfo(out string errorText, wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
            return base.Channel.SetDeviceStateInfo(out errorText, devstate);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetDeviceStateInfo(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetDeviceStateInfo(devstate, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetDeviceStateInfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndSetDeviceStateInfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginSetDeviceStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate = ((wcfControlMonitorClient.WcfControlMonitor.DeviceStateType)(inValues[0]));
            return this.BeginSetDeviceStateInfo(devstate, callback, asyncState);
        }
        
        private object[] OnEndSetDeviceStateInfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetDeviceStateInfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnSetDeviceStateInfoCompleted(object state) {
            if ((this.SetDeviceStateInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetDeviceStateInfoCompleted(this, new SetDeviceStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate) {
            this.SetDeviceStateInfoAsync(devstate, null);
        }
        
        public void SetDeviceStateInfoAsync(wcfControlMonitorClient.WcfControlMonitor.DeviceStateType devstate, object userState) {
            if ((this.onBeginSetDeviceStateInfoDelegate == null)) {
                this.onBeginSetDeviceStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceStateInfo);
            }
            if ((this.onEndSetDeviceStateInfoDelegate == null)) {
                this.onEndSetDeviceStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceStateInfo);
            }
            if ((this.onSetDeviceStateInfoCompletedDelegate == null)) {
                this.onSetDeviceStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceStateInfoCompleted);
            }
            base.InvokeAsync(this.onBeginSetDeviceStateInfoDelegate, new object[] {
                        devstate}, this.onEndSetDeviceStateInfoDelegate, this.onSetDeviceStateInfoCompletedDelegate, userState);
        }
        
        public bool SetRouteStateInfo(out string errorText, int routeID, bool isEnabled) {
            return base.Channel.SetRouteStateInfo(out errorText, routeID, isEnabled);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetRouteStateInfo(int routeID, bool isEnabled, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetRouteStateInfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndSetRouteStateInfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginSetRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int routeID = ((int)(inValues[0]));
            bool isEnabled = ((bool)(inValues[1]));
            return this.BeginSetRouteStateInfo(routeID, isEnabled, callback, asyncState);
        }
        
        private object[] OnEndSetRouteStateInfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetRouteStateInfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnSetRouteStateInfoCompleted(object state) {
            if ((this.SetRouteStateInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetRouteStateInfoCompleted(this, new SetRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetRouteStateInfoAsync(int routeID, bool isEnabled) {
            this.SetRouteStateInfoAsync(routeID, isEnabled, null);
        }
        
        public void SetRouteStateInfoAsync(int routeID, bool isEnabled, object userState) {
            if ((this.onBeginSetRouteStateInfoDelegate == null)) {
                this.onBeginSetRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetRouteStateInfo);
            }
            if ((this.onEndSetRouteStateInfoDelegate == null)) {
                this.onEndSetRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetRouteStateInfo);
            }
            if ((this.onSetRouteStateInfoCompletedDelegate == null)) {
                this.onSetRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetRouteStateInfoCompleted);
            }
            base.InvokeAsync(this.onBeginSetRouteStateInfoDelegate, new object[] {
                        routeID,
                        isEnabled}, this.onEndSetRouteStateInfoDelegate, this.onSetRouteStateInfoCompletedDelegate, userState);
        }
        
        public bool SetDeviceJoinRouteStateInfo(out string errorText, int deviceIndex, bool isEnabled) {
            return base.Channel.SetDeviceJoinRouteStateInfo(out errorText, deviceIndex, isEnabled);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginSetDeviceJoinRouteStateInfo(int deviceIndex, bool isEnabled, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndSetDeviceJoinRouteStateInfo(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndSetDeviceJoinRouteStateInfo(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginSetDeviceJoinRouteStateInfo(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int deviceIndex = ((int)(inValues[0]));
            bool isEnabled = ((bool)(inValues[1]));
            return this.BeginSetDeviceJoinRouteStateInfo(deviceIndex, isEnabled, callback, asyncState);
        }
        
        private object[] OnEndSetDeviceJoinRouteStateInfo(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndSetDeviceJoinRouteStateInfo(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnSetDeviceJoinRouteStateInfoCompleted(object state) {
            if ((this.SetDeviceJoinRouteStateInfoCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.SetDeviceJoinRouteStateInfoCompleted(this, new SetDeviceJoinRouteStateInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled) {
            this.SetDeviceJoinRouteStateInfoAsync(deviceIndex, isEnabled, null);
        }
        
        public void SetDeviceJoinRouteStateInfoAsync(int deviceIndex, bool isEnabled, object userState) {
            if ((this.onBeginSetDeviceJoinRouteStateInfoDelegate == null)) {
                this.onBeginSetDeviceJoinRouteStateInfoDelegate = new BeginOperationDelegate(this.OnBeginSetDeviceJoinRouteStateInfo);
            }
            if ((this.onEndSetDeviceJoinRouteStateInfoDelegate == null)) {
                this.onEndSetDeviceJoinRouteStateInfoDelegate = new EndOperationDelegate(this.OnEndSetDeviceJoinRouteStateInfo);
            }
            if ((this.onSetDeviceJoinRouteStateInfoCompletedDelegate == null)) {
                this.onSetDeviceJoinRouteStateInfoCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetDeviceJoinRouteStateInfoCompleted);
            }
            base.InvokeAsync(this.onBeginSetDeviceJoinRouteStateInfoDelegate, new object[] {
                        deviceIndex,
                        isEnabled}, this.onEndSetDeviceJoinRouteStateInfoDelegate, this.onSetDeviceJoinRouteStateInfoCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] GetAllCellInfos(out string errorText) {
            return base.Channel.GetAllCellInfos(out errorText);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetAllCellInfos(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetAllCellInfos(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] EndGetAllCellInfos(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetAllCellInfos(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetAllCellInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetAllCellInfos(callback, asyncState);
        }
        
        private object[] OnEndGetAllCellInfos(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.ST_Cell[] retVal = this.EndGetAllCellInfos(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetAllCellInfosCompleted(object state) {
            if ((this.GetAllCellInfosCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetAllCellInfosCompleted(this, new GetAllCellInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetAllCellInfosAsync() {
            this.GetAllCellInfosAsync(null);
        }
        
        public void GetAllCellInfosAsync(object userState) {
            if ((this.onBeginGetAllCellInfosDelegate == null)) {
                this.onBeginGetAllCellInfosDelegate = new BeginOperationDelegate(this.OnBeginGetAllCellInfos);
            }
            if ((this.onEndGetAllCellInfosDelegate == null)) {
                this.onEndGetAllCellInfosDelegate = new EndOperationDelegate(this.OnEndGetAllCellInfos);
            }
            if ((this.onGetAllCellInfosCompletedDelegate == null)) {
                this.onGetAllCellInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllCellInfosCompleted);
            }
            base.InvokeAsync(this.onBeginGetAllCellInfosDelegate, null, this.onEndGetAllCellInfosDelegate, this.onGetAllCellInfosCompletedDelegate, userState);
        }
        
        public string[] GetLanguageFields(out string errorText) {
            return base.Channel.GetLanguageFields(out errorText);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetLanguageFields(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetLanguageFields(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public string[] EndGetLanguageFields(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetLanguageFields(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetLanguageFields(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetLanguageFields(callback, asyncState);
        }
        
        private object[] OnEndGetLanguageFields(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            string[] retVal = this.EndGetLanguageFields(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetLanguageFieldsCompleted(object state) {
            if ((this.GetLanguageFieldsCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetLanguageFieldsCompleted(this, new GetLanguageFieldsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetLanguageFieldsAsync() {
            this.GetLanguageFieldsAsync(null);
        }
        
        public void GetLanguageFieldsAsync(object userState) {
            if ((this.onBeginGetLanguageFieldsDelegate == null)) {
                this.onBeginGetLanguageFieldsDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageFields);
            }
            if ((this.onEndGetLanguageFieldsDelegate == null)) {
                this.onEndGetLanguageFieldsDelegate = new EndOperationDelegate(this.OnEndGetLanguageFields);
            }
            if ((this.onGetLanguageFieldsCompletedDelegate == null)) {
                this.onGetLanguageFieldsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageFieldsCompleted);
            }
            base.InvokeAsync(this.onBeginGetLanguageFieldsDelegate, null, this.onEndGetLanguageFieldsDelegate, this.onGetLanguageFieldsCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] GetLanguageContent(out string errorText, string language) {
            return base.Channel.GetLanguageContent(out errorText, language);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetLanguageContent(string language, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetLanguageContent(language, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] EndGetLanguageContent(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetLanguageContent(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetLanguageContent(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string language = ((string)(inValues[0]));
            return this.BeginGetLanguageContent(language, callback, asyncState);
        }
        
        private object[] OnEndGetLanguageContent(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.LanguageContent[] retVal = this.EndGetLanguageContent(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetLanguageContentCompleted(object state) {
            if ((this.GetLanguageContentCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetLanguageContentCompleted(this, new GetLanguageContentCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetLanguageContentAsync(string language) {
            this.GetLanguageContentAsync(language, null);
        }
        
        public void GetLanguageContentAsync(string language, object userState) {
            if ((this.onBeginGetLanguageContentDelegate == null)) {
                this.onBeginGetLanguageContentDelegate = new BeginOperationDelegate(this.OnBeginGetLanguageContent);
            }
            if ((this.onEndGetLanguageContentDelegate == null)) {
                this.onEndGetLanguageContentDelegate = new EndOperationDelegate(this.OnEndGetLanguageContent);
            }
            if ((this.onGetLanguageContentCompletedDelegate == null)) {
                this.onGetLanguageContentCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLanguageContentCompleted);
            }
            base.InvokeAsync(this.onBeginGetLanguageContentDelegate, new object[] {
                        language}, this.onEndGetLanguageContentDelegate, this.onGetLanguageContentCompletedDelegate, userState);
        }
        
        public wcfControlMonitorClient.WcfControlMonitor.DevicesDic GetDevicesDic(out string errorText) {
            return base.Channel.GetDevicesDic(out errorText);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetDevicesDic(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetDevicesDic(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public wcfControlMonitorClient.WcfControlMonitor.DevicesDic EndGetDevicesDic(out string errorText, System.IAsyncResult result) {
            return base.Channel.EndGetDevicesDic(out errorText, result);
        }
        
        private System.IAsyncResult OnBeginGetDevicesDic(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetDevicesDic(callback, asyncState);
        }
        
        private object[] OnEndGetDevicesDic(System.IAsyncResult result) {
            string errorText = this.GetDefaultValueForInitialization<string>();
            wcfControlMonitorClient.WcfControlMonitor.DevicesDic retVal = this.EndGetDevicesDic(out errorText, result);
            return new object[] {
                    errorText,
                    retVal};
        }
        
        private void OnGetDevicesDicCompleted(object state) {
            if ((this.GetDevicesDicCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetDevicesDicCompleted(this, new GetDevicesDicCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetDevicesDicAsync() {
            this.GetDevicesDicAsync(null);
        }
        
        public void GetDevicesDicAsync(object userState) {
            if ((this.onBeginGetDevicesDicDelegate == null)) {
                this.onBeginGetDevicesDicDelegate = new BeginOperationDelegate(this.OnBeginGetDevicesDic);
            }
            if ((this.onEndGetDevicesDicDelegate == null)) {
                this.onEndGetDevicesDicDelegate = new EndOperationDelegate(this.OnEndGetDevicesDic);
            }
            if ((this.onGetDevicesDicCompletedDelegate == null)) {
                this.onGetDevicesDicCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDevicesDicCompleted);
            }
            base.InvokeAsync(this.onBeginGetDevicesDicDelegate, null, this.onEndGetDevicesDicDelegate, this.onGetDevicesDicCompletedDelegate, userState);
        }
        
        public bool RefreshMonitoringMode() {
            return base.Channel.RefreshMonitoringMode();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginRefreshMonitoringMode(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginRefreshMonitoringMode(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndRefreshMonitoringMode(System.IAsyncResult result) {
            return base.Channel.EndRefreshMonitoringMode(result);
        }
        
        private System.IAsyncResult OnBeginRefreshMonitoringMode(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginRefreshMonitoringMode(callback, asyncState);
        }
        
        private object[] OnEndRefreshMonitoringMode(System.IAsyncResult result) {
            bool retVal = this.EndRefreshMonitoringMode(result);
            return new object[] {
                    retVal};
        }
        
        private void OnRefreshMonitoringModeCompleted(object state) {
            if ((this.RefreshMonitoringModeCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.RefreshMonitoringModeCompleted(this, new RefreshMonitoringModeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void RefreshMonitoringModeAsync() {
            this.RefreshMonitoringModeAsync(null);
        }
        
        public void RefreshMonitoringModeAsync(object userState) {
            if ((this.onBeginRefreshMonitoringModeDelegate == null)) {
                this.onBeginRefreshMonitoringModeDelegate = new BeginOperationDelegate(this.OnBeginRefreshMonitoringMode);
            }
            if ((this.onEndRefreshMonitoringModeDelegate == null)) {
                this.onEndRefreshMonitoringModeDelegate = new EndOperationDelegate(this.OnEndRefreshMonitoringMode);
            }
            if ((this.onRefreshMonitoringModeCompletedDelegate == null)) {
                this.onRefreshMonitoringModeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRefreshMonitoringModeCompleted);
            }
            base.InvokeAsync(this.onBeginRefreshMonitoringModeDelegate, null, this.onEndRefreshMonitoringModeDelegate, this.onRefreshMonitoringModeCompletedDelegate, userState);
        }
        
        public bool RegisterClient(out string errText, string userID, string userDescription) {
            return base.Channel.RegisterClient(out errText, userID, userDescription);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginRegisterClient(string userID, string userDescription, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginRegisterClient(userID, userDescription, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndRegisterClient(out string errText, System.IAsyncResult result) {
            return base.Channel.EndRegisterClient(out errText, result);
        }
        
        private System.IAsyncResult OnBeginRegisterClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string userID = ((string)(inValues[0]));
            string userDescription = ((string)(inValues[1]));
            return this.BeginRegisterClient(userID, userDescription, callback, asyncState);
        }
        
        private object[] OnEndRegisterClient(System.IAsyncResult result) {
            string errText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndRegisterClient(out errText, result);
            return new object[] {
                    errText,
                    retVal};
        }
        
        private void OnRegisterClientCompleted(object state) {
            if ((this.RegisterClientCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.RegisterClientCompleted(this, new RegisterClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void RegisterClientAsync(string userID, string userDescription) {
            this.RegisterClientAsync(userID, userDescription, null);
        }
        
        public void RegisterClientAsync(string userID, string userDescription, object userState) {
            if ((this.onBeginRegisterClientDelegate == null)) {
                this.onBeginRegisterClientDelegate = new BeginOperationDelegate(this.OnBeginRegisterClient);
            }
            if ((this.onEndRegisterClientDelegate == null)) {
                this.onEndRegisterClientDelegate = new EndOperationDelegate(this.OnEndRegisterClient);
            }
            if ((this.onRegisterClientCompletedDelegate == null)) {
                this.onRegisterClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRegisterClientCompleted);
            }
            base.InvokeAsync(this.onBeginRegisterClientDelegate, new object[] {
                        userID,
                        userDescription}, this.onEndRegisterClientDelegate, this.onRegisterClientCompletedDelegate, userState);
        }
        
        public bool LogoutClient(out string errText, string userID) {
            return base.Channel.LogoutClient(out errText, userID);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginLogoutClient(string userID, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginLogoutClient(userID, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndLogoutClient(out string errText, System.IAsyncResult result) {
            return base.Channel.EndLogoutClient(out errText, result);
        }
        
        private System.IAsyncResult OnBeginLogoutClient(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string userID = ((string)(inValues[0]));
            return this.BeginLogoutClient(userID, callback, asyncState);
        }
        
        private object[] OnEndLogoutClient(System.IAsyncResult result) {
            string errText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndLogoutClient(out errText, result);
            return new object[] {
                    errText,
                    retVal};
        }
        
        private void OnLogoutClientCompleted(object state) {
            if ((this.LogoutClientCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.LogoutClientCompleted(this, new LogoutClientCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void LogoutClientAsync(string userID) {
            this.LogoutClientAsync(userID, null);
        }
        
        public void LogoutClientAsync(string userID, object userState) {
            if ((this.onBeginLogoutClientDelegate == null)) {
                this.onBeginLogoutClientDelegate = new BeginOperationDelegate(this.OnBeginLogoutClient);
            }
            if ((this.onEndLogoutClientDelegate == null)) {
                this.onEndLogoutClientDelegate = new EndOperationDelegate(this.OnEndLogoutClient);
            }
            if ((this.onLogoutClientCompletedDelegate == null)) {
                this.onLogoutClientCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutClientCompleted);
            }
            base.InvokeAsync(this.onBeginLogoutClientDelegate, new object[] {
                        userID}, this.onEndLogoutClientDelegate, this.onLogoutClientCompletedDelegate, userState);
        }
        
        public bool ObtainTask(string laneway, string Order) {
            return base.Channel.ObtainTask(laneway, Order);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginObtainTask(string laneway, string Order, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginObtainTask(laneway, Order, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndObtainTask(System.IAsyncResult result) {
            return base.Channel.EndObtainTask(result);
        }
        
        private System.IAsyncResult OnBeginObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string laneway = ((string)(inValues[0]));
            string Order = ((string)(inValues[1]));
            return this.BeginObtainTask(laneway, Order, callback, asyncState);
        }
        
        private object[] OnEndObtainTask(System.IAsyncResult result) {
            bool retVal = this.EndObtainTask(result);
            return new object[] {
                    retVal};
        }
        
        private void OnObtainTaskCompleted(object state) {
            if ((this.ObtainTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ObtainTaskCompleted(this, new ObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ObtainTaskAsync(string laneway, string Order) {
            this.ObtainTaskAsync(laneway, Order, null);
        }
        
        public void ObtainTaskAsync(string laneway, string Order, object userState) {
            if ((this.onBeginObtainTaskDelegate == null)) {
                this.onBeginObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginObtainTask);
            }
            if ((this.onEndObtainTaskDelegate == null)) {
                this.onEndObtainTaskDelegate = new EndOperationDelegate(this.OnEndObtainTask);
            }
            if ((this.onObtainTaskCompletedDelegate == null)) {
                this.onObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnObtainTaskCompleted);
            }
            base.InvokeAsync(this.onBeginObtainTaskDelegate, new object[] {
                        laneway,
                        Order}, this.onEndObtainTaskDelegate, this.onObtainTaskCompletedDelegate, userState);
        }
        
        public bool StopObtainTask() {
            return base.Channel.StopObtainTask();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginStopObtainTask(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginStopObtainTask(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndStopObtainTask(System.IAsyncResult result) {
            return base.Channel.EndStopObtainTask(result);
        }
        
        private System.IAsyncResult OnBeginStopObtainTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginStopObtainTask(callback, asyncState);
        }
        
        private object[] OnEndStopObtainTask(System.IAsyncResult result) {
            bool retVal = this.EndStopObtainTask(result);
            return new object[] {
                    retVal};
        }
        
        private void OnStopObtainTaskCompleted(object state) {
            if ((this.StopObtainTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.StopObtainTaskCompleted(this, new StopObtainTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void StopObtainTaskAsync() {
            this.StopObtainTaskAsync(null);
        }
        
        public void StopObtainTaskAsync(object userState) {
            if ((this.onBeginStopObtainTaskDelegate == null)) {
                this.onBeginStopObtainTaskDelegate = new BeginOperationDelegate(this.OnBeginStopObtainTask);
            }
            if ((this.onEndStopObtainTaskDelegate == null)) {
                this.onEndStopObtainTaskDelegate = new EndOperationDelegate(this.OnEndStopObtainTask);
            }
            if ((this.onStopObtainTaskCompletedDelegate == null)) {
                this.onStopObtainTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnStopObtainTaskCompleted);
            }
            base.InvokeAsync(this.onBeginStopObtainTaskDelegate, null, this.onEndStopObtainTaskDelegate, this.onStopObtainTaskCompletedDelegate, userState);
        }
        
        public bool OrderTurnOn() {
            return base.Channel.OrderTurnOn();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginOrderTurnOn(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginOrderTurnOn(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndOrderTurnOn(System.IAsyncResult result) {
            return base.Channel.EndOrderTurnOn(result);
        }
        
        private System.IAsyncResult OnBeginOrderTurnOn(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginOrderTurnOn(callback, asyncState);
        }
        
        private object[] OnEndOrderTurnOn(System.IAsyncResult result) {
            bool retVal = this.EndOrderTurnOn(result);
            return new object[] {
                    retVal};
        }
        
        private void OnOrderTurnOnCompleted(object state) {
            if ((this.OrderTurnOnCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.OrderTurnOnCompleted(this, new OrderTurnOnCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void OrderTurnOnAsync() {
            this.OrderTurnOnAsync(null);
        }
        
        public void OrderTurnOnAsync(object userState) {
            if ((this.onBeginOrderTurnOnDelegate == null)) {
                this.onBeginOrderTurnOnDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOn);
            }
            if ((this.onEndOrderTurnOnDelegate == null)) {
                this.onEndOrderTurnOnDelegate = new EndOperationDelegate(this.OnEndOrderTurnOn);
            }
            if ((this.onOrderTurnOnCompletedDelegate == null)) {
                this.onOrderTurnOnCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOnCompleted);
            }
            base.InvokeAsync(this.onBeginOrderTurnOnDelegate, null, this.onEndOrderTurnOnDelegate, this.onOrderTurnOnCompletedDelegate, userState);
        }
        
        public bool OrderTurnOff() {
            return base.Channel.OrderTurnOff();
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginOrderTurnOff(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginOrderTurnOff(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndOrderTurnOff(System.IAsyncResult result) {
            return base.Channel.EndOrderTurnOff(result);
        }
        
        private System.IAsyncResult OnBeginOrderTurnOff(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginOrderTurnOff(callback, asyncState);
        }
        
        private object[] OnEndOrderTurnOff(System.IAsyncResult result) {
            bool retVal = this.EndOrderTurnOff(result);
            return new object[] {
                    retVal};
        }
        
        private void OnOrderTurnOffCompleted(object state) {
            if ((this.OrderTurnOffCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.OrderTurnOffCompleted(this, new OrderTurnOffCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void OrderTurnOffAsync() {
            this.OrderTurnOffAsync(null);
        }
        
        public void OrderTurnOffAsync(object userState) {
            if ((this.onBeginOrderTurnOffDelegate == null)) {
                this.onBeginOrderTurnOffDelegate = new BeginOperationDelegate(this.OnBeginOrderTurnOff);
            }
            if ((this.onEndOrderTurnOffDelegate == null)) {
                this.onEndOrderTurnOffDelegate = new EndOperationDelegate(this.OnEndOrderTurnOff);
            }
            if ((this.onOrderTurnOffCompletedDelegate == null)) {
                this.onOrderTurnOffCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOrderTurnOffCompleted);
            }
            base.InvokeAsync(this.onBeginOrderTurnOffDelegate, null, this.onEndOrderTurnOffDelegate, this.onOrderTurnOffCompletedDelegate, userState);
        }
        
        public bool DeviceCommunicationInit(out string ErrText, string CommunicationType) {
            return base.Channel.DeviceCommunicationInit(out ErrText, CommunicationType);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginDeviceCommunicationInit(string CommunicationType, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndDeviceCommunicationInit(out string ErrText, System.IAsyncResult result) {
            return base.Channel.EndDeviceCommunicationInit(out ErrText, result);
        }
        
        private System.IAsyncResult OnBeginDeviceCommunicationInit(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string CommunicationType = ((string)(inValues[0]));
            return this.BeginDeviceCommunicationInit(CommunicationType, callback, asyncState);
        }
        
        private object[] OnEndDeviceCommunicationInit(System.IAsyncResult result) {
            string ErrText = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndDeviceCommunicationInit(out ErrText, result);
            return new object[] {
                    ErrText,
                    retVal};
        }
        
        private void OnDeviceCommunicationInitCompleted(object state) {
            if ((this.DeviceCommunicationInitCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.DeviceCommunicationInitCompleted(this, new DeviceCommunicationInitCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void DeviceCommunicationInitAsync(string CommunicationType) {
            this.DeviceCommunicationInitAsync(CommunicationType, null);
        }
        
        public void DeviceCommunicationInitAsync(string CommunicationType, object userState) {
            if ((this.onBeginDeviceCommunicationInitDelegate == null)) {
                this.onBeginDeviceCommunicationInitDelegate = new BeginOperationDelegate(this.OnBeginDeviceCommunicationInit);
            }
            if ((this.onEndDeviceCommunicationInitDelegate == null)) {
                this.onEndDeviceCommunicationInitDelegate = new EndOperationDelegate(this.OnEndDeviceCommunicationInit);
            }
            if ((this.onDeviceCommunicationInitCompletedDelegate == null)) {
                this.onDeviceCommunicationInitCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeviceCommunicationInitCompleted);
            }
            base.InvokeAsync(this.onBeginDeviceCommunicationInitDelegate, new object[] {
                        CommunicationType}, this.onEndDeviceCommunicationInitDelegate, this.onDeviceCommunicationInitCompletedDelegate, userState);
        }
        
        public System.Data.DataTable GetUsers(out string Errtext) {
            return base.Channel.GetUsers(out Errtext);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginGetUsers(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetUsers(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.Data.DataTable EndGetUsers(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndGetUsers(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginGetUsers(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return this.BeginGetUsers(callback, asyncState);
        }
        
        private object[] OnEndGetUsers(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            System.Data.DataTable retVal = this.EndGetUsers(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnGetUsersCompleted(object state) {
            if ((this.GetUsersCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetUsersCompleted(this, new GetUsersCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetUsersAsync() {
            this.GetUsersAsync(null);
        }
        
        public void GetUsersAsync(object userState) {
            if ((this.onBeginGetUsersDelegate == null)) {
                this.onBeginGetUsersDelegate = new BeginOperationDelegate(this.OnBeginGetUsers);
            }
            if ((this.onEndGetUsersDelegate == null)) {
                this.onEndGetUsersDelegate = new EndOperationDelegate(this.OnEndGetUsers);
            }
            if ((this.onGetUsersCompletedDelegate == null)) {
                this.onGetUsersCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUsersCompleted);
            }
            base.InvokeAsync(this.onBeginGetUsersDelegate, null, this.onEndGetUsersDelegate, this.onGetUsersCompletedDelegate, userState);
        }
        
        public bool BuildHandTask(out string Errtext, Model.HandTask Handtask) {
            return base.Channel.BuildHandTask(out Errtext, Handtask);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginBuildHandTask(Model.HandTask Handtask, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginBuildHandTask(Handtask, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndBuildHandTask(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndBuildHandTask(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginBuildHandTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Model.HandTask Handtask = ((Model.HandTask)(inValues[0]));
            return this.BeginBuildHandTask(Handtask, callback, asyncState);
        }
        
        private object[] OnEndBuildHandTask(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndBuildHandTask(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnBuildHandTaskCompleted(object state) {
            if ((this.BuildHandTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.BuildHandTaskCompleted(this, new BuildHandTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void BuildHandTaskAsync(Model.HandTask Handtask) {
            this.BuildHandTaskAsync(Handtask, null);
        }
        
        public void BuildHandTaskAsync(Model.HandTask Handtask, object userState) {
            if ((this.onBeginBuildHandTaskDelegate == null)) {
                this.onBeginBuildHandTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandTask);
            }
            if ((this.onEndBuildHandTaskDelegate == null)) {
                this.onEndBuildHandTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandTask);
            }
            if ((this.onBuildHandTaskCompletedDelegate == null)) {
                this.onBuildHandTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandTaskCompleted);
            }
            base.InvokeAsync(this.onBeginBuildHandTaskDelegate, new object[] {
                        Handtask}, this.onEndBuildHandTaskDelegate, this.onBuildHandTaskCompletedDelegate, userState);
        }
        
        public bool BuildHandAssociateTask(out string Errtext, int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
            return base.Channel.BuildHandAssociateTask(out Errtext, ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public System.IAsyncResult BeginBuildHandAssociateTask(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        public bool EndBuildHandAssociateTask(out string Errtext, System.IAsyncResult result) {
            return base.Channel.EndBuildHandAssociateTask(out Errtext, result);
        }
        
        private System.IAsyncResult OnBeginBuildHandAssociateTask(object[] inValues, System.AsyncCallback callback, object asyncState) {
            int ConveyorIndex = ((int)(inValues[0]));
            int ConveyorOrder = ((int)(inValues[1]));
            int RgvIndex = ((int)(inValues[2]));
            int RgvOrder = ((int)(inValues[3]));
            string RgvOrderName = ((string)(inValues[4]));
            return this.BeginBuildHandAssociateTask(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, callback, asyncState);
        }
        
        private object[] OnEndBuildHandAssociateTask(System.IAsyncResult result) {
            string Errtext = this.GetDefaultValueForInitialization<string>();
            bool retVal = this.EndBuildHandAssociateTask(out Errtext, result);
            return new object[] {
                    Errtext,
                    retVal};
        }
        
        private void OnBuildHandAssociateTaskCompleted(object state) {
            if ((this.BuildHandAssociateTaskCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.BuildHandAssociateTaskCompleted(this, new BuildHandAssociateTaskCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName) {
            this.BuildHandAssociateTaskAsync(ConveyorIndex, ConveyorOrder, RgvIndex, RgvOrder, RgvOrderName, null);
        }
        
        public void BuildHandAssociateTaskAsync(int ConveyorIndex, int ConveyorOrder, int RgvIndex, int RgvOrder, string RgvOrderName, object userState) {
            if ((this.onBeginBuildHandAssociateTaskDelegate == null)) {
                this.onBeginBuildHandAssociateTaskDelegate = new BeginOperationDelegate(this.OnBeginBuildHandAssociateTask);
            }
            if ((this.onEndBuildHandAssociateTaskDelegate == null)) {
                this.onEndBuildHandAssociateTaskDelegate = new EndOperationDelegate(this.OnEndBuildHandAssociateTask);
            }
            if ((this.onBuildHandAssociateTaskCompletedDelegate == null)) {
                this.onBuildHandAssociateTaskCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnBuildHandAssociateTaskCompleted);
            }
            base.InvokeAsync(this.onBeginBuildHandAssociateTaskDelegate, new object[] {
                        ConveyorIndex,
                        ConveyorOrder,
                        RgvIndex,
                        RgvOrder,
                        RgvOrderName}, this.onEndBuildHandAssociateTaskDelegate, this.onBuildHandAssociateTaskCompletedDelegate, userState);
        }
    }
}