From 95f61a7cad71c45c9e27af5c6f4bc5d64d5ecc45 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 5 Jan 2018 20:04:28 -0200 Subject: Some power element file hand. organized --- Project/IndMotor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Project/IndMotor.h') diff --git a/Project/IndMotor.h b/Project/IndMotor.h index 511eb61..bd2c572 100644 --- a/Project/IndMotor.h +++ b/Project/IndMotor.h @@ -52,6 +52,10 @@ class IndMotor : public Machines virtual IndMotorElectricalData GetElectricalData() { return m_electricalData; } virtual IndMotorElectricalData GetPUElectricalData(double systemPowerBase); virtual void SetElectricalData(IndMotorElectricalData electricalData) { m_electricalData = electricalData; } + + virtual void SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode); + virtual bool OpenElement(rapidxml::xml_node<>* elementNode, std::vector parentList); + protected: IndMotorElectricalData m_electricalData; }; -- cgit From c11a42ee83fcf535557d4f2cc259efae2da1b7ff Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Mon, 8 Jan 2018 20:07:47 -0200 Subject: File handling and control initialization organized --- Project/IndMotor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/IndMotor.h') diff --git a/Project/IndMotor.h b/Project/IndMotor.h index bd2c572..c210279 100644 --- a/Project/IndMotor.h +++ b/Project/IndMotor.h @@ -53,7 +53,7 @@ class IndMotor : public Machines virtual IndMotorElectricalData GetPUElectricalData(double systemPowerBase); virtual void SetElectricalData(IndMotorElectricalData electricalData) { m_electricalData = electricalData; } - virtual void SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode); + virtual rapidxml::xml_node<>* SaveElement(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementListNode); virtual bool OpenElement(rapidxml::xml_node<>* elementNode, std::vector parentList); protected: -- cgit