summaryrefslogtreecommitdiffstats
path: root/Project/FileHanding.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-18 16:48:47 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-05-18 16:48:47 -0300
commit7a556cd67b60f70b9779d298ee687f66c859a529 (patch)
treedab89f31704b2e71aebd1ceac639b555f494e0e2 /Project/FileHanding.cpp
parent88cfd17f34495dafd631d0a5c20978b1b948c098 (diff)
downloadPSP.git-7a556cd67b60f70b9779d298ee687f66c859a529.tar.gz
PSP.git-7a556cd67b60f70b9779d298ee687f66c859a529.tar.xz
PSP.git-7a556cd67b60f70b9779d298ee687f66c859a529.zip
AVR and speed gov open implemented
Diffstat (limited to 'Project/FileHanding.cpp')
-rw-r--r--Project/FileHanding.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/FileHanding.cpp b/Project/FileHanding.cpp
index b8d467e..02a0f56 100644
--- a/Project/FileHanding.cpp
+++ b/Project/FileHanding.cpp
@@ -1364,13 +1364,13 @@ bool FileHanding::OpenProject(wxFileName path)
data.subTd0 = GetNodeValueDouble(stability, "SubTd0");
data.subTq0 = GetNodeValueDouble(stability, "SubTq0");
- /*auto avr = stability->first_node("AVR");
+ auto avr = stability->first_node("AVR");
if(!avr) return false;
if(!OpenControlElements(doc, avr, data.avr)) return false;
auto speedGov = stability->first_node("SpeedGovernor");
- if(speedGov) return false;
- if(!OpenControlElements(doc, speedGov, data.speedGov)) return false;*/
+ if(!speedGov) return false;
+ if(!OpenControlElements(doc, speedGov, data.speedGov)) return false;
SwitchingData swData;
auto switchingList = electricalProp->first_node("SwitchingList");