1
0
Fork 0

Adjust the turbine names for N1, N2 and EGT_degC to match those already specified by YASim (n1, n2 and egt_degf).

This commit is contained in:
ehofman 2004-02-17 09:07:27 +00:00
parent 2402516dfa
commit 1c576866b2

View file

@ -625,9 +625,9 @@ bool FGJSBsim::copy_from_JSBsim()
case FGEngine::etSimTurbine:
{ // FGSimTurbine code block
FGSimTurbine* eng = (FGSimTurbine*)Propulsion->GetEngine(i);
node->setDoubleValue("N1", eng->GetN1());
node->setDoubleValue("N2", eng->GetN2());
node->setDoubleValue("EGT_degC", eng->GetEGT());
node->setDoubleValue("n1", eng->GetN1());
node->setDoubleValue("n2", eng->GetN2());
node->setDoubleValue("egt_degf", 32 + eng->GetEGT()*9/5);
node->setBoolValue("augmentation", eng->GetAugmentation());
node->setBoolValue("water-injection", eng->GetInjection());
node->setBoolValue("ignition", eng->GetIgnition());