private void HandleShowTemplateManager() { IPAddress ipAddress = GACore.UI.ViewModel.ViewModelLocator.IPAddressViewModel.IPAddress; FleetTemplateManager manager = Model.CreateFleetTemplateManager(ipAddress); Service.DialogService.CreateFleetTemplateManagerTutorialWindow(manager) .ShowDialog(); }
public static Window CreateFleetTemplateManagerTutorialWindow(FleetTemplateManager manager) { uiVM.ViewModelLocator.UpdateFleetTemplateManagerViewModels(manager); FleetTemplateManagerTutorialWindow window = new FleetTemplateManagerTutorialWindow(); return(window); }
public static Window CreateAGVTemplateFactoryWindow(FleetTemplateManager manager) { logger.Debug("[DialogService] CreateAGVTemplateFactoryWindow()"); AGVTemplateFactoryWindow window = new AGVTemplateFactoryWindow(); ViewModel.ViewModelLocator.AGVTemplateFactoryViewModel.Model = manager; return(window); }
public static Window CreateFleetTemplateManagerWindow(FleetTemplateManager manager) { logger.Debug("[DialogService] CreateFleetTemplateManagerWindow()"); ViewModel.ViewModelLocator.FleetTemplateManagerViewModel.Model = manager; ViewModel.ViewModelLocator.FleetTemplateViewModel.Model = manager?.FleetTemplate; FleetTemplateManagerWindow window = new FleetTemplateManagerWindow(); return(window); }
public static void UpdateFleetTemplateManagerViewModels(FleetTemplateManager manager) { FleetTemplateManagerViewModel.Model = manager; FleetTemplateViewModel.Model = manager?.FleetTemplate; }