public bool Equals(UnitItem a)
 {
     return((a.Units == this.Units) && (a.Type == this.Type));
 }