diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-12-29 02:32:50 -0200 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-12-29 02:32:50 -0200 |
commit | d792fcf7b2a5862ac86ee69aa86021b5637ca8ee (patch) | |
tree | c00bb1d27666ee7d42839efbd420369b2a0d24e3 /Project/IndMotor.cpp | |
parent | fb9de1b7935376897f1c93676ab1faeb1ea25f25 (diff) | |
download | PSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.tar.gz PSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.tar.xz PSP.git-d792fcf7b2a5862ac86ee69aa86021b5637ca8ee.zip |
Copy paste implemented
Some bugs on the text
Diffstat (limited to 'Project/IndMotor.cpp')
-rw-r--r-- | Project/IndMotor.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/IndMotor.cpp b/Project/IndMotor.cpp index 7a56466..fc30f12 100644 --- a/Project/IndMotor.cpp +++ b/Project/IndMotor.cpp @@ -75,3 +75,10 @@ IndMotorElectricalData IndMotor::GetPUElectricalData(double systemPowerBase) return data; } + +Element* IndMotor::GetCopy() +{ + IndMotor* copy = new IndMotor(); + *copy = *this; + return copy; +} |