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

Option Strict On
Option Explicit On

Imports System
Imports System.Runtime.Serialization

Namespace GPSConnectorService
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0"),  _
     System.Runtime.Serialization.DataContractAttribute(Name:="Distributor", [Namespace]:="http://schemas.datacontract.org/2004/07/GPSConnector.Common"),  _
     System.SerializableAttribute()>  _
    Partial Public Class Distributor
        Inherits Object
        Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
        
        <System.NonSerializedAttribute()>  _
        Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
        
        <System.Runtime.Serialization.OptionalFieldAttribute()>  _
        Private IdField As Integer
        
        <System.Runtime.Serialization.OptionalFieldAttribute()>  _
        Private NameField As String
        
        <Global.System.ComponentModel.BrowsableAttribute(false)>  _
        Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
            Get
                Return Me.extensionDataField
            End Get
            Set
                Me.extensionDataField = value
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Id() As Integer
            Get
                Return Me.IdField
            End Get
            Set
                If (Me.IdField.Equals(value) <> true) Then
                    Me.IdField = value
                    Me.RaisePropertyChanged("Id")
                End If
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Name() As String
            Get
                Return Me.NameField
            End Get
            Set
                If (Object.ReferenceEquals(Me.NameField, value) <> true) Then
                    Me.NameField = value
                    Me.RaisePropertyChanged("Name")
                End If
            End Set
        End Property
        
        Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
        
        Protected Sub RaisePropertyChanged(ByVal propertyName As String)
            Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
            If (Not (propertyChanged) Is Nothing) Then
                propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
            End If
        End Sub
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0"),  _
     System.Runtime.Serialization.DataContractAttribute(Name:="CalculationResult", [Namespace]:="http://schemas.datacontract.org/2004/07/GPSConnector.Service.Core"),  _
     System.SerializableAttribute()>  _
    Partial Public Class CalculationResult
        Inherits Object
        Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
        
        <System.NonSerializedAttribute()>  _
        Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
        
        <System.Runtime.Serialization.OptionalFieldAttribute()>  _
        Private LogField As String
        
        <System.Runtime.Serialization.OptionalFieldAttribute()>  _
        Private SuccessField As Boolean
        
        <Global.System.ComponentModel.BrowsableAttribute(false)>  _
        Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
            Get
                Return Me.extensionDataField
            End Get
            Set
                Me.extensionDataField = value
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Log() As String
            Get
                Return Me.LogField
            End Get
            Set
                If (Object.ReferenceEquals(Me.LogField, value) <> true) Then
                    Me.LogField = value
                    Me.RaisePropertyChanged("Log")
                End If
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Success() As Boolean
            Get
                Return Me.SuccessField
            End Get
            Set
                If (Me.SuccessField.Equals(value) <> true) Then
                    Me.SuccessField = value
                    Me.RaisePropertyChanged("Success")
                End If
            End Set
        End Property
        
        Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
        
        Protected Sub RaisePropertyChanged(ByVal propertyName As String)
            Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
            If (Not (propertyChanged) Is Nothing) Then
                propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
            End If
        End Sub
    End Class
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"),  _
     System.ServiceModel.ServiceContractAttribute(ConfigurationName:="GPSConnectorService.IGPSConnectorStatusService", CallbackContract:=GetType(GPSConnectorService.IGPSConnectorStatusServiceCallback))>  _
    Public Interface IGPSConnectorStatusService
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetDevices", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDevicesResponse")>  _
        Function GetDevices(ByVal ownerkey As String) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetDevices", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDevicesResponse")>  _
        Function BeginGetDevices(ByVal ownerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetDevices(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceData", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceDataResponse")>  _
        Function GetDeviceData(ByVal ownerkey As String) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceData", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceDataResponse")>  _
        Function BeginGetDeviceData(ByVal ownerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetDeviceData(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetLogInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetLogInfoResponse")>  _
        Function GetLogInfo() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetLogInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetLogInfoResponse")>  _
        Function BeginGetLogInfo(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetLogInfo(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetLogError", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetLogErrorResponse")>  _
        Function GetLogError() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetLogError", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetLogErrorResponse")>  _
        Function BeginGetLogError(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetLogError(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceTypeComponentInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceTypeComponentInfoResponse")>  _
        Function GetDeviceTypeComponentInfo() As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceTypeComponentInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetDeviceTypeComponentInfoResponse")>  _
        Function BeginGetDeviceTypeComponentInfo(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetDeviceTypeComponentInfo(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServices", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServicesResponse")>  _
        Function GetCustomServices() As System.Collections.Generic.List(Of GPSConnector.Common.CustomService)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServices", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServicesResponse")>  _
        Function BeginGetCustomServices(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetCustomServices(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.CustomService)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServiceStatus", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServiceStatusResponse")>  _
        Function GetCustomServiceStatus(ByVal customService As String) As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus)
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServiceStatus", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetCustomServiceStatusResponse")>  _
        Function BeginGetCustomServiceStatus(ByVal customService As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetCustomServiceStatus(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus)
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/Subscribe", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/SubscribeResponse")>  _
        Function Subscribe(ByVal onwerkey As String) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/Subscribe", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/SubscribeResponse")>  _
        Function BeginSubscribe(ByVal onwerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndSubscribe(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/Unsubscribe", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/UnsubscribeResponse")>  _
        Function Unsubscribe() As Boolean
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/Unsubscribe", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/UnsubscribeResponse")>  _
        Function BeginUnsubscribe(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndUnsubscribe(ByVal result As System.IAsyncResult) As Boolean
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/GetOwnerInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetOwnerInfoResponse")>  _
        Function GetOwnerInfo(ByVal ownerKey As String) As GPSConnector.Common.Owner
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/GetOwnerInfo", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/GetOwnerInfoResponse")>  _
        Function BeginGetOwnerInfo(ByVal ownerKey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndGetOwnerInfo(ByVal result As System.IAsyncResult) As GPSConnector.Common.Owner
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/Calculate", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/CalculateResponse")>  _
        Function Calculate(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date) As GPSConnectorService.CalculationResult
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/Calculate", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/CalculateResponse")>  _
        Function BeginCalculate(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndCalculate(ByVal result As System.IAsyncResult) As GPSConnectorService.CalculationResult
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IGPSConnectorStatusService/HeartBeatTest", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/HeartBeatTestResponse")>  _
        Sub HeartBeatTest()
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/HeartBeatTest", ReplyAction:="http://tempuri.org/IGPSConnectorStatusService/HeartBeatTestResponse")>  _
        Function BeginHeartBeatTest(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndHeartBeatTest(ByVal result As System.IAsyncResult)
    End Interface
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Public Interface IGPSConnectorStatusServiceCallback
        
        <System.ServiceModel.OperationContractAttribute(IsOneWay:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/NewDeviceData")>  _
        Sub NewDeviceData(ByVal data As GPSConnector.Common.GPSDeviceData)
        
        <System.ServiceModel.OperationContractAttribute(IsOneWay:=true, AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/NewDeviceData")>  _
        Function BeginNewDeviceData(ByVal data As GPSConnector.Common.GPSDeviceData, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndNewDeviceData(ByVal result As System.IAsyncResult)
        
        <System.ServiceModel.OperationContractAttribute(IsOneWay:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/NewLogInfo")>  _
        Sub NewLogInfo(ByVal logInfo As GPSConnector.Common.LogInfo)
        
        <System.ServiceModel.OperationContractAttribute(IsOneWay:=true, AsyncPattern:=true, Action:="http://tempuri.org/IGPSConnectorStatusService/NewLogInfo")>  _
        Function BeginNewLogInfo(ByVal logInfo As GPSConnector.Common.LogInfo, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Sub EndNewLogInfo(ByVal result As System.IAsyncResult)
    End Interface
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Public Interface IGPSConnectorStatusServiceChannel
        Inherits GPSConnectorService.IGPSConnectorStatusService, System.ServiceModel.IClientChannel
    End Interface
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetDevicesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetDeviceDataCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetLogInfoCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.LogInfo))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetLogErrorCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.LogInfo))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetDeviceTypeComponentInfoCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetCustomServicesCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.CustomService)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.CustomService))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetCustomServiceStatusCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus)
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus))
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class SubscribeCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class UnsubscribeCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As Boolean
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Boolean)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GetOwnerInfoCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As GPSConnector.Common.Owner
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),GPSConnector.Common.Owner)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class CalculateCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        Public ReadOnly Property Result() As GPSConnectorService.CalculationResult
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),GPSConnectorService.CalculationResult)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class GPSConnectorStatusServiceClient
        Inherits System.ServiceModel.DuplexClientBase(Of GPSConnectorService.IGPSConnectorStatusService)
        Implements GPSConnectorService.IGPSConnectorStatusService
        
        Private onBeginGetDevicesDelegate As BeginOperationDelegate
        
        Private onEndGetDevicesDelegate As EndOperationDelegate
        
        Private onGetDevicesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetDeviceDataDelegate As BeginOperationDelegate
        
        Private onEndGetDeviceDataDelegate As EndOperationDelegate
        
        Private onGetDeviceDataCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetLogInfoDelegate As BeginOperationDelegate
        
        Private onEndGetLogInfoDelegate As EndOperationDelegate
        
        Private onGetLogInfoCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetLogErrorDelegate As BeginOperationDelegate
        
        Private onEndGetLogErrorDelegate As EndOperationDelegate
        
        Private onGetLogErrorCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetDeviceTypeComponentInfoDelegate As BeginOperationDelegate
        
        Private onEndGetDeviceTypeComponentInfoDelegate As EndOperationDelegate
        
        Private onGetDeviceTypeComponentInfoCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetCustomServicesDelegate As BeginOperationDelegate
        
        Private onEndGetCustomServicesDelegate As EndOperationDelegate
        
        Private onGetCustomServicesCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetCustomServiceStatusDelegate As BeginOperationDelegate
        
        Private onEndGetCustomServiceStatusDelegate As EndOperationDelegate
        
        Private onGetCustomServiceStatusCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginSubscribeDelegate As BeginOperationDelegate
        
        Private onEndSubscribeDelegate As EndOperationDelegate
        
        Private onSubscribeCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginUnsubscribeDelegate As BeginOperationDelegate
        
        Private onEndUnsubscribeDelegate As EndOperationDelegate
        
        Private onUnsubscribeCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginGetOwnerInfoDelegate As BeginOperationDelegate
        
        Private onEndGetOwnerInfoDelegate As EndOperationDelegate
        
        Private onGetOwnerInfoCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginCalculateDelegate As BeginOperationDelegate
        
        Private onEndCalculateDelegate As EndOperationDelegate
        
        Private onCalculateCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginHeartBeatTestDelegate As BeginOperationDelegate
        
        Private onEndHeartBeatTestDelegate As EndOperationDelegate
        
        Private onHeartBeatTestCompletedDelegate As System.Threading.SendOrPostCallback
        
        Public Sub New(ByVal callbackInstance As System.ServiceModel.InstanceContext)
            MyBase.New(callbackInstance)
        End Sub
        
        Public Sub New(ByVal callbackInstance As System.ServiceModel.InstanceContext, ByVal endpointConfigurationName As String)
            MyBase.New(callbackInstance, endpointConfigurationName)
        End Sub
        
        Public Sub New(ByVal callbackInstance As System.ServiceModel.InstanceContext, ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
            MyBase.New(callbackInstance, endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal callbackInstance As System.ServiceModel.InstanceContext, ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(callbackInstance, endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal callbackInstance As System.ServiceModel.InstanceContext, ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(callbackInstance, binding, remoteAddress)
        End Sub
        
        Public Event GetDevicesCompleted As System.EventHandler(Of GetDevicesCompletedEventArgs)
        
        Public Event GetDeviceDataCompleted As System.EventHandler(Of GetDeviceDataCompletedEventArgs)
        
        Public Event GetLogInfoCompleted As System.EventHandler(Of GetLogInfoCompletedEventArgs)
        
        Public Event GetLogErrorCompleted As System.EventHandler(Of GetLogErrorCompletedEventArgs)
        
        Public Event GetDeviceTypeComponentInfoCompleted As System.EventHandler(Of GetDeviceTypeComponentInfoCompletedEventArgs)
        
        Public Event GetCustomServicesCompleted As System.EventHandler(Of GetCustomServicesCompletedEventArgs)
        
        Public Event GetCustomServiceStatusCompleted As System.EventHandler(Of GetCustomServiceStatusCompletedEventArgs)
        
        Public Event SubscribeCompleted As System.EventHandler(Of SubscribeCompletedEventArgs)
        
        Public Event UnsubscribeCompleted As System.EventHandler(Of UnsubscribeCompletedEventArgs)
        
        Public Event GetOwnerInfoCompleted As System.EventHandler(Of GetOwnerInfoCompletedEventArgs)
        
        Public Event CalculateCompleted As System.EventHandler(Of CalculateCompletedEventArgs)
        
        Public Event HeartBeatTestCompleted As System.EventHandler(Of System.ComponentModel.AsyncCompletedEventArgs)
        
        Public Function GetDevices(ByVal ownerkey As String) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice) Implements GPSConnectorService.IGPSConnectorStatusService.GetDevices
            Return MyBase.Channel.GetDevices(ownerkey)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetDevices(ByVal ownerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetDevices
            Return MyBase.Channel.BeginGetDevices(ownerkey, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetDevices(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetDevices
            Return MyBase.Channel.EndGetDevices(result)
        End Function
        
        Private Function OnBeginGetDevices(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ownerkey As String = CType(inValues(0),String)
            Return Me.BeginGetDevices(ownerkey, callback, asyncState)
        End Function
        
        Private Function OnEndGetDevices(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.GPSDevice) = Me.EndGetDevices(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetDevicesCompleted(ByVal state As Object)
            If (Not (Me.GetDevicesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetDevicesCompleted(Me, New GetDevicesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetDevicesAsync(ByVal ownerkey As String)
            Me.GetDevicesAsync(ownerkey, Nothing)
        End Sub
        
        Public Overloads Sub GetDevicesAsync(ByVal ownerkey As String, ByVal userState As Object)
            If (Me.onBeginGetDevicesDelegate Is Nothing) Then
                Me.onBeginGetDevicesDelegate = AddressOf Me.OnBeginGetDevices
            End If
            If (Me.onEndGetDevicesDelegate Is Nothing) Then
                Me.onEndGetDevicesDelegate = AddressOf Me.OnEndGetDevices
            End If
            If (Me.onGetDevicesCompletedDelegate Is Nothing) Then
                Me.onGetDevicesCompletedDelegate = AddressOf Me.OnGetDevicesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetDevicesDelegate, New Object() {ownerkey}, Me.onEndGetDevicesDelegate, Me.onGetDevicesCompletedDelegate, userState)
        End Sub
        
        Public Function GetDeviceData(ByVal ownerkey As String) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData) Implements GPSConnectorService.IGPSConnectorStatusService.GetDeviceData
            Return MyBase.Channel.GetDeviceData(ownerkey)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetDeviceData(ByVal ownerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetDeviceData
            Return MyBase.Channel.BeginGetDeviceData(ownerkey, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetDeviceData(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetDeviceData
            Return MyBase.Channel.EndGetDeviceData(result)
        End Function
        
        Private Function OnBeginGetDeviceData(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ownerkey As String = CType(inValues(0),String)
            Return Me.BeginGetDeviceData(ownerkey, callback, asyncState)
        End Function
        
        Private Function OnEndGetDeviceData(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.GPSDeviceData) = Me.EndGetDeviceData(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetDeviceDataCompleted(ByVal state As Object)
            If (Not (Me.GetDeviceDataCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetDeviceDataCompleted(Me, New GetDeviceDataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetDeviceDataAsync(ByVal ownerkey As String)
            Me.GetDeviceDataAsync(ownerkey, Nothing)
        End Sub
        
        Public Overloads Sub GetDeviceDataAsync(ByVal ownerkey As String, ByVal userState As Object)
            If (Me.onBeginGetDeviceDataDelegate Is Nothing) Then
                Me.onBeginGetDeviceDataDelegate = AddressOf Me.OnBeginGetDeviceData
            End If
            If (Me.onEndGetDeviceDataDelegate Is Nothing) Then
                Me.onEndGetDeviceDataDelegate = AddressOf Me.OnEndGetDeviceData
            End If
            If (Me.onGetDeviceDataCompletedDelegate Is Nothing) Then
                Me.onGetDeviceDataCompletedDelegate = AddressOf Me.OnGetDeviceDataCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetDeviceDataDelegate, New Object() {ownerkey}, Me.onEndGetDeviceDataDelegate, Me.onGetDeviceDataCompletedDelegate, userState)
        End Sub
        
        Public Function GetLogInfo() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) Implements GPSConnectorService.IGPSConnectorStatusService.GetLogInfo
            Return MyBase.Channel.GetLogInfo
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetLogInfo(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetLogInfo
            Return MyBase.Channel.BeginGetLogInfo(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetLogInfo(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetLogInfo
            Return MyBase.Channel.EndGetLogInfo(result)
        End Function
        
        Private Function OnBeginGetLogInfo(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginGetLogInfo(callback, asyncState)
        End Function
        
        Private Function OnEndGetLogInfo(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) = Me.EndGetLogInfo(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetLogInfoCompleted(ByVal state As Object)
            If (Not (Me.GetLogInfoCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetLogInfoCompleted(Me, New GetLogInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetLogInfoAsync()
            Me.GetLogInfoAsync(Nothing)
        End Sub
        
        Public Overloads Sub GetLogInfoAsync(ByVal userState As Object)
            If (Me.onBeginGetLogInfoDelegate Is Nothing) Then
                Me.onBeginGetLogInfoDelegate = AddressOf Me.OnBeginGetLogInfo
            End If
            If (Me.onEndGetLogInfoDelegate Is Nothing) Then
                Me.onEndGetLogInfoDelegate = AddressOf Me.OnEndGetLogInfo
            End If
            If (Me.onGetLogInfoCompletedDelegate Is Nothing) Then
                Me.onGetLogInfoCompletedDelegate = AddressOf Me.OnGetLogInfoCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetLogInfoDelegate, Nothing, Me.onEndGetLogInfoDelegate, Me.onGetLogInfoCompletedDelegate, userState)
        End Sub
        
        Public Function GetLogError() As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) Implements GPSConnectorService.IGPSConnectorStatusService.GetLogError
            Return MyBase.Channel.GetLogError
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetLogError(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetLogError
            Return MyBase.Channel.BeginGetLogError(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetLogError(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetLogError
            Return MyBase.Channel.EndGetLogError(result)
        End Function
        
        Private Function OnBeginGetLogError(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginGetLogError(callback, asyncState)
        End Function
        
        Private Function OnEndGetLogError(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.LogInfo) = Me.EndGetLogError(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetLogErrorCompleted(ByVal state As Object)
            If (Not (Me.GetLogErrorCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetLogErrorCompleted(Me, New GetLogErrorCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetLogErrorAsync()
            Me.GetLogErrorAsync(Nothing)
        End Sub
        
        Public Overloads Sub GetLogErrorAsync(ByVal userState As Object)
            If (Me.onBeginGetLogErrorDelegate Is Nothing) Then
                Me.onBeginGetLogErrorDelegate = AddressOf Me.OnBeginGetLogError
            End If
            If (Me.onEndGetLogErrorDelegate Is Nothing) Then
                Me.onEndGetLogErrorDelegate = AddressOf Me.OnEndGetLogError
            End If
            If (Me.onGetLogErrorCompletedDelegate Is Nothing) Then
                Me.onGetLogErrorCompletedDelegate = AddressOf Me.OnGetLogErrorCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetLogErrorDelegate, Nothing, Me.onEndGetLogErrorDelegate, Me.onGetLogErrorCompletedDelegate, userState)
        End Sub
        
        Public Function GetDeviceTypeComponentInfo() As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo) Implements GPSConnectorService.IGPSConnectorStatusService.GetDeviceTypeComponentInfo
            Return MyBase.Channel.GetDeviceTypeComponentInfo
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetDeviceTypeComponentInfo(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetDeviceTypeComponentInfo
            Return MyBase.Channel.BeginGetDeviceTypeComponentInfo(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetDeviceTypeComponentInfo(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetDeviceTypeComponentInfo
            Return MyBase.Channel.EndGetDeviceTypeComponentInfo(result)
        End Function
        
        Private Function OnBeginGetDeviceTypeComponentInfo(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginGetDeviceTypeComponentInfo(callback, asyncState)
        End Function
        
        Private Function OnEndGetDeviceTypeComponentInfo(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.DeviceTypeComponentInfo) = Me.EndGetDeviceTypeComponentInfo(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetDeviceTypeComponentInfoCompleted(ByVal state As Object)
            If (Not (Me.GetDeviceTypeComponentInfoCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetDeviceTypeComponentInfoCompleted(Me, New GetDeviceTypeComponentInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetDeviceTypeComponentInfoAsync()
            Me.GetDeviceTypeComponentInfoAsync(Nothing)
        End Sub
        
        Public Overloads Sub GetDeviceTypeComponentInfoAsync(ByVal userState As Object)
            If (Me.onBeginGetDeviceTypeComponentInfoDelegate Is Nothing) Then
                Me.onBeginGetDeviceTypeComponentInfoDelegate = AddressOf Me.OnBeginGetDeviceTypeComponentInfo
            End If
            If (Me.onEndGetDeviceTypeComponentInfoDelegate Is Nothing) Then
                Me.onEndGetDeviceTypeComponentInfoDelegate = AddressOf Me.OnEndGetDeviceTypeComponentInfo
            End If
            If (Me.onGetDeviceTypeComponentInfoCompletedDelegate Is Nothing) Then
                Me.onGetDeviceTypeComponentInfoCompletedDelegate = AddressOf Me.OnGetDeviceTypeComponentInfoCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetDeviceTypeComponentInfoDelegate, Nothing, Me.onEndGetDeviceTypeComponentInfoDelegate, Me.onGetDeviceTypeComponentInfoCompletedDelegate, userState)
        End Sub
        
        Public Function GetCustomServices() As System.Collections.Generic.List(Of GPSConnector.Common.CustomService) Implements GPSConnectorService.IGPSConnectorStatusService.GetCustomServices
            Return MyBase.Channel.GetCustomServices
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetCustomServices(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetCustomServices
            Return MyBase.Channel.BeginGetCustomServices(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetCustomServices(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.CustomService) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetCustomServices
            Return MyBase.Channel.EndGetCustomServices(result)
        End Function
        
        Private Function OnBeginGetCustomServices(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginGetCustomServices(callback, asyncState)
        End Function
        
        Private Function OnEndGetCustomServices(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.CustomService) = Me.EndGetCustomServices(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetCustomServicesCompleted(ByVal state As Object)
            If (Not (Me.GetCustomServicesCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetCustomServicesCompleted(Me, New GetCustomServicesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetCustomServicesAsync()
            Me.GetCustomServicesAsync(Nothing)
        End Sub
        
        Public Overloads Sub GetCustomServicesAsync(ByVal userState As Object)
            If (Me.onBeginGetCustomServicesDelegate Is Nothing) Then
                Me.onBeginGetCustomServicesDelegate = AddressOf Me.OnBeginGetCustomServices
            End If
            If (Me.onEndGetCustomServicesDelegate Is Nothing) Then
                Me.onEndGetCustomServicesDelegate = AddressOf Me.OnEndGetCustomServices
            End If
            If (Me.onGetCustomServicesCompletedDelegate Is Nothing) Then
                Me.onGetCustomServicesCompletedDelegate = AddressOf Me.OnGetCustomServicesCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetCustomServicesDelegate, Nothing, Me.onEndGetCustomServicesDelegate, Me.onGetCustomServicesCompletedDelegate, userState)
        End Sub
        
        Public Function GetCustomServiceStatus(ByVal customService As String) As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus) Implements GPSConnectorService.IGPSConnectorStatusService.GetCustomServiceStatus
            Return MyBase.Channel.GetCustomServiceStatus(customService)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetCustomServiceStatus(ByVal customService As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetCustomServiceStatus
            Return MyBase.Channel.BeginGetCustomServiceStatus(customService, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetCustomServiceStatus(ByVal result As System.IAsyncResult) As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus) Implements GPSConnectorService.IGPSConnectorStatusService.EndGetCustomServiceStatus
            Return MyBase.Channel.EndGetCustomServiceStatus(result)
        End Function
        
        Private Function OnBeginGetCustomServiceStatus(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim customService As String = CType(inValues(0),String)
            Return Me.BeginGetCustomServiceStatus(customService, callback, asyncState)
        End Function
        
        Private Function OnEndGetCustomServiceStatus(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As System.Collections.Generic.List(Of GPSConnector.Common.CustomServiceStatus) = Me.EndGetCustomServiceStatus(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetCustomServiceStatusCompleted(ByVal state As Object)
            If (Not (Me.GetCustomServiceStatusCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetCustomServiceStatusCompleted(Me, New GetCustomServiceStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetCustomServiceStatusAsync(ByVal customService As String)
            Me.GetCustomServiceStatusAsync(customService, Nothing)
        End Sub
        
        Public Overloads Sub GetCustomServiceStatusAsync(ByVal customService As String, ByVal userState As Object)
            If (Me.onBeginGetCustomServiceStatusDelegate Is Nothing) Then
                Me.onBeginGetCustomServiceStatusDelegate = AddressOf Me.OnBeginGetCustomServiceStatus
            End If
            If (Me.onEndGetCustomServiceStatusDelegate Is Nothing) Then
                Me.onEndGetCustomServiceStatusDelegate = AddressOf Me.OnEndGetCustomServiceStatus
            End If
            If (Me.onGetCustomServiceStatusCompletedDelegate Is Nothing) Then
                Me.onGetCustomServiceStatusCompletedDelegate = AddressOf Me.OnGetCustomServiceStatusCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetCustomServiceStatusDelegate, New Object() {customService}, Me.onEndGetCustomServiceStatusDelegate, Me.onGetCustomServiceStatusCompletedDelegate, userState)
        End Sub
        
        Public Function Subscribe(ByVal onwerkey As String) As Boolean Implements GPSConnectorService.IGPSConnectorStatusService.Subscribe
            Return MyBase.Channel.Subscribe(onwerkey)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginSubscribe(ByVal onwerkey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginSubscribe
            Return MyBase.Channel.BeginSubscribe(onwerkey, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndSubscribe(ByVal result As System.IAsyncResult) As Boolean Implements GPSConnectorService.IGPSConnectorStatusService.EndSubscribe
            Return MyBase.Channel.EndSubscribe(result)
        End Function
        
        Private Function OnBeginSubscribe(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim onwerkey As String = CType(inValues(0),String)
            Return Me.BeginSubscribe(onwerkey, callback, asyncState)
        End Function
        
        Private Function OnEndSubscribe(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndSubscribe(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnSubscribeCompleted(ByVal state As Object)
            If (Not (Me.SubscribeCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent SubscribeCompleted(Me, New SubscribeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub SubscribeAsync(ByVal onwerkey As String)
            Me.SubscribeAsync(onwerkey, Nothing)
        End Sub
        
        Public Overloads Sub SubscribeAsync(ByVal onwerkey As String, ByVal userState As Object)
            If (Me.onBeginSubscribeDelegate Is Nothing) Then
                Me.onBeginSubscribeDelegate = AddressOf Me.OnBeginSubscribe
            End If
            If (Me.onEndSubscribeDelegate Is Nothing) Then
                Me.onEndSubscribeDelegate = AddressOf Me.OnEndSubscribe
            End If
            If (Me.onSubscribeCompletedDelegate Is Nothing) Then
                Me.onSubscribeCompletedDelegate = AddressOf Me.OnSubscribeCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginSubscribeDelegate, New Object() {onwerkey}, Me.onEndSubscribeDelegate, Me.onSubscribeCompletedDelegate, userState)
        End Sub
        
        Public Function Unsubscribe() As Boolean Implements GPSConnectorService.IGPSConnectorStatusService.Unsubscribe
            Return MyBase.Channel.Unsubscribe
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginUnsubscribe(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginUnsubscribe
            Return MyBase.Channel.BeginUnsubscribe(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndUnsubscribe(ByVal result As System.IAsyncResult) As Boolean Implements GPSConnectorService.IGPSConnectorStatusService.EndUnsubscribe
            Return MyBase.Channel.EndUnsubscribe(result)
        End Function
        
        Private Function OnBeginUnsubscribe(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginUnsubscribe(callback, asyncState)
        End Function
        
        Private Function OnEndUnsubscribe(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Boolean = Me.EndUnsubscribe(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnUnsubscribeCompleted(ByVal state As Object)
            If (Not (Me.UnsubscribeCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent UnsubscribeCompleted(Me, New UnsubscribeCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub UnsubscribeAsync()
            Me.UnsubscribeAsync(Nothing)
        End Sub
        
        Public Overloads Sub UnsubscribeAsync(ByVal userState As Object)
            If (Me.onBeginUnsubscribeDelegate Is Nothing) Then
                Me.onBeginUnsubscribeDelegate = AddressOf Me.OnBeginUnsubscribe
            End If
            If (Me.onEndUnsubscribeDelegate Is Nothing) Then
                Me.onEndUnsubscribeDelegate = AddressOf Me.OnEndUnsubscribe
            End If
            If (Me.onUnsubscribeCompletedDelegate Is Nothing) Then
                Me.onUnsubscribeCompletedDelegate = AddressOf Me.OnUnsubscribeCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginUnsubscribeDelegate, Nothing, Me.onEndUnsubscribeDelegate, Me.onUnsubscribeCompletedDelegate, userState)
        End Sub
        
        Public Function GetOwnerInfo(ByVal ownerKey As String) As GPSConnector.Common.Owner Implements GPSConnectorService.IGPSConnectorStatusService.GetOwnerInfo
            Return MyBase.Channel.GetOwnerInfo(ownerKey)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginGetOwnerInfo(ByVal ownerKey As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginGetOwnerInfo
            Return MyBase.Channel.BeginGetOwnerInfo(ownerKey, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndGetOwnerInfo(ByVal result As System.IAsyncResult) As GPSConnector.Common.Owner Implements GPSConnectorService.IGPSConnectorStatusService.EndGetOwnerInfo
            Return MyBase.Channel.EndGetOwnerInfo(result)
        End Function
        
        Private Function OnBeginGetOwnerInfo(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ownerKey As String = CType(inValues(0),String)
            Return Me.BeginGetOwnerInfo(ownerKey, callback, asyncState)
        End Function
        
        Private Function OnEndGetOwnerInfo(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As GPSConnector.Common.Owner = Me.EndGetOwnerInfo(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnGetOwnerInfoCompleted(ByVal state As Object)
            If (Not (Me.GetOwnerInfoCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent GetOwnerInfoCompleted(Me, New GetOwnerInfoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub GetOwnerInfoAsync(ByVal ownerKey As String)
            Me.GetOwnerInfoAsync(ownerKey, Nothing)
        End Sub
        
        Public Overloads Sub GetOwnerInfoAsync(ByVal ownerKey As String, ByVal userState As Object)
            If (Me.onBeginGetOwnerInfoDelegate Is Nothing) Then
                Me.onBeginGetOwnerInfoDelegate = AddressOf Me.OnBeginGetOwnerInfo
            End If
            If (Me.onEndGetOwnerInfoDelegate Is Nothing) Then
                Me.onEndGetOwnerInfoDelegate = AddressOf Me.OnEndGetOwnerInfo
            End If
            If (Me.onGetOwnerInfoCompletedDelegate Is Nothing) Then
                Me.onGetOwnerInfoCompletedDelegate = AddressOf Me.OnGetOwnerInfoCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginGetOwnerInfoDelegate, New Object() {ownerKey}, Me.onEndGetOwnerInfoDelegate, Me.onGetOwnerInfoCompletedDelegate, userState)
        End Sub
        
        Public Function Calculate(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date) As GPSConnectorService.CalculationResult Implements GPSConnectorService.IGPSConnectorStatusService.Calculate
            Return MyBase.Channel.Calculate(ownerKey, distributorId, dataDate)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginCalculate(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginCalculate
            Return MyBase.Channel.BeginCalculate(ownerKey, distributorId, dataDate, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function EndCalculate(ByVal result As System.IAsyncResult) As GPSConnectorService.CalculationResult Implements GPSConnectorService.IGPSConnectorStatusService.EndCalculate
            Return MyBase.Channel.EndCalculate(result)
        End Function
        
        Private Function OnBeginCalculate(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim ownerKey As String = CType(inValues(0),String)
            Dim distributorId As Integer = CType(inValues(1),Integer)
            Dim dataDate As Date = CType(inValues(2),Date)
            Return Me.BeginCalculate(ownerKey, distributorId, dataDate, callback, asyncState)
        End Function
        
        Private Function OnEndCalculate(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As GPSConnectorService.CalculationResult = Me.EndCalculate(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnCalculateCompleted(ByVal state As Object)
            If (Not (Me.CalculateCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent CalculateCompleted(Me, New CalculateCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub CalculateAsync(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date)
            Me.CalculateAsync(ownerKey, distributorId, dataDate, Nothing)
        End Sub
        
        Public Overloads Sub CalculateAsync(ByVal ownerKey As String, ByVal distributorId As Integer, ByVal dataDate As Date, ByVal userState As Object)
            If (Me.onBeginCalculateDelegate Is Nothing) Then
                Me.onBeginCalculateDelegate = AddressOf Me.OnBeginCalculate
            End If
            If (Me.onEndCalculateDelegate Is Nothing) Then
                Me.onEndCalculateDelegate = AddressOf Me.OnEndCalculate
            End If
            If (Me.onCalculateCompletedDelegate Is Nothing) Then
                Me.onCalculateCompletedDelegate = AddressOf Me.OnCalculateCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginCalculateDelegate, New Object() {ownerKey, distributorId, dataDate}, Me.onEndCalculateDelegate, Me.onCalculateCompletedDelegate, userState)
        End Sub
        
        Public Sub HeartBeatTest() Implements GPSConnectorService.IGPSConnectorStatusService.HeartBeatTest
            MyBase.Channel.HeartBeatTest
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Function BeginHeartBeatTest(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements GPSConnectorService.IGPSConnectorStatusService.BeginHeartBeatTest
            Return MyBase.Channel.BeginHeartBeatTest(callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Public Sub EndHeartBeatTest(ByVal result As System.IAsyncResult) Implements GPSConnectorService.IGPSConnectorStatusService.EndHeartBeatTest
            MyBase.Channel.EndHeartBeatTest(result)
        End Sub
        
        Private Function OnBeginHeartBeatTest(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginHeartBeatTest(callback, asyncState)
        End Function
        
        Private Function OnEndHeartBeatTest(ByVal result As System.IAsyncResult) As Object()
            Me.EndHeartBeatTest(result)
            Return Nothing
        End Function
        
        Private Sub OnHeartBeatTestCompleted(ByVal state As Object)
            If (Not (Me.HeartBeatTestCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent HeartBeatTestCompleted(Me, New System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub HeartBeatTestAsync()
            Me.HeartBeatTestAsync(Nothing)
        End Sub
        
        Public Overloads Sub HeartBeatTestAsync(ByVal userState As Object)
            If (Me.onBeginHeartBeatTestDelegate Is Nothing) Then
                Me.onBeginHeartBeatTestDelegate = AddressOf Me.OnBeginHeartBeatTest
            End If
            If (Me.onEndHeartBeatTestDelegate Is Nothing) Then
                Me.onEndHeartBeatTestDelegate = AddressOf Me.OnEndHeartBeatTest
            End If
            If (Me.onHeartBeatTestCompletedDelegate Is Nothing) Then
                Me.onHeartBeatTestCompletedDelegate = AddressOf Me.OnHeartBeatTestCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginHeartBeatTestDelegate, Nothing, Me.onEndHeartBeatTestDelegate, Me.onHeartBeatTestCompletedDelegate, userState)
        End Sub
    End Class
End Namespace
