public bool Add(Pollution pollution)
 {
     if (PollutionID == pollution.ID)
     {
         Pollution = pollution;
         return true;
     }
     else
     { return false; }
 }
Example #2
0
        public bool Add(Pollution pollution)
        {
            if (this.PollutionID == pollution.ID)
            {
                this.Pollution = pollution;

                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #3
0
 public ValueWork(Pollution pollution, SelectionWell selectionWell)
 {
     this._pollution     = pollution;
     this._selectionWell = selectionWell;
 }