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