Beispiel #1
0
 /// <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);
 }
Beispiel #2
0
 /// <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);
     }
 }
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
 /// <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);
     }
 }