From 41b81949a92aad043caa28b0e1144348d06921f8 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Wed, 6 Sep 2017 20:11:37 -0300 Subject: Data report implementation start --- Project/Workspace.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Project/Workspace.h') diff --git a/Project/Workspace.h b/Project/Workspace.h index 2a8b9b6..7eb82ba 100644 --- a/Project/Workspace.h +++ b/Project/Workspace.h @@ -116,10 +116,14 @@ public: PropertiesData* GetProperties() const { return m_properties; } std::vector GetStabilityTimeVector() const { return m_stabilityTimeVector; } + + bool IsContinuousCalculationActive() const { return m_continuousCalc; } + void SetContinuousCalculationActive(bool value = true) { m_continuousCalc = value; } bool RunPowerFlow(); bool RunFault(); bool RunSCPower(); + bool RunStaticStudies(); bool RunStability(); protected: @@ -162,7 +166,8 @@ protected: PropertiesData* m_properties = NULL; std::vector m_stabilityTimeVector; - + + bool m_continuousCalc = false; bool m_justOpened = false; }; -- cgit