diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-08-09 21:01:41 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-08-09 21:01:41 -0300 |
commit | 8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 (patch) | |
tree | d27db60347d5cb69781b3667d436601ae17b018e /Project/Workspace.h | |
parent | d7550fe1c173f1be296f1ce7991ad6d70ed90ceb (diff) | |
download | PSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.tar.gz PSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.tar.xz PSP.git-8a1ffbc01135a1466ad7400518e4c56a4bdc3af5.zip |
Stability properties implemented
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r-- | Project/Workspace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h index ecd60df..d30181c 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -36,6 +36,8 @@ class Electromechanical; class ElementPlotData; class ChartView; +class PropertiesData; + enum ElementID { ID_BUS = 0, ID_LINE, @@ -110,6 +112,8 @@ public: int GetElementNumber(ElementID elementID) { return m_elementNumber[elementID]; } void IncrementElementNumber(ElementID elementID) { m_elementNumber[elementID]++; } + + PropertiesData* GetProperties() const { return m_properties; } bool RunPowerFlow(); bool RunFault(); @@ -151,6 +155,8 @@ protected: wxRect2DDouble m_selectionRect; wxPoint2DDouble m_startSelRect; + + PropertiesData* m_properties = NULL; bool m_justOpened = false; }; |