// The following functions are for when a feedback must be treated differently depending on its 'feedback' value public void feedbackEventDisplay_LookingDirection(InstantFeedback lookingFb) { switch (lookingFb.feedback) { case "Look to the left": feedbackDisplay_LookLeft(); break; case "Look to the center": feedbackDisplay_LookCenter(); break; case "Look to the right": feedbackDisplay_LookRight(); break; default: break; } }
/// <summary> /// Set or Unset Agitation's Icon function /// Call by an Event /// </summary> /// <param name="sender"></param> /// <param name="f"></param> private void iconAgitation(object sender, InstantFeedback f) { AgitationOpacity = minOpacity; }