Пример #1
0
 void MyLastSeatSumTime_TimeTo(object sender, EventArgs e)
 {
     MyLastSeatSumTime.TimeStop();
     _LastSeatCount = TerminalOperatorService.LastSeatCount(ClientObject.ClientSetting.DeviceSetting.Rooms);
     OnPropertyChanged("LastSeat");
     MyLastSeatSumTime.TimeStrat();
 }
Пример #2
0
 public void LastSeatRun()
 {
     _LastSeatCount = TerminalOperatorService.LastSeatCount(ClientObject.ClientSetting.DeviceSetting.Rooms);
     OnPropertyChanged("LastSeat");
     MyLastSeatSumTime         = new TimeLoop(30 * 1000);
     MyLastSeatSumTime.TimeTo += MyLastSeatSumTime_TimeTo;
     MyLastSeatSum             = new Thread(timeDateTimeShow.TimeStrat);
     MyLastSeatSum.Start();
 }