Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
ControlSystemTest.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 CONTROLSYSTEMTEST_H
19#define CONTROLSYSTEMTEST_H
20
21 //#include <GL/glew.h>
22
23#include "ControlEditorBase.h"
24#include "../elements/controlElement/IOControl.h"
25
26class ControlEditor;
27
35class ControlSystemTest : public ControlSystemTestBase
36{
37public:
39 std::vector<IOControl*> ioList,
40 int* inputType,
41 double* startTime,
42 double* slope,
43 double* timeStep,
44 double* simTime);
45 virtual ~ControlSystemTest();
46
47protected:
48 virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
49 virtual void OnRunButtonClick(wxCommandEvent& event);
50 virtual void OnInputSelected(wxCommandEvent& event);
51 virtual void OnPGValueChange(wxPropertyGridEvent& event);
52 virtual void UpdatePGValues();
53 int* m_inputType = nullptr;
54 //double* m_startTime = nullptr;
55 //double* m_slope = nullptr;
56 double* m_timeStep = nullptr;
57 double* m_simTime = nullptr;
58};
59#endif // CONTROLSYSTEMTEST_H
Form to edit properties to test the control system created.