public new void SetValuesFromProject(BMPTrainsProject p, Catchment c) { this.HarvestEfficiency = c.RequiredNTreatmentEfficiency; this.ContributingArea = c.PostArea; // acres this.WatershedArea = c.PostArea - c.BMPArea; base.SetValuesFromProject(p, c); }
public new void SetValuesFromProject(BMPTrainsProject p, Catchment c) { this.WatershedArea = c.PostArea; this.ContributingArea = c.PostArea; base.SetValuesFromProject(p, c); }
public void SetValuesFromProject(BMPTrainsProject p, Catchment c) { // Watershed Area is calculated in classes that inherit from Storage SetValuesFromCatchment(c); this.RequiredNTreatmentEfficiency = p.RequiredNTreatmentEfficiency; this.RequiredPTreatmentEfficiency = p.RequiredPTreatmentEfficiency; this.AnalysisType = p.AnalysisType; }
public new void SetValuesFromProject(BMPTrainsProject p, Catchment c) { // Do not update Contributing Area (use temp as done in base) double ca = ContributingArea; this.HarvestEfficiency = c.RequiredNTreatmentEfficiency; base.SetValuesFromProject(p, c); ContributingArea = ca; }
private void DisplayCatchmentConfigurationsCombo() { cbOptions.DataSource = new BindingSource(BMPTrainsProject.CatchmentConfigurations(), null); cbOptions.DisplayMember = "Value"; cbOptions.ValueMember = "Key"; if ((Globals.Project.CatchmentConfiguration != "") || (Globals.Project.CatchmentConfiguration != null)) { cbOptions.SelectedValue = Globals.Project.CatchmentConfiguration; } }
private void OpenBMP(string bmpType) { BMPTrainsProject.OpenSelectedBMPForm(bmpType, currentCatchmentID); }