added sysprog entities

This commit is contained in:
Infineon\StieberD
2024-03-25 15:17:34 -07:00
parent 600a8e1f61
commit 3a6a2b6b5b
1028 changed files with 171660 additions and 0 deletions

View File

@ -0,0 +1,56 @@
Function Convert_LSL2_Forms(Void)
#pragma precomp SRP_PreCompiler
$Insert Logical
Declare Function RTI_Migrate_Repository_Entity_OIWin, Repository
debug
Open 'SYSUPGRADE' To hSysUpgrade Then
Select hSysUpgrade
EOF = False$
Loop
Readnext ID Else EOF = True$
Until EOF EQ True$
* If Index(ID, 'NDW_MAIN', 1) Then
* DEBUG
Read V9OIWinRec From hSysUpgrade, ID Then
If Index(ID, 'SYSREPOSWINS', 1) then Gosub WriteAndCompile
End Else
debug
Status = Get_Status(StatusCode)
rv = Set_Status(0)
end
* end
Repeat
end
Return ''
WriteAndCompile:
V10OIWinRec = RTI_Migrate_Repository_Entity_OIWin(V9OIWinRec, WarningText, UpdateText, @AppID)
If V10OIWinRec NE '' Then
WinID = ID[-1, 'B*']
ReposID = @AppID<1> : '*OIWIN**' : WinID
FormPart1 = V10OIWinRec[1, @RM]
FormPart2 = V10OIWinRec[Col2() + 1, @RM]
WindowTitle = FormPart2<0, 9>
rv = Repository('WRITE', ReposID, '', '', '', '', '', '', '', '', WindowTitle, V10OIWinRec)
If Get_Status(StatusCode) Then
debug
rv = Set_Status(0)
End Else
rv = Repository('COMPILE', ReposID)
If Get_Status(StatusCode) Then
debug
rv = Set_Status(0)
end
end
end
Return ''