public MainViewModel() { _robot = new MoveMasterRobot(); SaveSettings = new ActionCommand(SaveSettingsCommand); ReadSettings(); _generalViewModel = new GeneralViewModel(_robot); _beerBotViewModel = new BeerBotViewModel(_robot); initialization = false; }
public GeneralViewModel(MoveMasterRobot robot) : this() { _robot = robot; }