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>": "if NewData = '' and .thru->text = '' then\r\n .span->enabled = 1\r\nend else\r\n .span->text = 'N/A'\r\n .span->enabled = 0\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "if NewData = 'Quoted Products' then\r\n .order_stat->text = 'N/A'\r\n .order_stat->enabled = 0\r\nend else\r\n .order_stat->text = 'All Orders'\r\n .order_stat->enabled = 1\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": ".from->text = ''\r\n.thru->text = ''\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "if NewData = '' and .from->text = '' then\r\n .span->enabled = 1\r\nend else\r\n .span->text = 'N/A'\r\n .span->enabled = 0\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "if @user4 = 'MIS' then\r\n\tDEBUG\r\nend\r\nif .exporttablenames->text = 'REACT_UTIL' then\r\n .UTIL_START->VISIBLE = 1\r\n .UTIL_END->VISIBLE = 1\r\n .UTIL_START_LABEL->VISIBLE = 1\r\n .UTIL_END_LABEL->VISIBLE = 1\r\nend else\r\n .UTIL_START->VISIBLE = 0\r\n .UTIL_END->VISIBLE = 0\r\n .UTIL_START_LABEL->VISIBLE = 0\r\n .UTIL_END_LABEL->VISIBLE = 0\r\nend\r\nRETURN 1\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function send_event, post_event\r\n\r\nif len( NewData ) > 24 then\r\n Void = send_event( @window:'.':CtrlEntId, 'LOSTFOCUS', '' )\r\n Void = set_property( @window:'.EXPORTTABLENAMES', \"FOCUS\", 1)\r\n Void = post_event( @window:'.EXPORTTABLENAMES', \"GOTFOCUS\" )\r\n return 0\r\nend\r\nif NewData[-1,1] = ' ' then\r\n CurVal = @CtrlEntId->text\r\n CurVal[-1,1] = '_'\r\n @CtrlEntId->text = CurVal\r\n @CtrlEntId->selection = len( CurVal )+1\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "if .exporttablenames->text = 'REACT_UTIL' then\r\n .UTIL_START->VISIBLE = 1\r\n .UTIL_END->VISIBLE = 1\r\n .UTIL_START_LABEL->VISIBLE = 1\r\n .UTIL_END_LABEL->VISIBLE = 1\r\nend else\r\n .UTIL_START->VISIBLE = 0\r\n .UTIL_END->VISIBLE = 0\r\n .UTIL_START_LABEL->VISIBLE = 0\r\n .UTIL_END_LABEL->VISIBLE = 0\r\nend\r\nRETURN 1\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function send_event, post_event\r\n\r\nif len( NewData ) > 24 then\r\n Void = send_event( @window:'.':CtrlEntId, 'LOSTFOCUS', '' )\r\n Void = set_property( @window:'.EXPORTTABLENAMES', \"FOCUS\", 1)\r\n Void = post_event( @window:'.EXPORTTABLENAMES', \"GOTFOCUS\" )\r\n return 0\r\nend\r\nif NewData[-1,1] = ' ' then\r\n CurVal = @CtrlEntId->text\r\n CurVal[-1,1] = '_'\r\n @CtrlEntId->text = CurVal\r\n @CtrlEntId->selection = len( CurVal )+1\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "Path = Get_Property(CtrlEntID,'DEFPROP')\r\nIF INDEX(Path,'/',1) THEN\r\n\tCall ErrMsg('\"/\" characters are invalid in paths. Use \"\\\" instead.')\r\nEND\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nIF @USERNAME = 'BRYCE_BARB' THEN DEBUG\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .post_akrion_recipe->text = ''\r\nend\r\nreturn 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .pre_akrion_recipe->text = ''\r\nend\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "$insert logical\r\n\r\nif NewData = 'No' then\r\n .ship_full_type->visible = true$\r\n .sftype_label1->visible = true$\r\n .sftype_label2->visible = true$ \r\nend else\r\n .ship_full_type->text = ''\r\n .ship_full_type->visible = false$\r\n .sftype_label1->visible = false$\r\n .sftype_label2->visible = false$\r\nend\r\nRETURN 1"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nIF @USERNAME = 'BRYCE_BARB' THEN DEBUG\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .post_akrion_recipe->text = ''\r\nend\r\nreturn 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "CurVal = @CtrlEntId->text\r\nif index( CurVal, 'Akrion', 1 ) else\r\n .pre_akrion_recipe->text = ''\r\nend\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function prod_spec_comm\r\ndeclare subroutine forward_event\r\n\r\nforward_event(NewData)\r\nVoid = prod_spec_comm( \"LOAD_TOOL_RECIPE\" )\r\nRETURN 0\r\n"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function scroll_enable, send_message\r\n\r\nequ EditTableInsDel$ to 4 ;* ALLOW ROW INSERTION AND/OR DELETION FOR EDITTABLE STYLE\r\nequ Protected$ to 8 ;* AS DOCUMENTED IN THE COLSYTLE MESSAGE IN HELP\r\nequ ReadOnly$ to 2048 ;* FIGURED THIS OUT BY SETTING THE STYLE IN THE WINDOW THEN DEBUGGING\r\n\r\nSectionNo = NewData[1,1]\r\n\r\nIf SectionNo Then \r\n X = XLATE(\"CONFIG\",\"REACTOR_SELECTIONS\",SectionNo,\"X\")\t \t\r\n Treactors = .reactors->array\r\n Treactors<1> = X\r\n .reactors->array = Treactors\r\n *Void = scroll_enable( '', @window:'.REACTORS' )\r\nend\r\n* WILL LOOK INTO THIS LATER IDEA IS TO REENABLE THE REACTORS CONTROL Later Dude! \r\n*end else\r\n* ThisEditTable = @window:'.REACTORS'\r\n* Styles = send_message( ThisEditTable, \"COLSTYLE\", 0, '' )\r\n* Styles<1> = bitand( Styles<1>, Protected$ )\r\n* Void = send_message( ThisEditTable, \"COLSTYLE\", 0, Styles )\r\n* Style = get_property( ThisEditTable, \"STYLE\" )\r\n* if Style[1,2] _eqc \"0x\" then\r\n* convert @lower_case to @upper_case in Style\r\n*\t Style = iconv( Style[3,999], 'MX' )\r\n* end\r\n* Style = bitor( Style, EditTableInsDel$ )\r\n* Void = set_property( ThisEditTable, 'STYLE', Style ) \r\n* .reactors->array = @vm:@vm\r\n* *.reactors->enabled = 1 \r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "OrigMode = get_property( @window, '@Mode' )\r\nM = .mode->text\r\nif M <> OrigMode then\r\n .apply->enabled = 1\r\nend else\r\n .apply->enabled = 0\r\nend\r\nif M[1,11] = 'Maintenance' THEN\r\n .reactmodesvc->visible = 1\r\n .serv_label->visible = 1\r\n \r\nend else\r\n .reactmodesvc->visible = 0\r\n .serv_label->visible = 0\r\n .note_group->enabled = 1\r\nend\r\n\r\n*IF OrigMode[1,11] = 'Maintenance' THEN\r\n*\t.note_group->enabled = 0\r\n*END ELSE\r\n* .note_group->enabled = 1\r\n*END\r\n\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": ".apply->enabled = 1\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
}
}
}

View File

@ -0,0 +1,11 @@
{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare subroutine recipe_browse_comm\r\n\r\nrecipe_browse_comm( 'REACT_REC_ON_CHANGE', '' )\r\nRETURN 0"
}
}
}