diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-16 20:17:26 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-16 20:17:26 -0300 |
commit | 88cfd17f34495dafd631d0a5c20978b1b948c098 (patch) | |
tree | 063e4eed87a90b6c7f1668eebfbdb4fb47714615 /Project/SyncGenerator.cpp | |
parent | 1158ce068e3b5b391604270bf10c52d0d2f7f4db (diff) | |
download | PSP.git-88cfd17f34495dafd631d0a5c20978b1b948c098.tar.gz PSP.git-88cfd17f34495dafd631d0a5c20978b1b948c098.tar.xz PSP.git-88cfd17f34495dafd631d0a5c20978b1b948c098.zip |
AVR e speed gov save implemented
Open fail
Diffstat (limited to 'Project/SyncGenerator.cpp')
-rw-r--r-- | Project/SyncGenerator.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/SyncGenerator.cpp b/Project/SyncGenerator.cpp index 18d4119..a24657c 100644 --- a/Project/SyncGenerator.cpp +++ b/Project/SyncGenerator.cpp @@ -156,6 +156,13 @@ Element* SyncGenerator::GetCopy() data.avr = avrCopy; //Copy Speed Governor + cLineList.clear(); + elementList.clear(); + m_electricalData.speedGov->GetContainerCopy(elementList, cLineList); + + ControlElementContainer* speedGovCopy = new ControlElementContainer(); + speedGovCopy->FillContainer(elementList, cLineList); + data.speedGov = speedGovCopy; copy->SetElectricalData(data); return copy; |