Ejemplo n.º 1
0
 private void InitCashin()
 {
     if (StationRepository.TurnOffCashInInit)
     {
         return;
     }
     while (!StationSettings.IsCashinOk)
     {
         Thread.Sleep(100);
     }
     StationSettings.SubscribeCashin(AsyncAddMoney);
     StationSettings.SubscribeLimitExceeded(LimitExceeded);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DepositMoneyViewModel"/> class.
 /// </summary>
 /// <remarks>
 /// </remarks>
 public DepositMoneyViewModel()
 {
     StationSettings.SubscribeCashin(DepositCashIn_CashIn);
     StationRepository.EnableCashIn();
 }