Example #1
0
 private static void currentVTRStateChangedHandler(VTR vtr, VTRState newState)
 {
     if ((newState == VTRState.ManuallyStopped) || (newState == VTRState.ManuallyStopped) || (newState == VTRState.Failure))
     {
         currentVTR.StateChanged -= currentVTRStateChangedHandler;
         startNextVTR();
     }
 }
Example #2
0
 private static void getNextUsableVTR()
 {
     foreach (VTR vtr in Program.VTRs)
     {
         if (vtr.UseInNextBatch || (vtr.State == VTRState.Reset))
         {
             currentVTR = vtr;
             return;
         }
     }
     currentVTR = null;
 }
Example #3
0
 private static void vtrUseInNextBatchChanged(VTR vtr, bool newValue)
 {
     calculateGlobalState();
 }
Example #4
0
 private static void vtrStateChangedHandler(VTR vtr, VTRState newState)
 {
     calculateGlobalState();
 }