Example #1
0
 public void AddEquipment(EquipmentModel pEquipment)
 {
     if (!EquipmentList.Contains(pEquipment))
     {
         EquipmentList.Add(pEquipment);
     }
 }
Example #2
0
        public override bool Equals(object obj)
        {
            EquipmentModel em = (EquipmentModel)obj;
            string         k  = EquAuthCode + EquModel + EquPower;
            string         k1 = em.EquAuthCode + em.EquModel + em.EquPower;

            return(k.Equals(k1));
        }