From 8a1ffbc01135a1466ad7400518e4c56a4bdc3af5 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 9 Aug 2017 21:01:41 -0300 Subject: Stability properties implemented --- Project/Workspace.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Workspace.h') 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; }; -- cgit