Esempio n. 1
0
        public override object Clone()
        {
            ItemValueCollection values = (ItemValueCollection)base.Clone();

            values.m_values = new ArrayList(this.m_values.Count);
            foreach (ItemValue value2 in this.m_values)
            {
                values.m_values.Add(value2.Clone());
            }
            return(values);
        }
Esempio n. 2
0
 public void AddRange(ItemValueCollection collection)
 {
     if (collection != null)
     {
         foreach (ItemValue value2 in collection)
         {
             if (value2 != null)
             {
                 this.m_values.Add(value2.Clone());
             }
         }
     }
 }
Esempio n. 3
0
 public ItemValueCollection(ItemValueCollection item) : base((Item)item)
 {
     this.m_startTime      = DateTime.MinValue;
     this.m_endTime        = DateTime.MinValue;
     this.m_values         = new ArrayList();
     this.m_resultID       = Opc.ResultID.S_OK;
     this.m_diagnosticInfo = null;
     this.m_values         = new ArrayList(item.m_values.Count);
     foreach (ItemValue value2 in item.m_values)
     {
         if (value2 != null)
         {
             this.m_values.Add(value2.Clone());
         }
     }
 }
Esempio n. 4
0
 public ModifiedValueCollection(ItemValueCollection item) : base(item)
 {
 }