summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-04 20:04:42 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-09-04 20:04:42 -0300
commit6f3421c4150e49af026432a2a2be0171d741ad03 (patch)
tree4df26f8c631aeeeed6e5c9e8aab87c4c663bd30f /Project/Workspace.h
parent516cdb72d3ff99a1ee786d3ea24c9b579272fe76 (diff)
downloadPSP.git-6f3421c4150e49af026432a2a2be0171d741ad03.tar.gz
PSP.git-6f3421c4150e49af026432a2a2be0171d741ad03.tar.xz
PSP.git-6f3421c4150e49af026432a2a2be0171d741ad03.zip
Some bugfixes
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r--Project/Workspace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h
index d30181c..2a8b9b6 100644
--- a/Project/Workspace.h
+++ b/Project/Workspace.h
@@ -114,6 +114,8 @@ public:
void IncrementElementNumber(ElementID elementID) { m_elementNumber[elementID]++; }
PropertiesData* GetProperties() const { return m_properties; }
+
+ std::vector<double> GetStabilityTimeVector() const { return m_stabilityTimeVector; }
bool RunPowerFlow();
bool RunFault();
@@ -121,6 +123,7 @@ public:
bool RunStability();
protected:
+ virtual void OnMiddleDoubleClick(wxMouseEvent& event);
virtual void OnIdle(wxIdleEvent& event);
virtual void OnTimer(wxTimerEvent& event);
virtual void OnLeftDoubleClick(wxMouseEvent& event);
@@ -157,6 +160,8 @@ protected:
wxPoint2DDouble m_startSelRect;
PropertiesData* m_properties = NULL;
+
+ std::vector<double> m_stabilityTimeVector;
bool m_justOpened = false;
};