/// <summary>
        /// Send an aggregate event to the Jetstream Device Webserver
        /// </summary>
        /// <param name="request">The AggregateEvent request</param>
        public void SendAggregateEvent(AE.Jetstream request)
        {
            if (request == null)
            {
                throw new ArgumentNullException("request");
            }

            String message = ChangeDatesToUTC(MessageHelper.SerializeObject(typeof(AE.Jetstream), request), new String[] { "EventTime" }, "http://Jetstream.TersoSolutions.com/v1.0/Device/AggregateEvent");

            SendMessageToJetStream(message);
        }
 /// <summary>
 /// IAsyncResult pattern to async send the AggregateEvent
 /// </summary>
 /// <param name="request"></param>
 /// <param name="callback"></param>
 /// <param name="state"></param>
 /// <returns></returns>
 public IAsyncResult BeginSendAggregateEvent(AE.Jetstream request, AsyncCallback callback, Object state)
 {
     _sendAggregateEventAsync = new SendAggregateEventAsync(SendAggregateEvent);
     return(_sendAggregateEventAsync.BeginInvoke(request, callback, state));
 }