private void HaptiQ_PressureInput(object sender, PressureInputArgs args) { if (PressureInput != null) { PressureInput(this, args); } }
/// <summary> /// This method raises a PressureInputEventHandler event. /// </summary> /// <param name="actuatorId"></param> /// <param name="pressureValue"></param> private void OnPressureInput(int actuatorId, int pressureValue) { if (PressureInput != null) { PressureInputArgs args = new PressureInputArgs(_id, actuatorId, pressureValue); PressureInput(this, args); } }