//------------------------------------------------------------------------------
// <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.BlackhawkTrackService {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="TrackServiceSoap", Namespace="http://www.theblackhawk.co.nz/")]
    public partial class TrackService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback LocateDeviceOperationCompleted;
        
        private System.Threading.SendOrPostCallback LocateDevicesForCustomerOperationCompleted;
        
        private System.Threading.SendOrPostCallback MapDeviceOperationCompleted;
        
        private System.Threading.SendOrPostCallback MapDevicesForCustomerOperationCompleted;
        
        private System.Threading.SendOrPostCallback MapWaypointsByDateOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetWaypointsOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetWaypointsByDateOperationCompleted;
        
        private System.Threading.SendOrPostCallback ClearWaypointsOperationCompleted;
        
        private System.Threading.SendOrPostCallback ClearWaypointsByDateOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public TrackService() {
            this.Url = global::EQTrack.Properties.Settings.Default.EQTrack_BlackhawkTrackService_TrackService;
            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 LocateDeviceCompletedEventHandler LocateDeviceCompleted;
        
        /// <remarks/>
        public event LocateDevicesForCustomerCompletedEventHandler LocateDevicesForCustomerCompleted;
        
        /// <remarks/>
        public event MapDeviceCompletedEventHandler MapDeviceCompleted;
        
        /// <remarks/>
        public event MapDevicesForCustomerCompletedEventHandler MapDevicesForCustomerCompleted;
        
        /// <remarks/>
        public event MapWaypointsByDateCompletedEventHandler MapWaypointsByDateCompleted;
        
        /// <remarks/>
        public event GetWaypointsCompletedEventHandler GetWaypointsCompleted;
        
        /// <remarks/>
        public event GetWaypointsByDateCompletedEventHandler GetWaypointsByDateCompleted;
        
        /// <remarks/>
        public event ClearWaypointsCompletedEventHandler ClearWaypointsCompleted;
        
        /// <remarks/>
        public event ClearWaypointsByDateCompletedEventHandler ClearWaypointsByDateCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/LocateDevice", 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 LocateDevice(string DeviceID) {
            object[] results = this.Invoke("LocateDevice", new object[] {
                        DeviceID});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void LocateDeviceAsync(string DeviceID) {
            this.LocateDeviceAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void LocateDeviceAsync(string DeviceID, object userState) {
            if ((this.LocateDeviceOperationCompleted == null)) {
                this.LocateDeviceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLocateDeviceOperationCompleted);
            }
            this.InvokeAsync("LocateDevice", new object[] {
                        DeviceID}, this.LocateDeviceOperationCompleted, userState);
        }
        
        private void OnLocateDeviceOperationCompleted(object arg) {
            if ((this.LocateDeviceCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.LocateDeviceCompleted(this, new LocateDeviceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/LocateDevicesForCustomer", 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 LocateDevicesForCustomer(string CustomerName) {
            object[] results = this.Invoke("LocateDevicesForCustomer", new object[] {
                        CustomerName});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void LocateDevicesForCustomerAsync(string CustomerName) {
            this.LocateDevicesForCustomerAsync(CustomerName, null);
        }
        
        /// <remarks/>
        public void LocateDevicesForCustomerAsync(string CustomerName, object userState) {
            if ((this.LocateDevicesForCustomerOperationCompleted == null)) {
                this.LocateDevicesForCustomerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLocateDevicesForCustomerOperationCompleted);
            }
            this.InvokeAsync("LocateDevicesForCustomer", new object[] {
                        CustomerName}, this.LocateDevicesForCustomerOperationCompleted, userState);
        }
        
        private void OnLocateDevicesForCustomerOperationCompleted(object arg) {
            if ((this.LocateDevicesForCustomerCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.LocateDevicesForCustomerCompleted(this, new LocateDevicesForCustomerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/MapDevice", 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 MapDevice(string DeviceID) {
            object[] results = this.Invoke("MapDevice", new object[] {
                        DeviceID});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void MapDeviceAsync(string DeviceID) {
            this.MapDeviceAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void MapDeviceAsync(string DeviceID, object userState) {
            if ((this.MapDeviceOperationCompleted == null)) {
                this.MapDeviceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMapDeviceOperationCompleted);
            }
            this.InvokeAsync("MapDevice", new object[] {
                        DeviceID}, this.MapDeviceOperationCompleted, userState);
        }
        
        private void OnMapDeviceOperationCompleted(object arg) {
            if ((this.MapDeviceCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.MapDeviceCompleted(this, new MapDeviceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/MapDevicesForCustomer", 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 MapDevicesForCustomer(string CustomerName) {
            object[] results = this.Invoke("MapDevicesForCustomer", new object[] {
                        CustomerName});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void MapDevicesForCustomerAsync(string CustomerName) {
            this.MapDevicesForCustomerAsync(CustomerName, null);
        }
        
        /// <remarks/>
        public void MapDevicesForCustomerAsync(string CustomerName, object userState) {
            if ((this.MapDevicesForCustomerOperationCompleted == null)) {
                this.MapDevicesForCustomerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMapDevicesForCustomerOperationCompleted);
            }
            this.InvokeAsync("MapDevicesForCustomer", new object[] {
                        CustomerName}, this.MapDevicesForCustomerOperationCompleted, userState);
        }
        
        private void OnMapDevicesForCustomerOperationCompleted(object arg) {
            if ((this.MapDevicesForCustomerCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.MapDevicesForCustomerCompleted(this, new MapDevicesForCustomerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/MapWaypointsByDate", 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 MapWaypointsByDate(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            object[] results = this.Invoke("MapWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void MapWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            this.MapWaypointsByDateAsync(DeviceID, FromDate, ToDate, null);
        }
        
        /// <remarks/>
        public void MapWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate, object userState) {
            if ((this.MapWaypointsByDateOperationCompleted == null)) {
                this.MapWaypointsByDateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMapWaypointsByDateOperationCompleted);
            }
            this.InvokeAsync("MapWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate}, this.MapWaypointsByDateOperationCompleted, userState);
        }
        
        private void OnMapWaypointsByDateOperationCompleted(object arg) {
            if ((this.MapWaypointsByDateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.MapWaypointsByDateCompleted(this, new MapWaypointsByDateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetWaypoints", 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 GetWaypoints(string DeviceID) {
            object[] results = this.Invoke("GetWaypoints", new object[] {
                        DeviceID});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void GetWaypointsAsync(string DeviceID) {
            this.GetWaypointsAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void GetWaypointsAsync(string DeviceID, object userState) {
            if ((this.GetWaypointsOperationCompleted == null)) {
                this.GetWaypointsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWaypointsOperationCompleted);
            }
            this.InvokeAsync("GetWaypoints", new object[] {
                        DeviceID}, this.GetWaypointsOperationCompleted, userState);
        }
        
        private void OnGetWaypointsOperationCompleted(object arg) {
            if ((this.GetWaypointsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetWaypointsCompleted(this, new GetWaypointsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/GetWaypointsByDate", 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 GetWaypointsByDate(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            object[] results = this.Invoke("GetWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void GetWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            this.GetWaypointsByDateAsync(DeviceID, FromDate, ToDate, null);
        }
        
        /// <remarks/>
        public void GetWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate, object userState) {
            if ((this.GetWaypointsByDateOperationCompleted == null)) {
                this.GetWaypointsByDateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetWaypointsByDateOperationCompleted);
            }
            this.InvokeAsync("GetWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate}, this.GetWaypointsByDateOperationCompleted, userState);
        }
        
        private void OnGetWaypointsByDateOperationCompleted(object arg) {
            if ((this.GetWaypointsByDateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetWaypointsByDateCompleted(this, new GetWaypointsByDateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/ClearWaypoints", 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 ClearWaypoints(string DeviceID) {
            object[] results = this.Invoke("ClearWaypoints", new object[] {
                        DeviceID});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void ClearWaypointsAsync(string DeviceID) {
            this.ClearWaypointsAsync(DeviceID, null);
        }
        
        /// <remarks/>
        public void ClearWaypointsAsync(string DeviceID, object userState) {
            if ((this.ClearWaypointsOperationCompleted == null)) {
                this.ClearWaypointsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClearWaypointsOperationCompleted);
            }
            this.InvokeAsync("ClearWaypoints", new object[] {
                        DeviceID}, this.ClearWaypointsOperationCompleted, userState);
        }
        
        private void OnClearWaypointsOperationCompleted(object arg) {
            if ((this.ClearWaypointsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ClearWaypointsCompleted(this, new ClearWaypointsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.theblackhawk.co.nz/ClearWaypointsByDate", 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 ClearWaypointsByDate(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            object[] results = this.Invoke("ClearWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate});
            return ((bool)(results[0]));
        }
        
        /// <remarks/>
        public void ClearWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate) {
            this.ClearWaypointsByDateAsync(DeviceID, FromDate, ToDate, null);
        }
        
        /// <remarks/>
        public void ClearWaypointsByDateAsync(string DeviceID, System.DateTime FromDate, System.DateTime ToDate, object userState) {
            if ((this.ClearWaypointsByDateOperationCompleted == null)) {
                this.ClearWaypointsByDateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClearWaypointsByDateOperationCompleted);
            }
            this.InvokeAsync("ClearWaypointsByDate", new object[] {
                        DeviceID,
                        FromDate,
                        ToDate}, this.ClearWaypointsByDateOperationCompleted, userState);
        }
        
        private void OnClearWaypointsByDateOperationCompleted(object arg) {
            if ((this.ClearWaypointsByDateCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ClearWaypointsByDateCompleted(this, new ClearWaypointsByDateCompletedEventArgs(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 LocateDeviceCompletedEventHandler(object sender, LocateDeviceCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class LocateDeviceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal LocateDeviceCompletedEventArgs(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 LocateDevicesForCustomerCompletedEventHandler(object sender, LocateDevicesForCustomerCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class LocateDevicesForCustomerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal LocateDevicesForCustomerCompletedEventArgs(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 MapDeviceCompletedEventHandler(object sender, MapDeviceCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class MapDeviceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal MapDeviceCompletedEventArgs(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 MapDevicesForCustomerCompletedEventHandler(object sender, MapDevicesForCustomerCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class MapDevicesForCustomerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal MapDevicesForCustomerCompletedEventArgs(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 MapWaypointsByDateCompletedEventHandler(object sender, MapWaypointsByDateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class MapWaypointsByDateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal MapWaypointsByDateCompletedEventArgs(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 GetWaypointsCompletedEventHandler(object sender, GetWaypointsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetWaypointsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetWaypointsCompletedEventArgs(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 GetWaypointsByDateCompletedEventHandler(object sender, GetWaypointsByDateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetWaypointsByDateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetWaypointsByDateCompletedEventArgs(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 ClearWaypointsCompletedEventHandler(object sender, ClearWaypointsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ClearWaypointsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ClearWaypointsCompletedEventArgs(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 ClearWaypointsByDateCompletedEventHandler(object sender, ClearWaypointsByDateCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ClearWaypointsByDateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ClearWaypointsByDateCompletedEventArgs(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]));
            }
        }
    }
}

#pragma warning restore 1591