/// <summary> /// This driver tell computer its status /// </summary> /// <param name="sender"> driver </param> /// <param name="e"> driver threshold </param> private void driver_ThresholdReached(object sender, Driver.ThresholdReachedEventArgs e) { // Threshold Reached notify computer InstrumentArgs args = new InstrumentArgs(); args.registerValue = e.Threshold; computer_OnThresholdReached(args); }
/// <summary> /// Client connected to computer will be notify of via this handler /// </summary> /// <param name="e"> Instrument Argument </param> protected virtual void computer_OnThresholdReached(InstrumentArgs e) { //InstrumentChanged = computerHandler; if (InstrumentChanged != null) { InstrumentChanged(this, e); } }
/// <summary> /// This driver tell computer its status /// </summary> /// <param name="sender"> driver </param> /// <param name="e"> driver threshold </param> private void driver_ThresholdReached(object sender, Driver.ThresholdReachedEventArgs e) { // Threshold Reached notify computer InstrumentArgs args = new InstrumentArgs(); args.registerValue = e.Threshold; computer_OnThresholdReached(args); }
/// <summary> /// Client connected to computer will be notify of via this handler /// </summary> /// <param name="e"> Instrument Argument </param> protected virtual void computer_OnThresholdReached(InstrumentArgs e) { //InstrumentChanged = computerHandler; if (InstrumentChanged != null) { InstrumentChanged(this, e); } }