summaryrefslogtreecommitdiffstats
path: root/Project/Workspace.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-30 16:58:37 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-30 16:58:37 -0300
commitf6718ac24553ac99bf90f99a33543d6d6b96999b (patch)
tree3e012cfc029726a0eb5fc5576797baeafde6bc84 /Project/Workspace.h
parentee27459748acee31a307604f6395ea31b4bf53ce (diff)
downloadPSP.git-f6718ac24553ac99bf90f99a33543d6d6b96999b.tar.gz
PSP.git-f6718ac24553ac99bf90f99a33543d6d6b96999b.tar.xz
PSP.git-f6718ac24553ac99bf90f99a33543d6d6b96999b.zip
Line form implemented, voltages corrections under implementation
Diffstat (limited to 'Project/Workspace.h')
-rw-r--r--Project/Workspace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/Workspace.h b/Project/Workspace.h
index c5c0547..a4c84d8 100644
--- a/Project/Workspace.h
+++ b/Project/Workspace.h
@@ -72,6 +72,9 @@ class Workspace : public WorkspaceBase
void DeleteSelectedElements();
void Fit();
+ void ValidateBusesVoltages(Element* initialBus);
+ void ValidateElementsVoltages();
+
int GetElementNumber(ElementID elementID) { return m_elementNumber[elementID]; }
void IncrementElementNumber(ElementID elementID) { m_elementNumber[elementID]++; }
@@ -98,7 +101,6 @@ class Workspace : public WorkspaceBase
WorkspaceMode m_mode = MODE_EDIT;
std::vector<Element*> m_elementList;
- //int m_numElements = NUM_ELEMENTS;
int m_elementNumber[NUM_ELEMENTS];
void UpdateStatusBar();