Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/DEROPAPY' into DEROPAPY
Browse files Browse the repository at this point in the history
# Conflicts:
#	Prototypes/DEROPAPY/CropCoeffs.xlsx
#	Prototypes/DEROPAPY/Deropapy.apsimx
  • Loading branch information
HamishBrownPFR committed Dec 15, 2023
2 parents 3b5b1b5 + 79c5067 commit 1bc6b2d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Models/Management/BiomassRemovalEvents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,18 @@ private void OnPhenologyDefoliate(object sender, BiomassRemovalEventArgs e)
}
}

[EventSubscribe("PhenologyPrune")]
private void OnPhenologyPrune(object sender, EventArgs e)
{
Remove();
}

[EventSubscribe("PhenologyHarvest")]
private void OnPhenologyHarvest(object sender, EventArgs e)
{
Remove();
}

private void LinkCrop()
{
if (this.Parent == null)
Expand Down

0 comments on commit 1bc6b2d

Please sign in to comment.