added remaining LSL2 entities

This commit is contained in:
Infineon\StieberD
2024-03-25 15:12:53 -07:00
parent 15b25a611c
commit 81e4baccb1
4474 changed files with 99825 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function security_check, set_printer, get_printer, msg, entid, repository\r\ndeclare function print_quote, MemberOf\r\ndeclare subroutine security_err_msg, Print_Control_Plan, Print_Control_Plan_JCH\r\n\r\n$insert security_rights_equ\r\n$insert msg_equates\r\n$insert logical\r\n\r\nif security_check( 'Prod Spec', Print$ ) then\r\n\tif @@window->savewarn = true$ then\r\n\t\tMsgInfo = ''\r\n\t\tMsgInfo<mtext$> = 'You need to save this PSN before printing.'\r\n\t\tMsgInfo<micon$> = '!'\r\n\t\tVoid = msg( '', MsgInfo )\r\n\t\treturn 0\r\n\tend else\r\n\t\tPSNo = .prod_spec_id->text\r\n\t\tPrint_Control_Plan(PSNo)\r\n\tend\r\nend else\r\n security_err_msg( 'Prod Spec', Print$ )\r\nend\r\nRETURN 0"
}
}
}