Example #1
0
 public IphoneViewModel(IBluetoothService bluetoothService, ISensorDataService sensorDataService, IUserDialogs userDialogs, IDataLoggingService dataLoggingService, IDeviceSlotService deviceSlotService, IMvxLog log)
     : base(bluetoothService, sensorDataService, userDialogs, dataLoggingService, deviceSlotService, log)
 {
     BluetoothViewModel         = new BluetoothViewModel(bluetoothService, deviceSlotService, userDialogs, log);
     VitalSignsMonitorViewModel = new VitalSignsMonitorViewModel(bluetoothService, sensorDataService, deviceSlotService, userDialogs, log);
     //_dataLoggingService.Open();
 }
Example #2
0
 // Main View Model that connects the subviews
 public MainViewModel(IBluetoothService bluetoothService, ISensorDataService sensorDataService, IUserDialogs userDialogs, IDataLoggingService dataLoggingService, IDeviceSlotService deviceSlotService, IMvxLog log)
     : base(bluetoothService, sensorDataService, userDialogs, dataLoggingService, deviceSlotService, log)
 {
     BluetoothViewModel         = new BluetoothViewModel(bluetoothService, deviceSlotService, userDialogs, log);
     DownloadViewModel          = new DownloadViewModel(bluetoothService, deviceSlotService, dataLoggingService, userDialogs, log);
     VitalSignsMonitorViewModel = new VitalSignsMonitorViewModel(bluetoothService, sensorDataService, deviceSlotService, userDialogs, log);
 }