public SerialCarSignalSeed(IMessenger Messenger, ILog log, ICarSignalReceviedHandler carSignalReceviedHandler, IDataService dataService)
 {
     SensorParser       = new CarSignalParserV4();
     this.Messenger     = Messenger;
     this.SignalHandler = carSignalReceviedHandler;
     this.Logger        = log;
     Settings           = dataService.GetSettings();
 }
Esempio n. 2
0
 public BluetoothCarSignalSeed(IMessenger Messenger, ICarSignalReceviedHandler carSignalReceviedHandler, ILog log, IDataService dataService)
 {
     SensorParser            = new CarSignalParserV4();
     this.Messenger          = Messenger;
     this.SignalHandler      = carSignalReceviedHandler;
     this.Logger             = log;
     this.Settings           = dataService.GetSettings();
     DefaultBluetoothAddress = Settings.BluetoothName;
 }