Exemple #1
0
        private void StartRepl()
        {
            MenuState = 1;
            CFCCApi FCCApi = new CFCCApi();

            FCCApi.StartReplenishmentAsync(StartReplenishmentRes);
        }
 private void btnRepl_Click(object sender, RoutedEventArgs e)
 {
     if (State == State_normal)
     {
         AddSumm           = 0;
         AddSummCoin       = 0;
         AddSummBill       = 0;
         btnRepl.IsEnabled = false;
         FCCApi.StartReplenishmentAsync(StartReplenishmentRes);
     }
     else if (State == State_replenishInProcess)
     {
         ShowProcessMessage("Считаю размен...");
         btnRepl.IsEnabled = false;
         FCCApi.EndReplenishment(EndReplenishmentRes);
     }
 }