private static int GetTotalScore(FunctionalMovementScreen functionalMovementScreen) { return(functionalMovementScreen.ActiveStraightLegRaise.Score + functionalMovementScreen.DeepSquat.Score + functionalMovementScreen.HurdleStep.Score + functionalMovementScreen.InlineLunge.Score + functionalMovementScreen.RotaryStability.Score + functionalMovementScreen.ShoulderMobility.Score + functionalMovementScreen.TrunkStabilityPushup.Score); }
public FunctionalMovementScreenClassificationResult( FunctionalMovementScreen functionalMovementScreen) { if (functionalMovementScreen == null) { throw new ArgumentNullException(nameof(functionalMovementScreen)); } DeepSquat = ClassifyMovement(functionalMovementScreen.DeepSquat); HurdleStep = ClassifyMovement(functionalMovementScreen.HurdleStep); ShoulderMobility = ClassifyMovement(functionalMovementScreen.ShoulderMobility); InlineLunge = ClassifyMovement(functionalMovementScreen.InlineLunge); ActiveStraightLegRaise = ClassifyMovement(functionalMovementScreen.ActiveStraightLegRaise); TrunkStabilityPushup = ClassifyMovement(functionalMovementScreen.TrunkStabilityPushup); RotaryStability = ClassifyMovement(functionalMovementScreen.RotaryStability); Score = GetTotalScore(functionalMovementScreen); }
public FunctionalMovementScreenClassification(FunctionalMovementScreen fms) { _fms = fms ?? throw new ArgumentNullException(nameof(fms)); }