//------------------------------------------------------------------------------
// <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 ManageTypes.SensorManager {
    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="ServiceSoap", Namespace="http://tempuri.org/")]
    public partial class Service : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback CreateSensorTypeOperationCompleted;
        
        private System.Threading.SendOrPostCallback CreateVectorSensorTypeOperationCompleted;
        
        private System.Threading.SendOrPostCallback CreateVectorSensorTypeByIdsOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorTypeListOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetVectorSensorTypeListOperationCompleted;
        
        private System.Threading.SendOrPostCallback RegisterSensorOperationCompleted;
        
        private System.Threading.SendOrPostCallback RegisterVectorSensorOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteSensorOperationCompleted;
        
        private System.Threading.SendOrPostCallback DeleteVectorSensorOperationCompleted;
        
        private System.Threading.SendOrPostCallback UpdateSensorLocationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorByPublisherAndNameWithAuthenticationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorsByPublisherWithAuthenticationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorsByPolygonQueryWithAuthenticationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorTypeURIsInViewWithAuthenticationOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorByPublisherAndNameOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorsByPublisherOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorsByPolygonQueryOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetSensorTypeURIsInViewOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public Service() {
            this.Url = global::ManageTypes.Properties.Settings.Default.ManageTypes_SensorManager_Service;
            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 CreateSensorTypeCompletedEventHandler CreateSensorTypeCompleted;
        
        /// <remarks/>
        public event CreateVectorSensorTypeCompletedEventHandler CreateVectorSensorTypeCompleted;
        
        /// <remarks/>
        public event CreateVectorSensorTypeByIdsCompletedEventHandler CreateVectorSensorTypeByIdsCompleted;
        
        /// <remarks/>
        public event GetSensorTypeListCompletedEventHandler GetSensorTypeListCompleted;
        
        /// <remarks/>
        public event GetVectorSensorTypeListCompletedEventHandler GetVectorSensorTypeListCompleted;
        
        /// <remarks/>
        public event RegisterSensorCompletedEventHandler RegisterSensorCompleted;
        
        /// <remarks/>
        public event RegisterVectorSensorCompletedEventHandler RegisterVectorSensorCompleted;
        
        /// <remarks/>
        public event DeleteSensorCompletedEventHandler DeleteSensorCompleted;
        
        /// <remarks/>
        public event DeleteVectorSensorCompletedEventHandler DeleteVectorSensorCompleted;
        
        /// <remarks/>
        public event UpdateSensorLocationCompletedEventHandler UpdateSensorLocationCompleted;
        
        /// <remarks/>
        public event GetSensorByPublisherAndNameWithAuthenticationCompletedEventHandler GetSensorByPublisherAndNameWithAuthenticationCompleted;
        
        /// <remarks/>
        public event GetSensorsByPublisherWithAuthenticationCompletedEventHandler GetSensorsByPublisherWithAuthenticationCompleted;
        
        /// <remarks/>
        public event GetSensorsByPolygonQueryWithAuthenticationCompletedEventHandler GetSensorsByPolygonQueryWithAuthenticationCompleted;
        
        /// <remarks/>
        public event GetSensorTypeURIsInViewWithAuthenticationCompletedEventHandler GetSensorTypeURIsInViewWithAuthenticationCompleted;
        
        /// <remarks/>
        public event GetSensorByPublisherAndNameCompletedEventHandler GetSensorByPublisherAndNameCompleted;
        
        /// <remarks/>
        public event GetSensorsByPublisherCompletedEventHandler GetSensorsByPublisherCompleted;
        
        /// <remarks/>
        public event GetSensorsByPolygonQueryCompletedEventHandler GetSensorsByPolygonQueryCompleted;
        
        /// <remarks/>
        public event GetSensorTypeURIsInViewCompletedEventHandler GetSensorTypeURIsInViewCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateSensorType", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string CreateSensorType(string publisherName, System.Guid passCode, string name, string uri) {
            object[] results = this.Invoke("CreateSensorType", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void CreateSensorTypeAsync(string publisherName, System.Guid passCode, string name, string uri) {
            this.CreateSensorTypeAsync(publisherName, passCode, name, uri, null);
        }
        
        /// <remarks/>
        public void CreateSensorTypeAsync(string publisherName, System.Guid passCode, string name, string uri, object userState) {
            if ((this.CreateSensorTypeOperationCompleted == null)) {
                this.CreateSensorTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateSensorTypeOperationCompleted);
            }
            this.InvokeAsync("CreateSensorType", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri}, this.CreateSensorTypeOperationCompleted, userState);
        }
        
        private void OnCreateSensorTypeOperationCompleted(object arg) {
            if ((this.CreateSensorTypeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateSensorTypeCompleted(this, new CreateSensorTypeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateVectorSensorType", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string CreateVectorSensorType(string publisherName, System.Guid passCode, string name, string uri, string[] componentTypes) {
            object[] results = this.Invoke("CreateVectorSensorType", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri,
                        componentTypes});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void CreateVectorSensorTypeAsync(string publisherName, System.Guid passCode, string name, string uri, string[] componentTypes) {
            this.CreateVectorSensorTypeAsync(publisherName, passCode, name, uri, componentTypes, null);
        }
        
        /// <remarks/>
        public void CreateVectorSensorTypeAsync(string publisherName, System.Guid passCode, string name, string uri, string[] componentTypes, object userState) {
            if ((this.CreateVectorSensorTypeOperationCompleted == null)) {
                this.CreateVectorSensorTypeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateVectorSensorTypeOperationCompleted);
            }
            this.InvokeAsync("CreateVectorSensorType", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri,
                        componentTypes}, this.CreateVectorSensorTypeOperationCompleted, userState);
        }
        
        private void OnCreateVectorSensorTypeOperationCompleted(object arg) {
            if ((this.CreateVectorSensorTypeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateVectorSensorTypeCompleted(this, new CreateVectorSensorTypeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateVectorSensorTypeByIds", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string CreateVectorSensorTypeByIds(string publisherName, System.Guid passCode, string name, string uri, int[] componentIds) {
            object[] results = this.Invoke("CreateVectorSensorTypeByIds", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri,
                        componentIds});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void CreateVectorSensorTypeByIdsAsync(string publisherName, System.Guid passCode, string name, string uri, int[] componentIds) {
            this.CreateVectorSensorTypeByIdsAsync(publisherName, passCode, name, uri, componentIds, null);
        }
        
        /// <remarks/>
        public void CreateVectorSensorTypeByIdsAsync(string publisherName, System.Guid passCode, string name, string uri, int[] componentIds, object userState) {
            if ((this.CreateVectorSensorTypeByIdsOperationCompleted == null)) {
                this.CreateVectorSensorTypeByIdsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateVectorSensorTypeByIdsOperationCompleted);
            }
            this.InvokeAsync("CreateVectorSensorTypeByIds", new object[] {
                        publisherName,
                        passCode,
                        name,
                        uri,
                        componentIds}, this.CreateVectorSensorTypeByIdsOperationCompleted, userState);
        }
        
        private void OnCreateVectorSensorTypeByIdsOperationCompleted(object arg) {
            if ((this.CreateVectorSensorTypeByIdsCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.CreateVectorSensorTypeByIdsCompleted(this, new CreateVectorSensorTypeByIdsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorTypeList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public SensorType[] GetSensorTypeList() {
            object[] results = this.Invoke("GetSensorTypeList", new object[0]);
            return ((SensorType[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorTypeListAsync() {
            this.GetSensorTypeListAsync(null);
        }
        
        /// <remarks/>
        public void GetSensorTypeListAsync(object userState) {
            if ((this.GetSensorTypeListOperationCompleted == null)) {
                this.GetSensorTypeListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorTypeListOperationCompleted);
            }
            this.InvokeAsync("GetSensorTypeList", new object[0], this.GetSensorTypeListOperationCompleted, userState);
        }
        
        private void OnGetSensorTypeListOperationCompleted(object arg) {
            if ((this.GetSensorTypeListCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorTypeListCompleted(this, new GetSensorTypeListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVectorSensorTypeList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public VectorSensorType[] GetVectorSensorTypeList() {
            object[] results = this.Invoke("GetVectorSensorTypeList", new object[0]);
            return ((VectorSensorType[])(results[0]));
        }
        
        /// <remarks/>
        public void GetVectorSensorTypeListAsync() {
            this.GetVectorSensorTypeListAsync(null);
        }
        
        /// <remarks/>
        public void GetVectorSensorTypeListAsync(object userState) {
            if ((this.GetVectorSensorTypeListOperationCompleted == null)) {
                this.GetVectorSensorTypeListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVectorSensorTypeListOperationCompleted);
            }
            this.InvokeAsync("GetVectorSensorTypeList", new object[0], this.GetVectorSensorTypeListOperationCompleted, userState);
        }
        
        private void OnGetVectorSensorTypeListOperationCompleted(object arg) {
            if ((this.GetVectorSensorTypeListCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetVectorSensorTypeListCompleted(this, new GetVectorSensorTypeListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RegisterSensor", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string RegisterSensor(string publisherName, System.Guid passCode, SensorInfo Sensor) {
            object[] results = this.Invoke("RegisterSensor", new object[] {
                        publisherName,
                        passCode,
                        Sensor});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void RegisterSensorAsync(string publisherName, System.Guid passCode, SensorInfo Sensor) {
            this.RegisterSensorAsync(publisherName, passCode, Sensor, null);
        }
        
        /// <remarks/>
        public void RegisterSensorAsync(string publisherName, System.Guid passCode, SensorInfo Sensor, object userState) {
            if ((this.RegisterSensorOperationCompleted == null)) {
                this.RegisterSensorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterSensorOperationCompleted);
            }
            this.InvokeAsync("RegisterSensor", new object[] {
                        publisherName,
                        passCode,
                        Sensor}, this.RegisterSensorOperationCompleted, userState);
        }
        
        private void OnRegisterSensorOperationCompleted(object arg) {
            if ((this.RegisterSensorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RegisterSensorCompleted(this, new RegisterSensorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RegisterVectorSensor", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string RegisterVectorSensor(string publisherName, System.Guid passCode, SensorInfo Sensor) {
            object[] results = this.Invoke("RegisterVectorSensor", new object[] {
                        publisherName,
                        passCode,
                        Sensor});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void RegisterVectorSensorAsync(string publisherName, System.Guid passCode, SensorInfo Sensor) {
            this.RegisterVectorSensorAsync(publisherName, passCode, Sensor, null);
        }
        
        /// <remarks/>
        public void RegisterVectorSensorAsync(string publisherName, System.Guid passCode, SensorInfo Sensor, object userState) {
            if ((this.RegisterVectorSensorOperationCompleted == null)) {
                this.RegisterVectorSensorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegisterVectorSensorOperationCompleted);
            }
            this.InvokeAsync("RegisterVectorSensor", new object[] {
                        publisherName,
                        passCode,
                        Sensor}, this.RegisterVectorSensorOperationCompleted, userState);
        }
        
        private void OnRegisterVectorSensorOperationCompleted(object arg) {
            if ((this.RegisterVectorSensorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.RegisterVectorSensorCompleted(this, new RegisterVectorSensorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteSensor", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string DeleteSensor(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName) {
            object[] results = this.Invoke("DeleteSensor", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void DeleteSensorAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName) {
            this.DeleteSensorAsync(publisherName, passCode, originalPublisherName, sensorName, null);
        }
        
        /// <remarks/>
        public void DeleteSensorAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, object userState) {
            if ((this.DeleteSensorOperationCompleted == null)) {
                this.DeleteSensorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteSensorOperationCompleted);
            }
            this.InvokeAsync("DeleteSensor", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName}, this.DeleteSensorOperationCompleted, userState);
        }
        
        private void OnDeleteSensorOperationCompleted(object arg) {
            if ((this.DeleteSensorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteSensorCompleted(this, new DeleteSensorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteVectorSensor", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string DeleteVectorSensor(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, string sensorType) {
            object[] results = this.Invoke("DeleteVectorSensor", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName,
                        sensorType});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void DeleteVectorSensorAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, string sensorType) {
            this.DeleteVectorSensorAsync(publisherName, passCode, originalPublisherName, sensorName, sensorType, null);
        }
        
        /// <remarks/>
        public void DeleteVectorSensorAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, string sensorType, object userState) {
            if ((this.DeleteVectorSensorOperationCompleted == null)) {
                this.DeleteVectorSensorOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteVectorSensorOperationCompleted);
            }
            this.InvokeAsync("DeleteVectorSensor", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName,
                        sensorType}, this.DeleteVectorSensorOperationCompleted, userState);
        }
        
        private void OnDeleteVectorSensorOperationCompleted(object arg) {
            if ((this.DeleteVectorSensorCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.DeleteVectorSensorCompleted(this, new DeleteVectorSensorCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateSensorLocation", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string UpdateSensorLocation(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, double latitude, double longitude, double altitude) {
            object[] results = this.Invoke("UpdateSensorLocation", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName,
                        latitude,
                        longitude,
                        altitude});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void UpdateSensorLocationAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, double latitude, double longitude, double altitude) {
            this.UpdateSensorLocationAsync(publisherName, passCode, originalPublisherName, sensorName, latitude, longitude, altitude, null);
        }
        
        /// <remarks/>
        public void UpdateSensorLocationAsync(string publisherName, System.Guid passCode, string originalPublisherName, string sensorName, double latitude, double longitude, double altitude, object userState) {
            if ((this.UpdateSensorLocationOperationCompleted == null)) {
                this.UpdateSensorLocationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateSensorLocationOperationCompleted);
            }
            this.InvokeAsync("UpdateSensorLocation", new object[] {
                        publisherName,
                        passCode,
                        originalPublisherName,
                        sensorName,
                        latitude,
                        longitude,
                        altitude}, this.UpdateSensorLocationOperationCompleted, userState);
        }
        
        private void OnUpdateSensorLocationOperationCompleted(object arg) {
            if ((this.UpdateSensorLocationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.UpdateSensorLocationCompleted(this, new UpdateSensorLocationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorByPublisherAndNameWithAuthentication", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Sensor")]
        public SensorInfo GetSensorByPublisherAndNameWithAuthentication(string userName, System.Guid passCode, string publisherName, string originalPublisherName, string sensorName) {
            object[] results = this.Invoke("GetSensorByPublisherAndNameWithAuthentication", new object[] {
                        userName,
                        passCode,
                        publisherName,
                        originalPublisherName,
                        sensorName});
            return ((SensorInfo)(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorByPublisherAndNameWithAuthenticationAsync(string userName, System.Guid passCode, string publisherName, string originalPublisherName, string sensorName) {
            this.GetSensorByPublisherAndNameWithAuthenticationAsync(userName, passCode, publisherName, originalPublisherName, sensorName, null);
        }
        
        /// <remarks/>
        public void GetSensorByPublisherAndNameWithAuthenticationAsync(string userName, System.Guid passCode, string publisherName, string originalPublisherName, string sensorName, object userState) {
            if ((this.GetSensorByPublisherAndNameWithAuthenticationOperationCompleted == null)) {
                this.GetSensorByPublisherAndNameWithAuthenticationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorByPublisherAndNameWithAuthenticationOperationCompleted);
            }
            this.InvokeAsync("GetSensorByPublisherAndNameWithAuthentication", new object[] {
                        userName,
                        passCode,
                        publisherName,
                        originalPublisherName,
                        sensorName}, this.GetSensorByPublisherAndNameWithAuthenticationOperationCompleted, userState);
        }
        
        private void OnGetSensorByPublisherAndNameWithAuthenticationOperationCompleted(object arg) {
            if ((this.GetSensorByPublisherAndNameWithAuthenticationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorByPublisherAndNameWithAuthenticationCompleted(this, new GetSensorByPublisherAndNameWithAuthenticationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorsByPublisherWithAuthentication", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public SensorInfo[] GetSensorsByPublisherWithAuthentication(string userName, System.Guid passCode, string publisherName, string originalPublisherName) {
            object[] results = this.Invoke("GetSensorsByPublisherWithAuthentication", new object[] {
                        userName,
                        passCode,
                        publisherName,
                        originalPublisherName});
            return ((SensorInfo[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorsByPublisherWithAuthenticationAsync(string userName, System.Guid passCode, string publisherName, string originalPublisherName) {
            this.GetSensorsByPublisherWithAuthenticationAsync(userName, passCode, publisherName, originalPublisherName, null);
        }
        
        /// <remarks/>
        public void GetSensorsByPublisherWithAuthenticationAsync(string userName, System.Guid passCode, string publisherName, string originalPublisherName, object userState) {
            if ((this.GetSensorsByPublisherWithAuthenticationOperationCompleted == null)) {
                this.GetSensorsByPublisherWithAuthenticationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorsByPublisherWithAuthenticationOperationCompleted);
            }
            this.InvokeAsync("GetSensorsByPublisherWithAuthentication", new object[] {
                        userName,
                        passCode,
                        publisherName,
                        originalPublisherName}, this.GetSensorsByPublisherWithAuthenticationOperationCompleted, userState);
        }
        
        private void OnGetSensorsByPublisherWithAuthenticationOperationCompleted(object arg) {
            if ((this.GetSensorsByPublisherWithAuthenticationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorsByPublisherWithAuthenticationCompleted(this, new GetSensorsByPublisherWithAuthenticationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorsByPolygonQueryWithAuthentication", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public SensorInfo[] GetSensorsByPolygonQueryWithAuthentication(string userName, System.Guid passCode, PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes) {
            object[] results = this.Invoke("GetSensorsByPolygonQueryWithAuthentication", new object[] {
                        userName,
                        passCode,
                        polygon,
                        viewport,
                        searchStr,
                        sensorTypes});
            return ((SensorInfo[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorsByPolygonQueryWithAuthenticationAsync(string userName, System.Guid passCode, PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes) {
            this.GetSensorsByPolygonQueryWithAuthenticationAsync(userName, passCode, polygon, viewport, searchStr, sensorTypes, null);
        }
        
        /// <remarks/>
        public void GetSensorsByPolygonQueryWithAuthenticationAsync(string userName, System.Guid passCode, PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes, object userState) {
            if ((this.GetSensorsByPolygonQueryWithAuthenticationOperationCompleted == null)) {
                this.GetSensorsByPolygonQueryWithAuthenticationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorsByPolygonQueryWithAuthenticationOperationCompleted);
            }
            this.InvokeAsync("GetSensorsByPolygonQueryWithAuthentication", new object[] {
                        userName,
                        passCode,
                        polygon,
                        viewport,
                        searchStr,
                        sensorTypes}, this.GetSensorsByPolygonQueryWithAuthenticationOperationCompleted, userState);
        }
        
        private void OnGetSensorsByPolygonQueryWithAuthenticationOperationCompleted(object arg) {
            if ((this.GetSensorsByPolygonQueryWithAuthenticationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorsByPolygonQueryWithAuthenticationCompleted(this, new GetSensorsByPolygonQueryWithAuthenticationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorTypeURIsInViewWithAuthentication", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] GetSensorTypeURIsInViewWithAuthentication(string userName, System.Guid passCode, PointF[] viewport) {
            object[] results = this.Invoke("GetSensorTypeURIsInViewWithAuthentication", new object[] {
                        userName,
                        passCode,
                        viewport});
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorTypeURIsInViewWithAuthenticationAsync(string userName, System.Guid passCode, PointF[] viewport) {
            this.GetSensorTypeURIsInViewWithAuthenticationAsync(userName, passCode, viewport, null);
        }
        
        /// <remarks/>
        public void GetSensorTypeURIsInViewWithAuthenticationAsync(string userName, System.Guid passCode, PointF[] viewport, object userState) {
            if ((this.GetSensorTypeURIsInViewWithAuthenticationOperationCompleted == null)) {
                this.GetSensorTypeURIsInViewWithAuthenticationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorTypeURIsInViewWithAuthenticationOperationCompleted);
            }
            this.InvokeAsync("GetSensorTypeURIsInViewWithAuthentication", new object[] {
                        userName,
                        passCode,
                        viewport}, this.GetSensorTypeURIsInViewWithAuthenticationOperationCompleted, userState);
        }
        
        private void OnGetSensorTypeURIsInViewWithAuthenticationOperationCompleted(object arg) {
            if ((this.GetSensorTypeURIsInViewWithAuthenticationCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorTypeURIsInViewWithAuthenticationCompleted(this, new GetSensorTypeURIsInViewWithAuthenticationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorByPublisherAndName", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("Sensor")]
        public SensorInfo GetSensorByPublisherAndName(string publisherName, string originalPublisherName, string sensorName) {
            object[] results = this.Invoke("GetSensorByPublisherAndName", new object[] {
                        publisherName,
                        originalPublisherName,
                        sensorName});
            return ((SensorInfo)(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorByPublisherAndNameAsync(string publisherName, string originalPublisherName, string sensorName) {
            this.GetSensorByPublisherAndNameAsync(publisherName, originalPublisherName, sensorName, null);
        }
        
        /// <remarks/>
        public void GetSensorByPublisherAndNameAsync(string publisherName, string originalPublisherName, string sensorName, object userState) {
            if ((this.GetSensorByPublisherAndNameOperationCompleted == null)) {
                this.GetSensorByPublisherAndNameOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorByPublisherAndNameOperationCompleted);
            }
            this.InvokeAsync("GetSensorByPublisherAndName", new object[] {
                        publisherName,
                        originalPublisherName,
                        sensorName}, this.GetSensorByPublisherAndNameOperationCompleted, userState);
        }
        
        private void OnGetSensorByPublisherAndNameOperationCompleted(object arg) {
            if ((this.GetSensorByPublisherAndNameCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorByPublisherAndNameCompleted(this, new GetSensorByPublisherAndNameCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorsByPublisher", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public SensorInfo[] GetSensorsByPublisher(string publisherName, string originalPublisherName) {
            object[] results = this.Invoke("GetSensorsByPublisher", new object[] {
                        publisherName,
                        originalPublisherName});
            return ((SensorInfo[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorsByPublisherAsync(string publisherName, string originalPublisherName) {
            this.GetSensorsByPublisherAsync(publisherName, originalPublisherName, null);
        }
        
        /// <remarks/>
        public void GetSensorsByPublisherAsync(string publisherName, string originalPublisherName, object userState) {
            if ((this.GetSensorsByPublisherOperationCompleted == null)) {
                this.GetSensorsByPublisherOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorsByPublisherOperationCompleted);
            }
            this.InvokeAsync("GetSensorsByPublisher", new object[] {
                        publisherName,
                        originalPublisherName}, this.GetSensorsByPublisherOperationCompleted, userState);
        }
        
        private void OnGetSensorsByPublisherOperationCompleted(object arg) {
            if ((this.GetSensorsByPublisherCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorsByPublisherCompleted(this, new GetSensorsByPublisherCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorsByPolygonQuery", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public SensorInfo[] GetSensorsByPolygonQuery(PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes) {
            object[] results = this.Invoke("GetSensorsByPolygonQuery", new object[] {
                        polygon,
                        viewport,
                        searchStr,
                        sensorTypes});
            return ((SensorInfo[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorsByPolygonQueryAsync(PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes) {
            this.GetSensorsByPolygonQueryAsync(polygon, viewport, searchStr, sensorTypes, null);
        }
        
        /// <remarks/>
        public void GetSensorsByPolygonQueryAsync(PointF[] polygon, PointF[] viewport, string searchStr, int[] sensorTypes, object userState) {
            if ((this.GetSensorsByPolygonQueryOperationCompleted == null)) {
                this.GetSensorsByPolygonQueryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorsByPolygonQueryOperationCompleted);
            }
            this.InvokeAsync("GetSensorsByPolygonQuery", new object[] {
                        polygon,
                        viewport,
                        searchStr,
                        sensorTypes}, this.GetSensorsByPolygonQueryOperationCompleted, userState);
        }
        
        private void OnGetSensorsByPolygonQueryOperationCompleted(object arg) {
            if ((this.GetSensorsByPolygonQueryCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorsByPolygonQueryCompleted(this, new GetSensorsByPolygonQueryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSensorTypeURIsInView", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string[] GetSensorTypeURIsInView(PointF[] viewport) {
            object[] results = this.Invoke("GetSensorTypeURIsInView", new object[] {
                        viewport});
            return ((string[])(results[0]));
        }
        
        /// <remarks/>
        public void GetSensorTypeURIsInViewAsync(PointF[] viewport) {
            this.GetSensorTypeURIsInViewAsync(viewport, null);
        }
        
        /// <remarks/>
        public void GetSensorTypeURIsInViewAsync(PointF[] viewport, object userState) {
            if ((this.GetSensorTypeURIsInViewOperationCompleted == null)) {
                this.GetSensorTypeURIsInViewOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSensorTypeURIsInViewOperationCompleted);
            }
            this.InvokeAsync("GetSensorTypeURIsInView", new object[] {
                        viewport}, this.GetSensorTypeURIsInViewOperationCompleted, userState);
        }
        
        private void OnGetSensorTypeURIsInViewOperationCompleted(object arg) {
            if ((this.GetSensorTypeURIsInViewCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetSensorTypeURIsInViewCompleted(this, new GetSensorTypeURIsInViewCompletedEventArgs(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.Xml.Serialization.XmlIncludeAttribute(typeof(VectorSensorType))]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.1433")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class SensorType {
        
        private int idField;
        
        private string nameField;
        
        private string uRIField;
        
        private string dataTypeField;
        
        private string unitField;
        
        private string iconURLField;
        
        private string brokenIconURLField;
        
        private string groupIconURLField;
        
        /// <remarks/>
        public int ID {
            get {
                return this.idField;
            }
            set {
                this.idField = value;
            }
        }
        
        /// <remarks/>
        public string Name {
            get {
                return this.nameField;
            }
            set {
                this.nameField = value;
            }
        }
        
        /// <remarks/>
        public string URI {
            get {
                return this.uRIField;
            }
            set {
                this.uRIField = value;
            }
        }
        
        /// <remarks/>
        public string DataType {
            get {
                return this.dataTypeField;
            }
            set {
                this.dataTypeField = value;
            }
        }
        
        /// <remarks/>
        public string Unit {
            get {
                return this.unitField;
            }
            set {
                this.unitField = value;
            }
        }
        
        /// <remarks/>
        public string IconURL {
            get {
                return this.iconURLField;
            }
            set {
                this.iconURLField = value;
            }
        }
        
        /// <remarks/>
        public string BrokenIconURL {
            get {
                return this.brokenIconURLField;
            }
            set {
                this.brokenIconURLField = value;
            }
        }
        
        /// <remarks/>
        public string GroupIconURL {
            get {
                return this.groupIconURLField;
            }
            set {
                this.groupIconURLField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.1433")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class PointF {
        
        private double xField;
        
        private double yField;
        
        private double latField;
        
        private double lonField;
        
        /// <remarks/>
        public double x {
            get {
                return this.xField;
            }
            set {
                this.xField = value;
            }
        }
        
        /// <remarks/>
        public double y {
            get {
                return this.yField;
            }
            set {
                this.yField = value;
            }
        }
        
        /// <remarks/>
        public double lat {
            get {
                return this.latField;
            }
            set {
                this.latField = value;
            }
        }
        
        /// <remarks/>
        public double lon {
            get {
                return this.lonField;
            }
            set {
                this.lonField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.1433")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class SensorInfo {
        
        private string publisherNameField;
        
        private string sensorNameField;
        
        private double longitudeField;
        
        private double latitudeField;
        
        private double altitudeField;
        
        private string unitField;
        
        private string sensorTypeField;
        
        private string urlField;
        
        private string keywordsField;
        
        private string descriptionField;
        
        private string dataTypeField;
        
        private double samplingPeriodField;
        
        private double reportPeriodField;
        
        private System.DateTime entryTimeField;
        
        private string webServiceUrlField;
        
        private string originalPublisherNameField;
        
        /// <remarks/>
        public string publisherName {
            get {
                return this.publisherNameField;
            }
            set {
                this.publisherNameField = value;
            }
        }
        
        /// <remarks/>
        public string sensorName {
            get {
                return this.sensorNameField;
            }
            set {
                this.sensorNameField = value;
            }
        }
        
        /// <remarks/>
        public double longitude {
            get {
                return this.longitudeField;
            }
            set {
                this.longitudeField = value;
            }
        }
        
        /// <remarks/>
        public double latitude {
            get {
                return this.latitudeField;
            }
            set {
                this.latitudeField = value;
            }
        }
        
        /// <remarks/>
        public double altitude {
            get {
                return this.altitudeField;
            }
            set {
                this.altitudeField = value;
            }
        }
        
        /// <remarks/>
        public string unit {
            get {
                return this.unitField;
            }
            set {
                this.unitField = value;
            }
        }
        
        /// <remarks/>
        public string sensorType {
            get {
                return this.sensorTypeField;
            }
            set {
                this.sensorTypeField = value;
            }
        }
        
        /// <remarks/>
        public string url {
            get {
                return this.urlField;
            }
            set {
                this.urlField = value;
            }
        }
        
        /// <remarks/>
        public string keywords {
            get {
                return this.keywordsField;
            }
            set {
                this.keywordsField = value;
            }
        }
        
        /// <remarks/>
        public string description {
            get {
                return this.descriptionField;
            }
            set {
                this.descriptionField = value;
            }
        }
        
        /// <remarks/>
        public string dataType {
            get {
                return this.dataTypeField;
            }
            set {
                this.dataTypeField = value;
            }
        }
        
        /// <remarks/>
        public double samplingPeriod {
            get {
                return this.samplingPeriodField;
            }
            set {
                this.samplingPeriodField = value;
            }
        }
        
        /// <remarks/>
        public double reportPeriod {
            get {
                return this.reportPeriodField;
            }
            set {
                this.reportPeriodField = value;
            }
        }
        
        /// <remarks/>
        public System.DateTime entryTime {
            get {
                return this.entryTimeField;
            }
            set {
                this.entryTimeField = value;
            }
        }
        
        /// <remarks/>
        public string webServiceUrl {
            get {
                return this.webServiceUrlField;
            }
            set {
                this.webServiceUrlField = value;
            }
        }
        
        /// <remarks/>
        public string originalPublisherName {
            get {
                return this.originalPublisherNameField;
            }
            set {
                this.originalPublisherNameField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.1433")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
    public partial class VectorSensorType : SensorType {
        
        private string signatureField;
        
        /// <remarks/>
        public string Signature {
            get {
                return this.signatureField;
            }
            set {
                this.signatureField = value;
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void CreateSensorTypeCompletedEventHandler(object sender, CreateSensorTypeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateSensorTypeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateSensorTypeCompletedEventArgs(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 CreateVectorSensorTypeCompletedEventHandler(object sender, CreateVectorSensorTypeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateVectorSensorTypeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateVectorSensorTypeCompletedEventArgs(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 CreateVectorSensorTypeByIdsCompletedEventHandler(object sender, CreateVectorSensorTypeByIdsCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CreateVectorSensorTypeByIdsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal CreateVectorSensorTypeByIdsCompletedEventArgs(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 GetSensorTypeListCompletedEventHandler(object sender, GetSensorTypeListCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorTypeListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorTypeListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorType[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorType[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetVectorSensorTypeListCompletedEventHandler(object sender, GetVectorSensorTypeListCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetVectorSensorTypeListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetVectorSensorTypeListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public VectorSensorType[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((VectorSensorType[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void RegisterSensorCompletedEventHandler(object sender, RegisterSensorCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RegisterSensorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RegisterSensorCompletedEventArgs(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 RegisterVectorSensorCompletedEventHandler(object sender, RegisterVectorSensorCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class RegisterVectorSensorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal RegisterVectorSensorCompletedEventArgs(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 DeleteSensorCompletedEventHandler(object sender, DeleteSensorCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteSensorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteSensorCompletedEventArgs(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 DeleteVectorSensorCompletedEventHandler(object sender, DeleteVectorSensorCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class DeleteVectorSensorCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal DeleteVectorSensorCompletedEventArgs(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 UpdateSensorLocationCompletedEventHandler(object sender, UpdateSensorLocationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class UpdateSensorLocationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal UpdateSensorLocationCompletedEventArgs(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 GetSensorByPublisherAndNameWithAuthenticationCompletedEventHandler(object sender, GetSensorByPublisherAndNameWithAuthenticationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorByPublisherAndNameWithAuthenticationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorByPublisherAndNameWithAuthenticationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorsByPublisherWithAuthenticationCompletedEventHandler(object sender, GetSensorsByPublisherWithAuthenticationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorsByPublisherWithAuthenticationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorsByPublisherWithAuthenticationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorsByPolygonQueryWithAuthenticationCompletedEventHandler(object sender, GetSensorsByPolygonQueryWithAuthenticationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorsByPolygonQueryWithAuthenticationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorsByPolygonQueryWithAuthenticationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorTypeURIsInViewWithAuthenticationCompletedEventHandler(object sender, GetSensorTypeURIsInViewWithAuthenticationCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorTypeURIsInViewWithAuthenticationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorTypeURIsInViewWithAuthenticationCompletedEventArgs(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 GetSensorByPublisherAndNameCompletedEventHandler(object sender, GetSensorByPublisherAndNameCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorByPublisherAndNameCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorByPublisherAndNameCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorsByPublisherCompletedEventHandler(object sender, GetSensorsByPublisherCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorsByPublisherCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorsByPublisherCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorsByPolygonQueryCompletedEventHandler(object sender, GetSensorsByPolygonQueryCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorsByPolygonQueryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorsByPolygonQueryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public SensorInfo[] Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((SensorInfo[])(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    public delegate void GetSensorTypeURIsInViewCompletedEventHandler(object sender, GetSensorTypeURIsInViewCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.1433")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetSensorTypeURIsInViewCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetSensorTypeURIsInViewCompletedEventArgs(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