35class Management :
public wxScrolledWindow,
public Yuni::IEventObserver<Management>
49 void createComponents();
53 void onInterdailyBreakdownChanged(wxCommandEvent& evt);
54 void onIntradailyModulationChanged(wxCommandEvent& evt);
55 void onIntermonthlyBreakdownChanged(wxCommandEvent& evt);
56 void onReservoirCapacityChanged(wxCommandEvent& evt);
57 void onLeewayLowBoundChanged(wxCommandEvent& evt);
58 void onLeewayUpperBoundChanged(wxCommandEvent& evt);
59 void onPumpingEfficiencyChanged(wxCommandEvent& evt);
65 void onToggleInitializeReservoirLevelDate(
Component::Button&, wxMenu& menu,
void*);
69 void onEnableReserveManagement(wxCommandEvent& evt);
70 void onDisableReserveManagement(wxCommandEvent& evt);
72 void onEnableUseLeeway(wxCommandEvent& evt);
73 void onDisableUseLeeway(wxCommandEvent& evt);
75 void onFollowingLoadModulations(wxCommandEvent& evt);
76 void onUnfollowingLoadModulations(wxCommandEvent& evt);
78 void onEnableUseWaterValue(wxCommandEvent& evt);
79 void onDisableUseWaterValue(wxCommandEvent& evt);
81 void onEnableHardBoundsOnRuleCurves(wxCommandEvent& evt);
82 void onDisableHardBoundsOnRuleCurves(wxCommandEvent& evt);
84 void onChangingInitializeReservoirLevelDate(wxCommandEvent& evt);
86 void onEnableUseHeuristicTarget(wxCommandEvent& evt);
87 void onDisableUseHeuristicTarget(wxCommandEvent& evt);
89 void onEnablePowerToLevel(wxCommandEvent& evt);
90 void onDisablePowerToLevel(wxCommandEvent& evt);
96 bool pComponentsAreReady =
false;
98 wxTextCtrl* pIntermonthlyBreakdown =
nullptr;
99 wxTextCtrl* pInterdailyBreakdown =
nullptr;
100 wxTextCtrl* pIntradailyModulation =
nullptr;
101 wxTextCtrl* pReservoirCapacity =
nullptr;
102 wxTextCtrl* pLeewayUpperBound =
nullptr;
103 wxTextCtrl* pLeewayLowerBound =
nullptr;
104 wxTextCtrl* pPumpingEfficiency =
nullptr;
105 wxWindow* pLabelReservoirCapacity =
nullptr;
106 wxWindow* pLabelUseWaterValues =
nullptr;
107 wxWindow* pLabelHardBounds =
nullptr;
108 wxWindow* pLabelUseHeuristicTarget =
nullptr;
109 wxWindow* pLabelLeewayLow =
nullptr;
110 wxWindow* pLabelLeewayUp =
nullptr;
111 wxWindow* pLabelUseLeeway =
nullptr;
112 wxWindow* pLabelPowerToLevel =
nullptr;