private void StartSessionCommandImpl() { ConsoleService.IsCaretVisible = true; ConsoleService.IsEnabled = true; ConsoleService.Clear(); WriteHeaderToScreen(); SerialPortService.DataReceived += SerialPortService_DataReceived; SerialPortService.Open(); StartBackgroundTask(); IsRunning = true; if (Started != null) { Started(this, new EventArgs()); } }