private void CheckIdReaderStatus()
 {
     IsIdReaderFound = DeviceStatus.STATUS_UNKNOWN;
     CardReader.RequestReadID();
     IdReaderStatus = "Status:\r\nVerifying...";
     dispatcherTimerIdReader.Start();
 }
Пример #2
0
 public SystemInfoViewModel()
 {
     CashValidator.SetRequestInventory();
     CoinValidator.SetRequestInventory();
     CardReader.RequestReadID();
     dispatcherTimerCash.Tick        += new EventHandler(dispatcherTimerCash_Tick);
     dispatcherTimerCash.Interval     = new TimeSpan(0, 0, 0, 1, 500);
     dispatcherTimerCoin.Tick        += new EventHandler(dispatcherTimerCoin_Tick);
     dispatcherTimerCoin.Interval     = new TimeSpan(0, 0, 0, 1, 500);
     dispatcherTimerIdReader.Tick    += new EventHandler(dispatcherTimerIdReader_Tick);
     dispatcherTimerIdReader.Interval = new TimeSpan(0, 0, 0, 0, 740);
     dispatcherTimerCash.Start();
     dispatcherTimerCoin.Start();
     dispatcherTimerIdReader.Start();
     _driveTotalSize     = new string[2];
     _driveAvailableSize = new string[2];
     _driveName          = new string[2];
     BuildVersion        = GetBuildVersion();
 }
 private void CheckIdReaderStatus()
 {
     CardReader.RequestReadID();
     //IdReaderStatus = "Status:\r\nVerifying...";
     IdReaderStatus = String.Format(
         "{0}\r\n {1}",
         TranslationProvider.Translate(MultistringTags.TERMINAL_VERIFICATION_STATUS),
         TranslationProvider.Translate(MultistringTags.TERMINAL_VERIFICATION_VERIFYING)
         );
     dispatcherTimerIdReader.Start();
 }