private void StopRandomData() { router.Stop(); router = null; }
private void StopSerialData() { router.Stop(); router = null; }
/* Stop*/ private void StopFileData() { router.Stop(); router = null; }
private void StartRandomData() { router = new AOURouter(TextToRandomSetting(dataSettings.Text)); TextButton.IsEnabled = true; XMLButton.IsEnabled = true; }
private void StartSerialData() { if (comboBoxStreaming.SelectedIndex == -1 || comboBoxStreaming.SelectedValue.ToString() == StreamRealDataStr) router = new AOURouter(TextToSerialSetting(dataSettings.Text), AOUSettings.DebugMode.rawData); else router = new AOURouter(TextToSerialSetting(dataSettings.Text), AOUSettings.DebugMode.noDebug); }
/* Start */ private void StartFileData() { router = new AOURouter(TextToFileSetting(dataSettings.Text)); }