small bug fix

This commit is contained in:
Infineon\StieberD 2025-01-13 15:48:52 -07:00
parent 59ee7c83fc
commit 8b25784ba3
2 changed files with 6 additions and 2 deletions

View File

@ -211,7 +211,10 @@ Service PrintReactorLabel(ReactNo, LoadLockSide=LOAD_LOCK_SIDE)
Swap '{LoadLockSide}' with LoadLockSide in Zpl
end
Labeling_Services('PrintLabel', Zpl, '\\messp1003.infineon.com\MESZBRPRT008')
end else
Error_Services('Add', 'Error in ':Service:' service. Null ReactNo or LoadLockSide passed in.')
end
end service

View File

@ -78,7 +78,7 @@ Event PUB_PRINT.CLICK()
ReactNo = Get_Property(@Window:'.COB_REACTOR', 'TEXT')
LLSide = Get_Property(@Window:'.COB_LOAD_LOCK_SIDE', 'TEXT')
Labeling_Services('PrintReactorLabel', ReactNo, LoadLockSide)
Labeling_Services('PrintReactorLabel', ReactNo, LLSide)
If Error_Services('HasError') then Error_Services('DisplayError')
end event
@ -95,3 +95,4 @@ EnablePrintButton:
return