//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.1433
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.1433.
// 
#pragma warning disable 1591

namespace EQTrack.BlackhawkDeviceService {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    using System.Data;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="DeviceServiceSoap", Namespace="http://www.theblackhawk.co.nz/")]
    public partial class DeviceService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback GetDeviceStatusOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetDeviceActionQueueOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddSMSNotificationOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddNotificationOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddEmailNotificationOperationCompleted;
        
        private System.Threading.SendOrPostCallback RemoveNotificationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetNotificationsOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetTrackingIntervalOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetEnableOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetNameOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetOSIOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetPropertiesOperationCompleted;
        
        private System.Threading.SendOrPostCallback SetHearbeatRateOperationCompleted;
        
        private System.Threading.SendOrPostCallback AddAccessListNumberOperationCompleted;
        
        private System.Threading.SendOrPostCallback RemoveAccessListNumberOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetAccessListOperationCompleted;
        
        private System.Threading.SendOrPostCallback ConnectOperationCompleted;
        
        private System.Threading.SendOrPostCallback DisarmOperationCompleted;
        
        private System.Threading.SendOrPostCallback AlarmOperationCompleted;
        
        private System.Threading.SendOrPostCallback DisableOperationCompleted;
        
        private System.Threading.SendOrPostCallback LockOperationCompleted;
        
        private System.Threading.SendOrPostCallback UnlockOperationCompleted;
        
        private System.Threading.SendOrPostCallback UpdateOperationCompleted;
        
        private System.Threading.SendOrPostCallback LocateOperationCompleted;
        
        private System.Threading.SendOrPostCallback EnableOperationCompleted;
        
        private System.Threading.SendOrPostCallback ResetOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public DeviceService() {
            this.Url = global::EQTrack.Properties.Settings.Default.EQTrack_BlackhawkDeviceService_DeviceService;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event GetDeviceStatusCompletedEventHandler GetDeviceStatusCompleted;
        
        /// <remarks/>
        public event GetDeviceActionQueueCompletedEventHandler GetDeviceActionQueueCompleted;
        
        /// <remarks/>
        public event AddSMSNotificationCompletedEventHandler AddSMSNotificationCompleted;
        
        /// <remarks/>
        public event AddNotificationCompletedEventHandler AddNotificationCompleted;
        
        /// <remarks/>
        public event AddEmailNotificationCompletedEventHandler AddEmailNotificationCompleted;
        
        /// <remarks/>
        public event RemoveNotificationCompletedEventHandler RemoveNotificationCompleted;
        
        /// <remarks/>
        public event GetNotificationsCompletedEventHandler GetNotificationsCompleted;
        
        /// <remarks/>
        public event SetTrackingIntervalCompletedEventHandler SetTrackingIntervalCompleted;
        
        /// <remarks/>
        public event SetEnableCompletedEventHandler SetEnableCompleted;
        
        /// <remarks/>
        public event SetNameCompletedEventHandler SetNameCompleted;
        
        /// <remarks/>
        public event SetOSICompletedEventHandler SetOSICompleted;
        
        /// <remarks/>
        public event SetPropertiesCompletedEventHandler SetPropertiesCompleted;
        
        /// <remarks/>
        public event SetHearbeatRateCompletedEventHandler SetHearbeatRateCompleted;
        
        /// <remarks/>
        public event AddAccessListNumberCompletedEventHandler AddAccessListNumberCompleted;
        
        /// <remarks/>
        public event RemoveAccessListNumberCompletedEventHandler RemoveAccessListNumberCompleted;
        
        /// <remarks/>
        public event GetAccessListCompletedEventHandler GetAccessListCompleted;
        
        /// <remarks/>
        public event ConnectCompletedEventHandler ConnectCompleted;
        
        /// <remarks/>
        public event DisarmCompletedEventHandler DisarmCompleted;
        
        /// <remarks/>
        public event AlarmCompletedEventHandler AlarmCompleted;
        
        /// <remarks/>
        public event DisableCompletedEventHandler DisableCompleted;
        
        /// <remarks/>
        public event LockCompletedEventHandler LockCompleted;
        
        /// <remarks/>
        public event UnlockCompletedEventHandler UnlockCompleted;
        
        /// <remarks/>
        public event UpdateCompletedEventHandler UpdateCompleted;
        
        /// <remarks/>
        public event LocateCompletedEventHandler LocateCompleted;
        
        /// <remarks/>
        public event EnableCompletedEventHandler EnableCompleted;
        
        /// <remarks/>
        public event ResetCompletedEventHandler ResetCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetDeviceStatus", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataTable GetDeviceStatus(string DeviceID) {
            object[] results = this.Invoke("GetDeviceStatus", new object[] {
                        DeviceID});
            return ((System.Data.DataTable)(results[0]));
        }
        
        /// <remarks/>
        public void GetDeviceStatusAsync(string DeviceID) {
            this.GetDeviceStatusAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void GetDeviceStatusAsync(string DeviceID, object userState) {
            if ((this.GetDeviceStatusOperationCompleted == null)) {
                this.GetDeviceStatusOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDeviceStatusOperationCompleted);
            }
            this.InvokeAsync("GetDeviceStatus", new object[] {
                        DeviceID}, this.GetDeviceStatusOperationCompleted, userState);
        }
        
        private void OnGetDeviceStatusOperationCompleted(object arg) {
            if ((this.GetDeviceStatusCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetDeviceStatusCompleted(this, new GetDeviceStatusCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetDeviceActionQueue", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataTable GetDeviceActionQueue(string DeviceID, string From) {
            object[] results = this.Invoke("GetDeviceActionQueue", new object[] {
                        DeviceID,
                        From});
            return ((System.Data.DataTable)(results[0]));
        }
        
        /// <remarks/>
        public void GetDeviceActionQueueAsync(string DeviceID, string From) {
            this.GetDeviceActionQueueAsync(DeviceID, From, null);
        }
        
        /// <remarks/>
        public void GetDeviceActionQueueAsync(string DeviceID, string From, object userState) {
            if ((this.GetDeviceActionQueueOperationCompleted == null)) {
                this.GetDeviceActionQueueOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDeviceActionQueueOperationCompleted);
            }
            this.InvokeAsync("GetDeviceActionQueue", new object[] {
                        DeviceID,
                        From}, this.GetDeviceActionQueueOperationCompleted, userState);
        }
        
        private void OnGetDeviceActionQueueOperationCompleted(object arg) {
            if ((this.GetDeviceActionQueueCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetDeviceActionQueueCompleted(this, new GetDeviceActionQueueCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/AddSMSNotification", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddSMSNotification(string DeviceID, int EventCode, string Number, string Message, int Schedule, bool Billable) {
            object[] results = this.Invoke("AddSMSNotification", new object[] {
                        DeviceID,
                        EventCode,
                        Number,
                        Message,
                        Schedule,
                        Billable});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void AddSMSNotificationAsync(string DeviceID, int EventCode, string Number, string Message, int Schedule, bool Billable) {
            this.AddSMSNotificationAsync(DeviceID, EventCode, Number, Message, Schedule, Billable, null);
        }
        
        /// <remarks/>
        public void AddSMSNotificationAsync(string DeviceID, int EventCode, string Number, string Message, int Schedule, bool Billable, object userState) {
            if ((this.AddSMSNotificationOperationCompleted == null)) {
                this.AddSMSNotificationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddSMSNotificationOperationCompleted);
            }
            this.InvokeAsync("AddSMSNotification", new object[] {
                        DeviceID,
                        EventCode,
                        Number,
                        Message,
                        Schedule,
                        Billable}, this.AddSMSNotificationOperationCompleted, userState);
        }
        
        private void OnAddSMSNotificationOperationCompleted(object arg) {
            if ((this.AddSMSNotificationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddSMSNotificationCompleted(this, new AddSMSNotificationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/AddNotification", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddNotification(string Device, string Type, int EventCode, string Number, string Text, string To, string From, string Subject, string Message, int Schedule, bool Billable) {
            object[] results = this.Invoke("AddNotification", new object[] {
                        Device,
                        Type,
                        EventCode,
                        Number,
                        Text,
                        To,
                        From,
                        Subject,
                        Message,
                        Schedule,
                        Billable});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void AddNotificationAsync(string Device, string Type, int EventCode, string Number, string Text, string To, string From, string Subject, string Message, int Schedule, bool Billable) {
            this.AddNotificationAsync(Device, Type, EventCode, Number, Text, To, From, Subject, Message, Schedule, Billable, null);
        }
        
        /// <remarks/>
        public void AddNotificationAsync(string Device, string Type, int EventCode, string Number, string Text, string To, string From, string Subject, string Message, int Schedule, bool Billable, object userState) {
            if ((this.AddNotificationOperationCompleted == null)) {
                this.AddNotificationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddNotificationOperationCompleted);
            }
            this.InvokeAsync("AddNotification", new object[] {
                        Device,
                        Type,
                        EventCode,
                        Number,
                        Text,
                        To,
                        From,
                        Subject,
                        Message,
                        Schedule,
                        Billable}, this.AddNotificationOperationCompleted, userState);
        }
        
        private void OnAddNotificationOperationCompleted(object arg) {
            if ((this.AddNotificationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddNotificationCompleted(this, new AddNotificationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/AddEmailNotification", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddEmailNotification(string DeviceID, int EventCode, string Address, string message, int schedule, bool Billable) {
            object[] results = this.Invoke("AddEmailNotification", new object[] {
                        DeviceID,
                        EventCode,
                        Address,
                        message,
                        schedule,
                        Billable});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void AddEmailNotificationAsync(string DeviceID, int EventCode, string Address, string message, int schedule, bool Billable) {
            this.AddEmailNotificationAsync(DeviceID, EventCode, Address, message, schedule, Billable, null);
        }
        
        /// <remarks/>
        public void AddEmailNotificationAsync(string DeviceID, int EventCode, string Address, string message, int schedule, bool Billable, object userState) {
            if ((this.AddEmailNotificationOperationCompleted == null)) {
                this.AddEmailNotificationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddEmailNotificationOperationCompleted);
            }
            this.InvokeAsync("AddEmailNotification", new object[] {
                        DeviceID,
                        EventCode,
                        Address,
                        message,
                        schedule,
                        Billable}, this.AddEmailNotificationOperationCompleted, userState);
        }
        
        private void OnAddEmailNotificationOperationCompleted(object arg) {
            if ((this.AddEmailNotificationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddEmailNotificationCompleted(this, new AddEmailNotificationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/RemoveNotification", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool RemoveNotification(string DeviceID, int Id) {
            object[] results = this.Invoke("RemoveNotification", new object[] {
                        DeviceID,
                        Id});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void RemoveNotificationAsync(string DeviceID, int Id) {
            this.RemoveNotificationAsync(DeviceID, Id, null);
        }
        
        /// <remarks/>
        public void RemoveNotificationAsync(string DeviceID, int Id, object userState) {
            if ((this.RemoveNotificationOperationCompleted == null)) {
                this.RemoveNotificationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveNotificationOperationCompleted);
            }
            this.InvokeAsync("RemoveNotification", new object[] {
                        DeviceID,
                        Id}, this.RemoveNotificationOperationCompleted, userState);
        }
        
        private void OnRemoveNotificationOperationCompleted(object arg) {
            if ((this.RemoveNotificationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RemoveNotificationCompleted(this, new RemoveNotificationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetNotifications", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataTable GetNotifications(string DeviceID) {
            object[] results = this.Invoke("GetNotifications", new object[] {
                        DeviceID});
            return ((System.Data.DataTable)(results[0]));
        }
        
        /// <remarks/>
        public void GetNotificationsAsync(string DeviceID) {
            this.GetNotificationsAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void GetNotificationsAsync(string DeviceID, object userState) {
            if ((this.GetNotificationsOperationCompleted == null)) {
                this.GetNotificationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNotificationsOperationCompleted);
            }
            this.InvokeAsync("GetNotifications", new object[] {
                        DeviceID}, this.GetNotificationsOperationCompleted, userState);
        }
        
        private void OnGetNotificationsOperationCompleted(object arg) {
            if ((this.GetNotificationsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetNotificationsCompleted(this, new GetNotificationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetTrackingInterval", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SetTrackingInterval(string DeviceID, int span) {
            object[] results = this.Invoke("SetTrackingInterval", new object[] {
                        DeviceID,
                        span});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SetTrackingIntervalAsync(string DeviceID, int span) {
            this.SetTrackingIntervalAsync(DeviceID, span, null);
        }
        
        /// <remarks/>
        public void SetTrackingIntervalAsync(string DeviceID, int span, object userState) {
            if ((this.SetTrackingIntervalOperationCompleted == null)) {
                this.SetTrackingIntervalOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetTrackingIntervalOperationCompleted);
            }
            this.InvokeAsync("SetTrackingInterval", new object[] {
                        DeviceID,
                        span}, this.SetTrackingIntervalOperationCompleted, userState);
        }
        
        private void OnSetTrackingIntervalOperationCompleted(object arg) {
            if ((this.SetTrackingIntervalCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetTrackingIntervalCompleted(this, new SetTrackingIntervalCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetEnable", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SetEnable(string DeviceID, bool onoff) {
            object[] results = this.Invoke("SetEnable", new object[] {
                        DeviceID,
                        onoff});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SetEnableAsync(string DeviceID, bool onoff) {
            this.SetEnableAsync(DeviceID, onoff, null);
        }
        
        /// <remarks/>
        public void SetEnableAsync(string DeviceID, bool onoff, object userState) {
            if ((this.SetEnableOperationCompleted == null)) {
                this.SetEnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetEnableOperationCompleted);
            }
            this.InvokeAsync("SetEnable", new object[] {
                        DeviceID,
                        onoff}, this.SetEnableOperationCompleted, userState);
        }
        
        private void OnSetEnableOperationCompleted(object arg) {
            if ((this.SetEnableCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetEnableCompleted(this, new SetEnableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetName", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SetName(string DeviceID, string name) {
            object[] results = this.Invoke("SetName", new object[] {
                        DeviceID,
                        name});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SetNameAsync(string DeviceID, string name) {
            this.SetNameAsync(DeviceID, name, null);
        }
        
        /// <remarks/>
        public void SetNameAsync(string DeviceID, string name, object userState) {
            if ((this.SetNameOperationCompleted == null)) {
                this.SetNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetNameOperationCompleted);
            }
            this.InvokeAsync("SetName", new object[] {
                        DeviceID,
                        name}, this.SetNameOperationCompleted, userState);
        }
        
        private void OnSetNameOperationCompleted(object arg) {
            if ((this.SetNameCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetNameCompleted(this, new SetNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetOSI", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SetOSI(string DeviceID, int OSI) {
            object[] results = this.Invoke("SetOSI", new object[] {
                        DeviceID,
                        OSI});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SetOSIAsync(string DeviceID, int OSI) {
            this.SetOSIAsync(DeviceID, OSI, null);
        }
        
        /// <remarks/>
        public void SetOSIAsync(string DeviceID, int OSI, object userState) {
            if ((this.SetOSIOperationCompleted == null)) {
                this.SetOSIOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetOSIOperationCompleted);
            }
            this.InvokeAsync("SetOSI", new object[] {
                        DeviceID,
                        OSI}, this.SetOSIOperationCompleted, userState);
        }
        
        private void OnSetOSIOperationCompleted(object arg) {
            if ((this.SetOSICompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetOSICompleted(this, new SetOSICompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetProperties", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataSet SetProperties(string DeviceID, System.Data.DataSet settings) {
            object[] results = this.Invoke("SetProperties", new object[] {
                        DeviceID,
                        settings});
            return ((System.Data.DataSet)(results[0]));
        }
        
        /// <remarks/>
        public void SetPropertiesAsync(string DeviceID, System.Data.DataSet settings) {
            this.SetPropertiesAsync(DeviceID, settings, null);
        }
        
        /// <remarks/>
        public void SetPropertiesAsync(string DeviceID, System.Data.DataSet settings, object userState) {
            if ((this.SetPropertiesOperationCompleted == null)) {
                this.SetPropertiesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetPropertiesOperationCompleted);
            }
            this.InvokeAsync("SetProperties", new object[] {
                        DeviceID,
                        settings}, this.SetPropertiesOperationCompleted, userState);
        }
        
        private void OnSetPropertiesOperationCompleted(object arg) {
            if ((this.SetPropertiesCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetPropertiesCompleted(this, new SetPropertiesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/SetHearbeatRate", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string SetHearbeatRate(string DeviceID, int rate) {
            object[] results = this.Invoke("SetHearbeatRate", new object[] {
                        DeviceID,
                        rate});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void SetHearbeatRateAsync(string DeviceID, int rate) {
            this.SetHearbeatRateAsync(DeviceID, rate, null);
        }
        
        /// <remarks/>
        public void SetHearbeatRateAsync(string DeviceID, int rate, object userState) {
            if ((this.SetHearbeatRateOperationCompleted == null)) {
                this.SetHearbeatRateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetHearbeatRateOperationCompleted);
            }
            this.InvokeAsync("SetHearbeatRate", new object[] {
                        DeviceID,
                        rate}, this.SetHearbeatRateOperationCompleted, userState);
        }
        
        private void OnSetHearbeatRateOperationCompleted(object arg) {
            if ((this.SetHearbeatRateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.SetHearbeatRateCompleted(this, new SetHearbeatRateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/AddAccessListNumber", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int AddAccessListNumber(string DeviceID, string number) {
            object[] results = this.Invoke("AddAccessListNumber", new object[] {
                        DeviceID,
                        number});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public void AddAccessListNumberAsync(string DeviceID, string number) {
            this.AddAccessListNumberAsync(DeviceID, number, null);
        }
        
        /// <remarks/>
        public void AddAccessListNumberAsync(string DeviceID, string number, object userState) {
            if ((this.AddAccessListNumberOperationCompleted == null)) {
                this.AddAccessListNumberOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddAccessListNumberOperationCompleted);
            }
            this.InvokeAsync("AddAccessListNumber", new object[] {
                        DeviceID,
                        number}, this.AddAccessListNumberOperationCompleted, userState);
        }
        
        private void OnAddAccessListNumberOperationCompleted(object arg) {
            if ((this.AddAccessListNumberCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AddAccessListNumberCompleted(this, new AddAccessListNumberCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/RemoveAccessListNumber", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public bool RemoveAccessListNumber(string DeviceID, string number) {
            object[] results = this.Invoke("RemoveAccessListNumber", new object[] {
                        DeviceID,
                        number});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void RemoveAccessListNumberAsync(string DeviceID, string number) {
            this.RemoveAccessListNumberAsync(DeviceID, number, null);
        }
        
        /// <remarks/>
        public void RemoveAccessListNumberAsync(string DeviceID, string number, object userState) {
            if ((this.RemoveAccessListNumberOperationCompleted == null)) {
                this.RemoveAccessListNumberOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRemoveAccessListNumberOperationCompleted);
            }
            this.InvokeAsync("RemoveAccessListNumber", new object[] {
                        DeviceID,
                        number}, this.RemoveAccessListNumberOperationCompleted, userState);
        }
        
        private void OnRemoveAccessListNumberOperationCompleted(object arg) {
            if ((this.RemoveAccessListNumberCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RemoveAccessListNumberCompleted(this, new RemoveAccessListNumberCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetAccessList", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public System.Data.DataTable GetAccessList(string DeviceID) {
            object[] results = this.Invoke("GetAccessList", new object[] {
                        DeviceID});
            return ((System.Data.DataTable)(results[0]));
        }
        
        /// <remarks/>
        public void GetAccessListAsync(string DeviceID) {
            this.GetAccessListAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void GetAccessListAsync(string DeviceID, object userState) {
            if ((this.GetAccessListOperationCompleted == null)) {
                this.GetAccessListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetAccessListOperationCompleted);
            }
            this.InvokeAsync("GetAccessList", new object[] {
                        DeviceID}, this.GetAccessListOperationCompleted, userState);
        }
        
        private void OnGetAccessListOperationCompleted(object arg) {
            if ((this.GetAccessListCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetAccessListCompleted(this, new GetAccessListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Connect", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Connect(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Connect", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void ConnectAsync(string DeviceID, System.DateTime schedule) {
            this.ConnectAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void ConnectAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.ConnectOperationCompleted == null)) {
                this.ConnectOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConnectOperationCompleted);
            }
            this.InvokeAsync("Connect", new object[] {
                        DeviceID,
                        schedule}, this.ConnectOperationCompleted, userState);
        }
        
        private void OnConnectOperationCompleted(object arg) {
            if ((this.ConnectCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ConnectCompleted(this, new ConnectCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Disarm", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Disarm(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Disarm", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void DisarmAsync(string DeviceID, System.DateTime schedule) {
            this.DisarmAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void DisarmAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.DisarmOperationCompleted == null)) {
                this.DisarmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisarmOperationCompleted);
            }
            this.InvokeAsync("Disarm", new object[] {
                        DeviceID,
                        schedule}, this.DisarmOperationCompleted, userState);
        }
        
        private void OnDisarmOperationCompleted(object arg) {
            if ((this.DisarmCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DisarmCompleted(this, new DisarmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Alarm", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Alarm(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Alarm", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void AlarmAsync(string DeviceID, System.DateTime schedule) {
            this.AlarmAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void AlarmAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.AlarmOperationCompleted == null)) {
                this.AlarmOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAlarmOperationCompleted);
            }
            this.InvokeAsync("Alarm", new object[] {
                        DeviceID,
                        schedule}, this.AlarmOperationCompleted, userState);
        }
        
        private void OnAlarmOperationCompleted(object arg) {
            if ((this.AlarmCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.AlarmCompleted(this, new AlarmCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Disable", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Disable(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Disable", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void DisableAsync(string DeviceID, System.DateTime schedule) {
            this.DisableAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void DisableAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.DisableOperationCompleted == null)) {
                this.DisableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDisableOperationCompleted);
            }
            this.InvokeAsync("Disable", new object[] {
                        DeviceID,
                        schedule}, this.DisableOperationCompleted, userState);
        }
        
        private void OnDisableOperationCompleted(object arg) {
            if ((this.DisableCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DisableCompleted(this, new DisableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Lock", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Lock(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Lock", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void LockAsync(string DeviceID, System.DateTime schedule) {
            this.LockAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void LockAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.LockOperationCompleted == null)) {
                this.LockOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLockOperationCompleted);
            }
            this.InvokeAsync("Lock", new object[] {
                        DeviceID,
                        schedule}, this.LockOperationCompleted, userState);
        }
        
        private void OnLockOperationCompleted(object arg) {
            if ((this.LockCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.LockCompleted(this, new LockCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Unlock", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Unlock(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Unlock", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void UnlockAsync(string DeviceID, System.DateTime schedule) {
            this.UnlockAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void UnlockAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.UnlockOperationCompleted == null)) {
                this.UnlockOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUnlockOperationCompleted);
            }
            this.InvokeAsync("Unlock", new object[] {
                        DeviceID,
                        schedule}, this.UnlockOperationCompleted, userState);
        }
        
        private void OnUnlockOperationCompleted(object arg) {
            if ((this.UnlockCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UnlockCompleted(this, new UnlockCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Update", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Update(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Update", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void UpdateAsync(string DeviceID, System.DateTime schedule) {
            this.UpdateAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void UpdateAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.UpdateOperationCompleted == null)) {
                this.UpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOperationCompleted);
            }
            this.InvokeAsync("Update", new object[] {
                        DeviceID,
                        schedule}, this.UpdateOperationCompleted, userState);
        }
        
        private void OnUpdateOperationCompleted(object arg) {
            if ((this.UpdateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UpdateCompleted(this, new UpdateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Locate", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Locate(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Locate", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void LocateAsync(string DeviceID, System.DateTime schedule) {
            this.LocateAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void LocateAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.LocateOperationCompleted == null)) {
                this.LocateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLocateOperationCompleted);
            }
            this.InvokeAsync("Locate", new object[] {
                        DeviceID,
                        schedule}, this.LocateOperationCompleted, userState);
        }
        
        private void OnLocateOperationCompleted(object arg) {
            if ((this.LocateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.LocateCompleted(this, new LocateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Enable", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Enable(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Enable", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void EnableAsync(string DeviceID, System.DateTime schedule) {
            this.EnableAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void EnableAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.EnableOperationCompleted == null)) {
                this.EnableOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEnableOperationCompleted);
            }
            this.InvokeAsync("Enable", new object[] {
                        DeviceID,
                        schedule}, this.EnableOperationCompleted, userState);
        }
        
        private void OnEnableOperationCompleted(object arg) {
            if ((this.EnableCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.EnableCompleted(this, new EnableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/Reset", RequestNamespace="http://www.theblackhawk.co.nz/", ResponseNamespace="http://www.theblackhawk.co.nz/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Reset(string DeviceID, System.DateTime schedule) {
            object[] results = this.Invoke("Reset", new object[] {
                        DeviceID,
                        schedule});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void ResetAsync(string DeviceID, System.DateTime schedule) {
            this.ResetAsync(DeviceID, schedule, null);
        }
        
        /// <remarks/>
        public void ResetAsync(string DeviceID, System.DateTime schedule, object userState) {
            if ((this.ResetOperationCompleted == null)) {
                this.ResetOperationCompleted = new System.Threading.SendOrPostCallback(this.OnResetOperationCompleted);
            }
            this.InvokeAsync("Reset", new object[] {
                        DeviceID,
                        schedule}, this.ResetOperationCompleted, userState);
        }
        
        private void OnResetOperationCompleted(object arg) {
            if ((this.ResetCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ResetCompleted(this, new ResetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetDeviceStatusCompletedEventHandler(object sender, GetDeviceStatusCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetDeviceStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetDeviceStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataTable Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetDeviceActionQueueCompletedEventHandler(object sender, GetDeviceActionQueueCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetDeviceActionQueueCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetDeviceActionQueueCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataTable Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void AddSMSNotificationCompletedEventHandler(object sender, AddSMSNotificationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddSMSNotificationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddSMSNotificationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void AddNotificationCompletedEventHandler(object sender, AddNotificationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddNotificationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddNotificationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void AddEmailNotificationCompletedEventHandler(object sender, AddEmailNotificationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddEmailNotificationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddEmailNotificationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void RemoveNotificationCompletedEventHandler(object sender, RemoveNotificationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RemoveNotificationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RemoveNotificationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetNotificationsCompletedEventHandler(object sender, GetNotificationsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetNotificationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetNotificationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataTable Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetTrackingIntervalCompletedEventHandler(object sender, SetTrackingIntervalCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetTrackingIntervalCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetTrackingIntervalCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetEnableCompletedEventHandler(object sender, SetEnableCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetEnableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetEnableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetNameCompletedEventHandler(object sender, SetNameCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetOSICompletedEventHandler(object sender, SetOSICompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetOSICompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetOSICompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetPropertiesCompletedEventHandler(object sender, SetPropertiesCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetPropertiesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetPropertiesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataSet Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataSet)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void SetHearbeatRateCompletedEventHandler(object sender, SetHearbeatRateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class SetHearbeatRateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal SetHearbeatRateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void AddAccessListNumberCompletedEventHandler(object sender, AddAccessListNumberCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AddAccessListNumberCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AddAccessListNumberCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public int Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void RemoveAccessListNumberCompletedEventHandler(object sender, RemoveAccessListNumberCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RemoveAccessListNumberCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RemoveAccessListNumberCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public bool Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((bool)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetAccessListCompletedEventHandler(object sender, GetAccessListCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetAccessListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetAccessListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public System.Data.DataTable Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((System.Data.DataTable)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void ConnectCompletedEventHandler(object sender, ConnectCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ConnectCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ConnectCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void DisarmCompletedEventHandler(object sender, DisarmCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DisarmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DisarmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void AlarmCompletedEventHandler(object sender, AlarmCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class AlarmCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal AlarmCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void DisableCompletedEventHandler(object sender, DisableCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DisableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DisableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void LockCompletedEventHandler(object sender, LockCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class LockCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal LockCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void UnlockCompletedEventHandler(object sender, UnlockCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class UnlockCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal UnlockCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void UpdateCompletedEventHandler(object sender, UpdateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class UpdateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal UpdateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void LocateCompletedEventHandler(object sender, LocateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class LocateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal LocateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void EnableCompletedEventHandler(object sender, EnableCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class EnableCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal EnableCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void ResetCompletedEventHandler(object sender, ResetCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ResetCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ResetCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591