Exemplo n.º 1
0
 public PlantAreaChartsPanelBuilder(List<MeasurableParameter> measurableParameters,
     IControlsRefresher controlsRefresher, StackPanel plantAreaChartsPanel, ChartDescriptor chartDescriptor)
 {
     controlsRefresher.RefreshControl += RefreshControls;
     _measurableParameters = measurableParameters;
     _plantAreaChartsPanel = plantAreaChartsPanel;
     _chartDescriptor = chartDescriptor;
 }
Exemplo n.º 2
0
 public PlantAreaMenuBuilder(StackPanel plantAreaSensorsPanel, StackPanel plantAreaChartsPanel,
     Menu menu, IControlsRefresher controlsRefresher, DbMeasuringMessagesRetriever dbMeasuringMessagesRetriever,
     ChartDescriptor chartDescriptor)
 {
     controlsRefresher.RefreshControl += RefreshControls;
     _plantAreaSensorsPanel = plantAreaSensorsPanel;
     _plantAreaChartsPanel = plantAreaChartsPanel;
     _menu = menu;
     _chartDescriptor = chartDescriptor;
     _dbMeasuringMessagesRetriever = dbMeasuringMessagesRetriever;
     _refreshLastMin = false;
     _autorefresh = false;
 }