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

More linux specific blocks

This commit is contained in:
2025-08-21 20:22:26 +02:00
parent f3476be306
commit be8218949c

View File

@@ -11440,7 +11440,11 @@ void TMoverParameters::LoadFIZ_PowerParamsDecode( TPowerParameters &Powerparamet
extract_value(PantType, "PantType", Line, "");
if (PantType == "AKP_4E")
collectorparameters.PantographType = TPantType::AKP_4E;
#ifdef _WIN32
if (PantType._Starts_with("DSA")) // zakladam ze wszystkie pantografy DSA sa takie same
#elif __linux__
if (PantType.starts_with("DSA"))
#endif
collectorparameters.PantographType = TPantType::DSAx;
if (PantType == "EC160" || PantType == "EC200")
collectorparameters.PantographType = TPantType::EC160_200;