Пример #1
0
        public void UpdateReal(double time)
        {
            try
            {
                //Debug.WriteLine(time.ToString("f9"));
                if (cVar != null)
                {
                    ListPT.Add(time, cVar.GetDoubleDataValue());
                }
                else
                {
                    ListPT.Add(time, 0);
                }

                while (ListPT.Count > iSec)
                {
                    ListPT.RemoveAt(0);
                }
            }
            catch (Exception ex)
            { }
        }