Exemplo n.º 1
0
 /// <summary>
 /// Listener  to the Clock
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ClockTick(object sender, ClockTimeEventArgs e)
 {
     CurrnetTime      = e.Time;
     CurrentProcesses = ProcessesSchedule.BeginningOfTheTimeTick;
     //mainLogic();
     testLogic();
 }
Exemplo n.º 2
0
 public Clock(DateTime startTime)
 {
     ClockTime      = new ClockTimeEventArgs();
     ClockTime.Time = startTime;
 }