示例#1
0
 private void PostVehicleMessage(VehicleServiceStatus status)
 {
     if (VehicleEventHandler != null)
     {
         VehicleEventHandler.Invoke(this, new VehicleServiceEventArgs()
         {
             Status                  = status,
             Longitude               = _navigationService.Longitude,
             Latitude                = _navigationService.Latitude,
             CurrentSpeedMPH         = _navigationService.CurrentSpeed,
             IntersectionDescription = _navigationService.WaypointDescription,
             IntersectionId          = _navigationService.WayPointId,
             DistanceToIntersection  = _navigationService.DistanceToWaypoint,
             IsWiFiSPATData          = _isUsingWiFiSPATData,
         });
     }
 }