コード例 #1
0
ファイル: Twister.cs プロジェクト: RobAmos/osla
 public override void RegisterEventsWithProtocolManager(ProtocolEventCaller PEC)
 {
     PEC.onProtocolPause += new ProtocolPauseEventHandler(PM_onProtocolPause);
      base.RegisterEventsWithProtocolManager(PEC);
 }
コード例 #2
0
ファイル: BaseInstrumentClass.cs プロジェクト: RobAmos/osla
 /// <summary>
 /// Some instruments might want to know when the engine that runs the protocol execution
 /// has a certain event.  In particular, for long shutdowns the instrument might want to power 
 /// itself down and then restart later.  This allows instruments to register for events with 
 /// this type of information.
 /// </summary>
 /// <param name="PEC"></param>
 public virtual void RegisterEventsWithProtocolManager(ProtocolEventCaller PEC)
 {
 }