diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-18 16:59:36 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-18 16:59:36 -0200 |
commit | dc8e7b67eb2141cfbed0f26ac50a8d14104f391b (patch) | |
tree | 3a13d4312b7e421f52c45d9957f6d523ba841dc6 /Project/Element.h | |
parent | c4f6b784f575b19506d3207d3f8fbf9496db5b43 (diff) | |
download | PSP.git-dc8e7b67eb2141cfbed0f26ac50a8d14104f391b.tar.gz PSP.git-dc8e7b67eb2141cfbed0f26ac50a8d14104f391b.tar.xz PSP.git-dc8e7b67eb2141cfbed0f26ac50a8d14104f391b.zip |
Transformer form implemented
Diffstat (limited to 'Project/Element.h')
-rw-r--r-- | Project/Element.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Project/Element.h b/Project/Element.h index 17a8902..51cb588 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -7,6 +7,8 @@ #include <wx/menu.h> #include <GL/gl.h> +#include <wx/log.h> + enum PickboxID { ID_PB_NONE = 0, @@ -185,6 +187,9 @@ class Element virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit) {} virtual void SetSwitchingData(SwitchingData data) { m_swData = data; } virtual SwitchingData GetSwitchingData() { return m_swData; } + + //Static methods + static wxString StringFromDouble(double value, int minDecimal = 1); protected: std::vector<Element*> m_parentList; |