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

Configurable velocity when mirrors close

This commit is contained in:
Królik Uszasty
2020-10-15 21:16:05 +02:00
parent b38f39afc2
commit 0db644a9b1
3 changed files with 4 additions and 1 deletions

View File

@@ -1312,6 +1312,7 @@ public:
int PlatformOpenMethod { 2 }; /*sposob animacji stopnia*/
#endif
double MirrorMaxShift { 90.0 };
double MirrorVelClose { 5.0 };
bool ScndS = false; /*Czy jest bocznikowanie na szeregowej*/
bool SpeedCtrl = false; /*czy jest tempomat*/
speed_control SpeedCtrlUnit; /*parametry tempomatu*/

View File

@@ -9871,6 +9871,8 @@ void TMoverParameters::LoadFIZ_Doors( std::string const &line ) {
if( platformopenmethod == "Shift" ) { Doors.step_type = 1; } // przesuw
extract_value( MirrorMaxShift, "MirrorMaxShift", line, "" );
extract_value( MirrorVelClose, "MirrorVelClose", line, "");
}
void TMoverParameters::LoadFIZ_BuffCoupl( std::string const &line, int const Index ) {