Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
LineForm.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 LINEFORM_H
19#define LINEFORM_H
20#include "ElementFormBase.h"
21
22class Line;
23class SwitchingForm;
24
32class LineForm : public LineFormBase
33{
34 public:
35 LineForm(wxWindow* parent, Line* line);
36 virtual ~LineForm();
37
38 protected:
39 virtual void OnCancelButtonClick(wxCommandEvent& event);
40 virtual void OnOKButtonClick(wxCommandEvent& event);
41 virtual void OnStabilityButtonClick(wxCommandEvent& event);
42 virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
43 virtual bool ValidateData();
44
45 wxWindow* m_parent = nullptr;
46 Line* m_line = nullptr;
47};
48#endif // LINEFORM_H
Form to edit the line power data.
Definition LineForm.h:33
Power line element.
Definition Line.h:64
Form to edit the switching data of power elements for electromechanical transient studies.