Allow changeover from idle startup
This commit is contained in:
parent
cd364ebfc2
commit
9f4a3f94b5
@ -278,9 +278,7 @@ Service AvailableModes(ReactorModesKey, CurrUser, ReactNo)
|
|||||||
If AllowMode EQ True$ then
|
If AllowMode EQ True$ then
|
||||||
Locate PossibleMode in AllowedModes using @FM setting DUMMY else
|
Locate PossibleMode in AllowedModes using @FM setting DUMMY else
|
||||||
PossibleModeEnterModes = XLATE('REACTOR_MODES', PossibleMode, REACTOR_MODES_MODES_ENTER$, 'X')
|
PossibleModeEnterModes = XLATE('REACTOR_MODES', PossibleMode, REACTOR_MODES_MODES_ENTER$, 'X')
|
||||||
If IdleStartupRequired EQ True$ and Len(PossibleMode) GE 10 and PossibleMode[1, 10] EQ 'CHANGEOVER' then
|
if PossibleModeEnterModes NE '' then
|
||||||
// don't add to AllowedModes
|
|
||||||
end else if PossibleModeEnterModes NE '' then
|
|
||||||
for each EnterMode in PossibleModeEnterModes using @VM
|
for each EnterMode in PossibleModeEnterModes using @VM
|
||||||
If CurrMode _EQC EnterMode then
|
If CurrMode _EQC EnterMode then
|
||||||
AllowedModes<-1> = PossibleMode
|
AllowedModes<-1> = PossibleMode
|
||||||
@ -301,3 +299,5 @@ Service AvailableModes(ReactorModesKey, CurrUser, ReactNo)
|
|||||||
|
|
||||||
end service
|
end service
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user