Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationActivity.cs =================================================================== diff -u -r6ac5917aa7fd76c41f389c1f649b2449229925d8 -ra38c4e8a74a2110b70335a61abe451051f70528a --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationActivity.cs (.../StabilityPointStructuresCalculationActivity.cs) (revision 6ac5917aa7fd76c41f389c1f649b2449229925d8) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Service/StabilityPointStructuresCalculationActivity.cs (.../StabilityPointStructuresCalculationActivity.cs) (revision a38c4e8a74a2110b70335a61abe451051f70528a) @@ -79,19 +79,29 @@ calculationService = new StabilityPointStructuresCalculationService(); } - protected override void OnCancel() + protected override bool Validate() { - + return StabilityPointStructuresCalculationService.Validate(calculation, assessmentSection); } - protected override void OnFinish() + protected override void PerformCalculation() { - throw new NotImplementedException(); + calculation.ClearOutput(); + + calculationService.Calculate(calculation, + assessmentSection, + failureMechanism, + hlcdFilepath); } - protected override void PerformCalculation() + protected override void OnCancel() { - throw new NotImplementedException(); + calculationService.Cancel(); } + + protected override void OnFinish() + { + calculation.NotifyObservers(); + } } } \ No newline at end of file