Example #1
0
        public bool Add(SelectionWell selectionWell)
        {
            if (this.SelectionWellID == selectionWell.ID)
            {
                this.SelectionWell = selectionWell;

                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
        public bool Add(SelectionWell selectionWell)
        {
            if (selectionWell.SampleID == this.ID)
            {
                if (this._selectionWell.ContainsKey(selectionWell.ID))
                {
                    this._selectionWell[selectionWell.ID] = selectionWell;
                }
                else
                {
                    this._selectionWell.Add(selectionWell.ID, selectionWell);
                }

                selectionWell.Add(this);

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