Exemple #1
0
 private void HaptiQ_ActuatorPositionChanged(object sender, ActuatorPositionArgs args)
 {
     if (ActuatorPositionChanged != null)
     {
         ActuatorPositionChanged(this, args);
     }
 }
Exemple #2
0
 /// <summary>
 /// This method raises an ActuatorPositionChanged event.
 /// </summary>
 /// <param name="actuatorId"></param>
 /// <param name="position"></param>
 private void OnActuatorPositionChanged(int actuatorId, double position)
 {
     if (ActuatorPositionChanged != null)
     {
         ActuatorPositionArgs args = new ActuatorPositionArgs(_id, actuatorId, position);
         ActuatorPositionChanged(this, args);
     }
 }