Example #1
0
 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);
 }
Example #2
0
        public new void SetValuesFromProject(BMPTrainsProject p, Catchment c)
        {
            this.WatershedArea    = c.PostArea;
            this.ContributingArea = c.PostArea;

            base.SetValuesFromProject(p, c);
        }
Example #3
0
        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;
        }
Example #4
0
        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;
        }
Example #5
0
        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;
            }
        }
Example #6
0
 private void OpenBMP(string bmpType)
 {
     BMPTrainsProject.OpenSelectedBMPForm(bmpType, currentCatchmentID);
 }