Ejemplo n.º 1
0
 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];
 }
Ejemplo n.º 2
0
 public static void SetToStandart(RecircViewModel current)
 {
     current.VisibleGrid = true;
 }
Ejemplo n.º 3
0
 public static void SetToNull(RecircViewModel current)
 {
     current.VisibleGrid = false;
 }