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

                return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #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);
            }
        }
예제 #3
0
 public ValueWork(Pollution pollution, SelectionWell selectionWell)
 {
     this._pollution     = pollution;
     this._selectionWell = selectionWell;
 }