public GpsMap() { _gpsQueue = new BlobQueue("gpsmessages", ConfigurationManager.AppSettings["BlobStorageConnectionString"], this, this); _gpsQueue.Initialize(); Refresh(); }
public GpsTrackingController() { if (_gpsQueue == null) { _gpsQueue = new BlobQueue("gpsmessages", ConfigurationManager.AppSettings["BlobStorageConnectionString"], this, this); _gpsQueue.Initialize(); } }
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(); }