void MyLastSeatSumTime_TimeTo(object sender, EventArgs e) { MyLastSeatSumTime.TimeStop(); _LastSeatCount = TerminalOperatorService.LastSeatCount(ClientObject.ClientSetting.DeviceSetting.Rooms); OnPropertyChanged("LastSeat"); MyLastSeatSumTime.TimeStrat(); }
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(); }