public LocationProfileViewModel(ILEDBoxService boxService, IRegionManager regionManager) { _LEDBoxService = boxService; _regionManager = regionManager; BoxGroups = new ObservableCollection<BoxGroupViewModel>(); BoxGroupsToolItem = new ObservableCollection<BoxGroupToolItemViewModel>(); PopulateBoxGroups(); SaveConfigurationCommand = new DelegateCommand(SaveConfiguration); LoadConfigurationCommand = new DelegateCommand(LoadConfiguration); SetBrightnessCommand = new DelegateCommand<object>(SetBrightness); SelectAllCommand = new DelegateCommand(SelectAll); SyncBoxInfoCommand = new DelegateCommand(SyncBoxInfo); _LEDBoxService.BoxUpdated += _LEDBoxService_BoxUpdated; IsSyncing = false; }
public BrightnessService(M3LCTServiceProxy serviceProxy, ILEDBoxService boxService) { _LCTService = serviceProxy; _boxService = boxService; }