public bool Add(SelectionWell selectionWell) { if (this.SelectionWellID == selectionWell.ID) { this.SelectionWell = selectionWell; return(true); } else { return(false); } }
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); } }
public ValueWork(Pollution pollution, SelectionWell selectionWell) { this._pollution = pollution; this._selectionWell = selectionWell; }