Example #1
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Items.Add(ip.GetChild() as ChartItem);
     }
 }
Example #2
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Snapshots.Add(ip.GetChild() as Snapshot);
     }
 }
Example #3
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Responses.Add(ip.GetChild() as ResponseInfo);
     }
 }
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Values.Add(ip.GetChild() as ItemValue);
     }
 }
Example #5
0
 public override void DeserializeChildren(PersistanceReader ip)
 {
     while (ip.HasChild)
     {
         m_Children.Add(ip.GetChild());
     }
 }
Example #6
0
        public override void DeserializeChildren(PersistanceReader ip)
        {
            while (ip.HasChild)
            {
                PersistableObject child = ip.GetChild();

                if (child is ReportColumn)
                {
                    m_Columns.Add((ReportColumn)child);
                }
                else if (child is ReportItem)
                {
                    m_Items.Add((ReportItem)child);
                }
            }
        }
        public override void DeserializeChildren(PersistanceReader ip)
        {
            DateTime min = DateTime.UtcNow - TimeSpan.FromDays(8.0);

            while (ip.HasChild)
            {
                PersistableObject obj = ip.GetChild();

                if (obj is PageInfo)
                {
                    PageInfo pageInfo = obj as PageInfo;

                    pageInfo.UpdateResolver();

                    if (pageInfo.TimeSent >= min || pageInfo.TimeResolved >= min)
                    {
                        m_Pages.Add(pageInfo);
                        pageInfo.History = this;
                    }
                    else
                    {
                        pageInfo.Sender   = null;
                        pageInfo.Resolver = null;
                    }
                }
                else if (obj is QueueStatus)
                {
                    QueueStatus queueStatus = obj as QueueStatus;

                    if (queueStatus.TimeStamp >= min)
                    {
                        m_QueueStats.Add(queueStatus);
                    }
                }
            }
        }