Exemple #1
0
 private void RegisterValues()
 {
     if (toggleEvent.HasValue)
     {
         flightConnector.RegisterToggleEvent(toggleEvent.Value);
     }
     if (displayValue.HasValue)
     {
         flightConnector.RegisterSimValue(displayValue.Value);
     }
     if (subDisplayValue.HasValue)
     {
         flightConnector.RegisterSimValue(subDisplayValue.Value);
     }
     if (displayValueBottom.HasValue)
     {
         flightConnector.RegisterSimValue(displayValueBottom.Value);
     }
     if (minValue.HasValue)
     {
         flightConnector.RegisterSimValue(minValue.Value);
     }
     if (maxValue.HasValue)
     {
         flightConnector.RegisterSimValue(maxValue.Value);
     }
 }
 private void RegisterValues()
 {
     if (toggleEvent.HasValue)
     {
         flightConnector.RegisterToggleEvent(toggleEvent.Value);
     }
     foreach (var feedbackVariable in feedbackVariables)
     {
         flightConnector.RegisterSimValue(feedbackVariable);
     }
     if (displayValue.HasValue)
     {
         flightConnector.RegisterSimValue(displayValue.Value);
     }
 }
 private void RegisterValues()
 {
     if (toggleEvent.HasValue)
     {
         flightConnector.RegisterToggleEvent(toggleEvent.Value);
     }
     if (feedbackValue.HasValue)
     {
         flightConnector.RegisterSimValue(feedbackValue.Value);
     }
     if (displayValue.HasValue)
     {
         flightConnector.RegisterSimValue(displayValue.Value);
     }
 }
 private void RegisterValues()
 {
     flightConnector.RegisterSimValue(bankValue);
     flightConnector.RegisterSimValue(pitchValue);
 }