summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-01 19:36:24 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-01 19:36:24 -0200
commitb306118b2683cf6f264b5f1617c3e0e62a6c9042 (patch)
tree2059f3a6647d5021a0eaa7f1b08635cbcd83def0 /Project/Workspace.h
parent7d4df7195202eaea0e84f227e96f19dec4144081 (diff)
downloadPSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.gz
PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.tar.xz
PSP.git-b306118b2683cf6f264b5f1617c3e0e62a6c9042.zip
Power flow (gs) under implementation
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r--Project/Workspace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h
index a4c84d8..310bcbe 100644
--- a/Project/Workspace.h
+++ b/Project/Workspace.h
@@ -22,6 +22,8 @@ class Load;
class Inductor;
class Capacitor;
+class PowerFlow;
+
enum WorkspaceMode
{
MODE_EDIT = 0,
@@ -77,6 +79,8 @@ class Workspace : public WorkspaceBase
int GetElementNumber(ElementID elementID) { return m_elementNumber[elementID]; }
void IncrementElementNumber(ElementID elementID) { m_elementNumber[elementID]++; }
+
+ bool RunPowerFlow();
protected:
virtual void OnLeftDoubleClick(wxMouseEvent& event);