summaryrefslogtreecommitdiffstats
path: root/Project/IndMotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/IndMotor.h')
-rw-r--r--Project/IndMotor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Project/IndMotor.h b/Project/IndMotor.h
index 7624e71..491c714 100644
--- a/Project/IndMotor.h
+++ b/Project/IndMotor.h
@@ -5,7 +5,8 @@
class IndMotorForm;
-struct IndMotorElectricalData {
+struct IndMotorElectricalData
+{
wxString name;
double activePower = 100.0;
ElectricalUnit activePowerUnit = UNIT_MW;
@@ -24,6 +25,7 @@ class IndMotor : public Machines
virtual bool GetContextMenu(wxMenu& menu);
virtual bool ShowForm(wxWindow* parent, Element* element);
virtual IndMotorElectricalData GetElectricalData() { return m_electricalData; }
+ virtual IndMotorElectricalData GetPUElectricalData(double systemPowerBase);
virtual void SetElectricalData(IndMotorElectricalData electricalData) { m_electricalData = electricalData; }
protected:
IndMotorElectricalData m_electricalData;