added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,27 @@
compile function wo_verify_comm(Branch)
begin condition
pre:
post:
end condition
ReturnVar = 0
declare function set_property, get_property, msg
Branches = 'STATUS_CHECK'
convert ',' to @fm in Branches
locate Branch in Branches using @fm setting Bpos then
on Bpos gosub StatusCheck
end else
Void = msg( '', 'Invalid Branch ':Bpos:' passed to wo_verify_comm' )
end
return ReturnVar
*===========================================================================*
StatusCheck:
TechSig = get_property( @window:'.TECH_SIG', 'TEXT' )
if ( TechSig <> '' ) then
Void = set_property( @window:'.STATUS', 'VALUE', 'C' )
end
return
*============================================================================*