Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Inactive Publication Date: 2018-07-13
SCHNEIDER WINGOAL TIANJIN ELECTRIC EQUIP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the expansion of the application, many versions are derived from the same product, and each version requires different menu settings; since each version of the menu requires a set of code implementation, any possible function modification needs to be modified separately Each version of the code will lead to difficulties in code maintenance, and problems such as omissions and mistakes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Menu dynamic-generation method used for maintaining dual-power-supply conversion program

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a menu control dynamic-generation method used for maintaining a dual-power-supply conversion program. The method includes the following steps: establishing a main menu and a plurality of sub-menu controls; establishing a plurality of function menus under the main menu; setting configuration files of the sub-menu controls and the function menus; judging whether a function menu is selected; reading a configuration file of the selected function menu; judging whether data information of the configuration file is successfully read; adding a relevant sub-menu control into a display queue according to a reading result; and displaying the selected sub-menu control on a screen. According to the menu dynamic-generation method used for maintaining the dual-power-supply conversion program, the problems of detection missing and false detection occurring in a code maintenance process can be effectively avoided, and efficiency of code maintenance can be improved.

Description

technical field [0001] The invention relates to the technical field of software debugging, in particular to a dynamic menu generation method for maintaining a dual power supply conversion program. Background technique [0002] With the expansion of the application, many versions are derived from the same product, and each version requires different menu settings; since each version of the menu requires a set of code implementation, any possible function modification needs to be modified separately Each version of the code will lead to difficulties in code maintenance, and problems such as missed corrections and wrong corrections. Contents of the invention [0003] The purpose of the present invention is to provide a method for dynamically generating menus for maintaining a dual power supply conversion program. [0004] For this reason, technical scheme of the present invention is as follows: [0005] A method for dynamically generating menu controls for maintaining a dua...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71
CPCG06F8/71
Inventor 张凌华娄建琴包慧杰李松泽熊艳张浩午建伟
Owner SCHNEIDER WINGOAL TIANJIN ELECTRIC EQUIP