public PartialViewResult GlobalVariablables() { var viewModel = new GlobalVariablesViewModel { VapidPublicKey = ConfigurationManager.AppSettings["Push:VapidPublicKey"] as string }; return(PartialView("GlobalVariables", viewModel)); }
public override void CreateViewModels() { _soundsViewModel = new SoundsViewModel(); _opcServersViewModel = new OPCServersViewModel(); _proceduresViewModel = new ProceduresViewModel(); _schedulesViewModel = new SchedulesViewModel(); _globalVariablesViewModel = new GlobalVariablesViewModel(); _planExtension = new AutomationPlanExtension(_proceduresViewModel); _opcTechnosoftwareViewModel = new OpcTechnosoftwareViewModel(); _opcDaClientViewModel = new OpcDaClientViewModel(); _opcDaTagFiltersViewModel = new OpcDaTagFiltersViewModel(); }
public GlobalVariablesMenuViewModel(GlobalVariablesViewModel context) { Context = context; }