void dataItem_DataValueAdded(object sender, ClientDataValueAddedEventArgs e)
        {
            ClientDataValueAddedEventArgs <double> ev = (ClientDataValueAddedEventArgs <double>)e;

            OnValueReceived(ev.GenericValue, ev.Time.ts);
        }
 void source_DataValueAdded(object sender, ClientDataValueAddedEventArgs e)
 {
     buffer.OnItemReceived((T)e.Value);
 }
        void dataItem_DataValueAdded(object sender, ClientDataValueAddedEventArgs e)
        {
            ClientDataValueAddedEventArgs <T> ev = (ClientDataValueAddedEventArgs <T>)e;

            OnValueReceived(Convert.ToDouble(ev.GenericValue), ev.Time.ts);
        }