public InfoObdViewModel()
        {
            RpmCommand   = new RpmViewModel();
            SpeedCommand = new SpeedViewModel();
            CoolantTemperatureCommand   = new CoolantTemperatureViewModel();
            EngineOilTemperatureCommand = new EngineOilTemperatureViewModel();
            CalculatedEngineLoadCommand = new CalculatedEngineLoadViewModel();
            FuelTankLevelCommand        = new FuelTankLevelViewModel();
            MafAirFlowRateCommand       = new MafAirFlowRateViewModel();
            GearCommand = new CalculatedViewModel();
            CurrentConsumptionCommand = new CalculatedViewModel();

            ConnectToObdCommand = new Command(ConnectToObdCommandExecute);
        }
Ejemplo n.º 2
0
 public RpmView()
 {
     InitializeComponent();
     DataContext = new RpmViewModel();
 }
Ejemplo n.º 3
0
 public RpmView()
 {
     InitializeComponent();
     DataContext = new RpmViewModel();
 }