Exemple #1
0
        public GpsMap()
        {
            _gpsQueue = new BlobQueue("gpsmessages", ConfigurationManager.AppSettings["BlobStorageConnectionString"], this, this);
            _gpsQueue.Initialize();

            Refresh();
        }
Exemple #2
0
 public GpsTrackingController()
 {
     if (_gpsQueue == null)
     {
         _gpsQueue = new BlobQueue("gpsmessages", ConfigurationManager.AppSettings["BlobStorageConnectionString"], this, this);
         _gpsQueue.Initialize();
     }
 }
Exemple #3
0
        public void Initialize()
        {
            Terminated = false;

            _gpsQueue = new BlobQueue("gpsmessages", blobConnectionString, this, this);
            _gpsQueue.Initialize();

            _iotHubReceiver = new Receiver(hubConnectionString, this);

            _iotHubReceiver.Initialize(this);

            BlobTable <SmartDevice> .Initialize(blobConnectionString);

            _gpsDevices = BlobTable <SmartDevice> .GetAllItems();
        }