summaryrefslogtreecommitdiffstats
path: root/Project/Transformer.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-04 18:02:03 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-04 18:02:03 -0200
commit9919f24692c1fe9b8e11fde5c6d5c18f169b5c10 (patch)
treeb8980db8f053d38adcad362f08fce88541cf45bf /Project/Transformer.cpp
parent4799019fb948226daf5777d0d3ba41257dd55657 (diff)
downloadPSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.gz
PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.xz
PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.zip
Validation implemented
Diffstat (limited to 'Project/Transformer.cpp')
-rw-r--r--Project/Transformer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Transformer.cpp b/Project/Transformer.cpp
index 8ebf4f3..93013e0 100644
--- a/Project/Transformer.cpp
+++ b/Project/Transformer.cpp
@@ -357,3 +357,9 @@ bool Transformer::SetNodeParent(Element* parent)
}
return false;
}
+
+void Transformer::SetPowerFlowDirection(PowerFlowDirection pfDirection)
+{
+ m_pfDirection = pfDirection;
+ UpdatePowerFlowArrowsPosition();
+}