private void ReadCycleFunc() { _logger.Log("Запуск циклического опроса телеметрии"); Cancel = false; _readingInProgress = true; ReadCycleCmd.RaiseCanExecuteChanged(); StopReadCycleCmd.RaiseCanExecuteChanged(); }
private void StopReadingFunc() { Cancel = true; _readingInProgress = false; _logger.Log("Взведен внутренний флаг прерывания циклического опроса"); ReadCycleCmd.RaiseCanExecuteChanged(); StopReadCycleCmd.RaiseCanExecuteChanged(); }