Menu dynamic-generation method used for maintaining dual-power-supply conversion program
A dual-power conversion and dynamic generation technology, applied in software maintenance/management, version control, etc., can solve the problems of missing corrections and corrections, difficult code maintenance, etc., to improve efficiency, avoid missed inspections, and reduce burdens.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] A method for dynamically generating menu controls for maintaining a dual power supply conversion program, comprising the following steps:
[0023] 1) Create a main menu control and several submenu controls;
[0024] 2) Create several function menus under the main menu;
[0025] 3) Set the configuration files of submenu controls and function menus;
[0026] 4) Judging whether a function menu is selected, if the judgment result is "yes", then enter step 5); if the judgment result is "no", then continue to judge;
[0027] 5) Read the configuration file of the selected function menu;
[0028] 6) Judging whether the configuration file data information is successfully read, if the judgment result is "yes", then enter the next step; if the judgment result is "no", then report to the police and return to step 5) to continue reading data;
[0029] 7) and according to the reading result, the relevant submenu controls are added to the display queue;
[0030] 8) Display the sub...
Embodiment 2
[0033] The difference from Embodiment 1 is that the configuration files of the submenu control and the function menu control are stored in xml format; wherein, the configuration file uses a tree structure to describe the menu type, page number, list and Font and other data information; when the staff needs to maintain a specified code, they can directly display the corresponding submenu control through the function menu under the main menu, and then select the submenu control on the screen to display the corresponding program code Displayed on the screen for programmer maintenance. The menu dynamic generation method for maintaining the dual power supply conversion program can effectively avoid the problems of missed detection and false detection in the code maintenance process; help to reduce the burden of code maintenance personnel and improve the efficiency of code maintenance.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
