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); }
public RpmView() { InitializeComponent(); DataContext = new RpmViewModel(); }
public RpmView() { InitializeComponent(); DataContext = new RpmViewModel(); }