private void HaptiQ_ActuatorPositionChanged(object sender, ActuatorPositionArgs args) { if (ActuatorPositionChanged != null) { ActuatorPositionChanged(this, args); } }
/// <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); } }