Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
SimulationsSettingsForm.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Thales Lima Oliveira <thales@ufu.br>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#ifndef SIMULATIONSSETTINGSFORM_H
19#define SIMULATIONSSETTINGSFORM_H
20
21#include "PropertiesFormBase.h"
22
23class PropertiesData;
24
32class SimulationsSettingsForm : public SimulationsSettingsFormBase
33{
34 public:
35 SimulationsSettingsForm(wxWindow* parent, PropertiesData* properties, wxLocale* locale);
37
38 protected:
39 virtual void OnBusFreqEstimationSelect(wxCommandEvent& event);
40 virtual void OnCheckboxUseCompLoadClick(wxCommandEvent& event) { UpdateZIPLoadFieldStatus(); }
41 virtual void OnPFMethodChoiceSelected(wxCommandEvent& event);
42 virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
43 virtual void OnButtonOKClick(wxCommandEvent& event);
44 virtual bool ValidateData();
45 virtual void UpdateZIPLoadFieldStatus();
46 virtual void UpdatePFFieldStatus();
47 virtual void UpdateBusFreqFieldStatus();
48
49 PropertiesData* m_properties;
50};
51#endif // SIMULATIONSSETTINGSFORM_H
General and simulation data manager.
Form to edit the simulation data.