public PageChangeSettings() { HeaterVM = new HeaterViewModel(); CoolerVM = new CoolerViewModel(); HumidVM = new HumidViewModel(); HeatExchangeVM = new HeatExchangeViewModel(); RecircVM = new RecircViewModel(); GatesVM = new GatesViewModel(); FilterVM = new FilterViewModel(); SettingVM = new SettingViewModel(); VentVM = new VentSettingViewModel(); PageViewSettingsModels.Add(new EmptyVM()); PageViewSettingsModels.Add(HeaterVM); PageViewSettingsModels.Add(CoolerVM); PageViewSettingsModels.Add(HumidVM); PageViewSettingsModels.Add(HeatExchangeVM); PageViewSettingsModels.Add(RecircVM); PageViewSettingsModels.Add(GatesVM); PageViewSettingsModels.Add(FilterVM); PageViewSettingsModels.Add(SettingVM); PageViewSettingsModels.Add(VentVM); // Set starting page CurrentPageViewSettingsModel = PageViewSettingsModels[0]; }
public static void SetToStandart(CoolerViewModel current) { current.VisibleGrid = true; }
public static void SetToNull(CoolerViewModel current) { current.VisibleGrid = false; }