Added switch to be able to turn on/off feature.

This commit is contained in:
Infineon\Ouellette 2024-11-20 07:36:05 -07:00 committed by Ouellette Jonathan (CSC FI SPS MESLEO)
parent 3a2ff00722
commit f143b3e60c

View File

@ -349,20 +349,25 @@ Event PUB_SIGN.CLICK()
Response = Dialog_Box('NDW_VERIFY_USER', @WINDOW, initParams) Response = Dialog_Box('NDW_VERIFY_USER', @WINDOW, initParams)
Valid = Response<1> Valid = Response<1>
If (Valid EQ True$) then If (Valid EQ True$) then
UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?') if XLATE('APP_INFO', 'NEW_TW_SYSTEM_ACTIVE_SWITCH', 1, 'X') EQ True$ then
If UsingTestWafers then UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?')
TWLogResult = Dialog_Box('NDW_LOG_TEST_WAFER_USAGE', @Window, RDSNo : @VM : 'STANDARD' : @VM : 'REACTOR' : @VM : Reactor) If UsingTestWafers then
If TWLogResult then TWLogResult = Dialog_Box('NDW_LOG_TEST_WAFER_USAGE', @Window, RDSNo : @VM : 'STANDARD' : @VM : 'REACTOR' : @VM : Reactor)
QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) If TWLogResult then
end else
ContinueLoad = Msg(@Window, '', 'YESNO', '', 'Continue?':@FM:'Test wafer logging was cancelled. Do you wish to continue signing?')
If ContinueLoad then
QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide)
end else
ContinueLoad = Msg(@Window, '', 'YESNO', '', 'Continue?':@FM:'Test wafer logging was cancelled. Do you wish to continue signing?')
If ContinueLoad then
QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide)
end
end end
end end else
end else QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide)
QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide) end
end end else
QA_Services('SignLoadStage', RDSNo, @USER4, WfrQty, LLSide)
end
end end
end else end else
UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?') UsingTestWafers = Msg(@Window, '', 'YESNO', '', 'Log Test Wafer Usage':@FM:'Are any test wafers loaded?')