public MainViewModel() { AvailablePorts = SerialPort.GetPortNames().OrderBy(x => x).ToList(); SelectedComsPort = AvailablePorts.Last(); BaudRate = "19200"; AvailableDevices = new List <GSIOCDeviceInfo>(); }
public MainViewModel() { AvailablePorts = SerialPort.GetPortNames().OrderBy(x => x).ToList(); SelectedComsPort = AvailablePorts.Last(); BaudRate = "19200"; AvailableDevices = new List <GSIOCDeviceInfo>(); }