Beispiel #1
0
 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);
 }
Beispiel #2
0
 public CInjectorSettings(CSettings settings) : base(settings)
 {
 }
Beispiel #3
0
 public CInjectorFirstSettings(CSettings settings)
 {
     _settings = settings;
 }