16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-23 00:29:19 +02:00

reformat: remove redundant 'else' keyword

This commit is contained in:
jerrrrycho
2026-07-04 05:50:57 +02:00
parent 31f9ca0afc
commit b4b6686320
14 changed files with 482 additions and 331 deletions

View File

@@ -394,10 +394,12 @@ double TNESt3::CVs(double const BP) // napelniacz sterujacego
// przeplyw ZS <-> PG
if (MPP < CVP - 0.17)
return 0.0;
else if (MPP > CVP - 0.08)
return Nozzles[dSd];
else
return Nozzles[dSm];
{
if (MPP > CVP - 0.08)
return Nozzles[dSd];
return Nozzles[dSm];
}
}
double TNESt3::BVs(double const BCP) // napelniacz pomocniczego
@@ -408,14 +410,17 @@ double TNESt3::BVs(double const BCP) // napelniacz pomocniczego
// przeplyw ZP <-> rozdzielacz
if (MPP < CVP - 0.3)
return Nozzles[dP];
else if( BCP < 0.5 ) {
if( true == Zamykajacy )
return Nozzles[ dPm ]; // 1.25
else
return Nozzles[ dPd ];
}
else
return 0.0;
{
if (BCP < 0.5)
{
if (true == Zamykajacy)
return Nozzles[dPm]; // 1.25
else
return Nozzles[dPd];
}
return 0.0;
}
}
void TNESt3::PLC(double const mass)