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

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