Exemplo n.º 1
0
 private void DoScanCommand()
 {
     DprStrategyPatternMainWindow.ScanCommand();
     IsFifoButtonEnabled = true;
     IsSstfButtonEnabled = true;
     IsScanButtonEnabled = false;
 }
Exemplo n.º 2
0
 private void DoRunCommand()
 {
     DprStrategyPatternMainWindow.StartCommand();
     IsStartButtonEnabled         = false;
     IsStopButtonEnabled          = true;
     IsAddRequestsManuallyCommand = false;
     IsAddRandomCommandEnabled    = false;
 }
Exemplo n.º 3
0
 public void DoAddListCommand()
 {
     if (NewList == null)
     {
         MessageBox.Show("Add a list of requests.");
     }
     else
     {
         DprStrategyPatternMainWindow.SetNewManualList();
         IsStartButtonEnabled          = true;
         IsAddRequestsManuallyCommand  = true;
         IsAddRandomCommandEnabled     = true;
         AddRequestsManuallyVisibility = Visibility.Collapsed;
     }
 }
Exemplo n.º 4
0
 private void DoAddRandomCommand()
 {
     DprStrategyPatternMainWindow.SetNewRandomList();
 }