示例#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();
 }
示例#2
0
 public Clock(DateTime startTime)
 {
     ClockTime      = new ClockTimeEventArgs();
     ClockTime.Time = startTime;
 }