diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-18 16:48:47 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-05-18 16:48:47 -0300 |
commit | 7a556cd67b60f70b9779d298ee687f66c859a529 (patch) | |
tree | dab89f31704b2e71aebd1ceac639b555f494e0e2 /Project/FileHanding.cpp | |
parent | 88cfd17f34495dafd631d0a5c20978b1b948c098 (diff) | |
download | PSP.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.cpp | 6 |
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"); |