Power System Platform  2026w23a-beta
Loading...
Searching...
No Matches
EMTElementForm.h
1#ifndef EMTELEMENTFORM_H
2#define EMTELEMENTFORM_H
3#include "ElementFormBase.h"
4
5class EMTElement;
7class Workspace;
8
9class EMTElementForm : public EMTElementFormBase
10{
11public:
12 EMTElementForm(wxWindow* parent, EMTElement* emtElement, Workspace* workspace);
13 virtual ~EMTElementForm();
14 virtual bool ValidateData();
15protected:
16 virtual void OnATPFileChange(wxFileDirPickerEvent& event);
17 virtual void OnTestClick(wxCommandEvent& event);
18 virtual void OnEditATPFileClick(wxCommandEvent& event);
19 virtual void OnCancelClick(wxCommandEvent& event);
20 virtual void OnOKClick(wxCommandEvent& event);
21
22 virtual void LoadNodes(wxString atpFilePath);
23
24 wxWindow* m_parent;
25 EMTElement* m_emtElement = nullptr;
26 Workspace* m_workspace = nullptr;
27 PropertiesData* m_properties = nullptr;
28};
29#endif // EMTELEMENTFORM_H
Element to connect ATP-EMTP.
Definition EMTElement.h:83
General and simulation data manager.
This class manages the graphical and power elements. It is responsible for handling the user's intera...
Definition Workspace.h:105