public CInjectorControl() { if (SerialPort.GetPortNames().Length > 0) { _connection_port = SerialPort.GetPortNames()[0]; } _connection_baudrate = 115200; _settings = new CSettings(this); _timer_settings_reload = new DispatcherTimer(new TimeSpan(0, 0, 0, 0, 500), DispatcherPriority.ApplicationIdle, (sender, e) => { RequestSettingsFromController(); }, Dispatcher.CurrentDispatcher); }
public CInjectorSettings(CSettings settings) : base(settings) { }
public CInjectorFirstSettings(CSettings settings) { _settings = settings; }