mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 04:39:18 +02:00
Added automatic sanding allowance switch
This commit is contained in:
@@ -2328,6 +2328,24 @@ bool TMoverParameters::Sandbox( bool const State, range_t const Notify )
|
||||
return result;
|
||||
}
|
||||
|
||||
// *************************************************************************************************
|
||||
// yB: 20190909
|
||||
// włączenie / wyłączenie automatycznej piasecznicy
|
||||
// *************************************************************************************************
|
||||
bool TMoverParameters::SandboxAutoAllow(bool State)
|
||||
{
|
||||
//SendCtrlToNext("SandboxAutoAllow", int(State), CabNo, ctrain_controll);
|
||||
|
||||
if (SandDoseAutoAllow != State)
|
||||
{
|
||||
SandDoseAutoAllow = State;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
void TMoverParameters::SSReset(void)
|
||||
{ // funkcja pomocnicza dla SecuritySystemReset - w Delphi Reset()
|
||||
SecuritySystem.SystemTimer = 0;
|
||||
|
||||
Reference in New Issue
Block a user