/// <summary>
 /// [Português]
 /// Construtor da classe PosturalEvaluationReport.
 /// <para></para>
 /// [English]
 /// PosturalEvaluationReport class constructor.
 /// </summary>
 /// <param name="pe"> PosturalEvaluation </param>
 /// <param name="ve"> ViewEvaluation </param>
 public PosturalEvaluationReport(PosturalEvaluation pe, ViewEvaluation ve)
 {
     PosturalEvaluation = pe;
     ViewEvaluation = ve;
     _angles = Analysis.CalculateAngles(ve.Points, ve.ViewType);
 }
示例#2
0
 /// <summary>
 /// [Português]
 /// Método que cria uma avaliação postural.
 /// <para></para>
 /// [English]
 /// Method that creates a postural assessment.
 /// </summary>
 private void CreatePosturalEvaluation()
 {
     _viewEvaluation = ViewEvaluationFactory.Create(_viewType);
     _viewEvaluation.OnAddPoint += new AddPointEventHandler<ViewEvaluation>((sender, isFull) =>
     {
         btnSaveEvaluation.Enabled = isFull;
         if (isFull)
         {
             if (radioAutomatica.Checked)
             {
                 lblMessage.Text = "Ajuste os pontos e salve a avaliação.";
             }
             else
             {
                 lblMessage.Text = "Limite de pontos atingido. Ajuste os pontos e salve a avaliação.";
             }
         }
     });
 }