예제 #1
0
        public static void EnqueueSOSPositionLive(GeoTag LiveGeoLocation)
        {
            if (!thisClass.IsSOSQueueLoaded)
            {
                thisClass.LoadSOSQueue();
            }

            CloudQueueMessage message = new CloudQueueMessage(ByteArraySerializer <GeoTag> .Serialize(LiveGeoLocation));

            if (thisClass.IsSOSQueueLoaded)
            {
                thisClass.SOSQueue.AddMessage(message);
            }
        }
예제 #2
0
        public static void EnqueueSanityMessage(GeoTag SanityMessage)
        {
            if (!thisClass.IsSanityQueueLoaded)
            {
                thisClass.LoadSanityQueue();
            }

            CloudQueueMessage message = new CloudQueueMessage(ByteArraySerializer <GeoTag> .Serialize(SanityMessage));

            if (thisClass.IsSanityQueueLoaded)
            {
                thisClass.SanityQueue.AddMessage(message);
            }
        }
예제 #3
0
        public static void EnqueueLocationHistory(GeoTag HistoryGeoLocation)
        {
            if (!thisClass.IsHistoryGeoLocationLoaded)
            {
                thisClass.LoadHistoryGeoLocationQueue();
            }


            CloudQueueMessage message = new CloudQueueMessage(ByteArraySerializer <GeoTag> .Serialize(HistoryGeoLocation));

            if (thisClass.IsHistoryGeoLocationLoaded)
            {
                thisClass.HistoryGeoLocationQueue.AddMessage(message);
            }
        }