CN113220406A - Configurable special equipment informatization system platform implementation method, equipment and medium - Google Patents

Configurable special equipment informatization system platform implementation method, equipment and medium Download PDF

Info

Publication number
CN113220406A
CN113220406A CN202110771165.9A CN202110771165A CN113220406A CN 113220406 A CN113220406 A CN 113220406A CN 202110771165 A CN202110771165 A CN 202110771165A CN 113220406 A CN113220406 A CN 113220406A
Authority
CN
China
Prior art keywords
control
template
window
implementation method
system platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110771165.9A
Other languages
Chinese (zh)
Inventor
胡建恺
林凯明
林如锡
崔文华
黄垚波
黄泽彬
李进杰
李伟滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGDONG INSTITUTE OF SPECIAL EQUIPMENT INSPECTION AND RESEARCH ZHONGSHAN BRANCH
Original Assignee
GUANGDONG INSTITUTE OF SPECIAL EQUIPMENT INSPECTION AND RESEARCH ZHONGSHAN BRANCH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG INSTITUTE OF SPECIAL EQUIPMENT INSPECTION AND RESEARCH ZHONGSHAN BRANCH filed Critical GUANGDONG INSTITUTE OF SPECIAL EQUIPMENT INSPECTION AND RESEARCH ZHONGSHAN BRANCH
Priority to CN202110771165.9A priority Critical patent/CN113220406A/en
Publication of CN113220406A publication Critical patent/CN113220406A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation

Abstract

The invention provides a configurable special equipment informatization system platform implementation method, which comprises the following steps: the method comprises the following steps of performing window templating, and establishing a template window, wherein the template window comprises a plurality of control layouts, and the template window corresponds to a window control construction class and a service logic class; instantiating the template window, and instantiating the template window through a reflection mechanism; acquiring configuration information, and reading corresponding module configuration information through ID; generating a control, reading module configuration information by a form control construction class, and dynamically creating the control on a template form; and (4) user interaction, wherein when the user interacts with the form, the business logic class executes logic. The invention relates to an electronic device and a storage medium, which are used for executing a configurable special device information system platform implementation method. The invention can rapidly develop the module window through the template configuration, and can rapidly complete various information systems by writing SQL without writing codes.

Description

Configurable special equipment informatization system platform implementation method, equipment and medium
Technical Field
The invention relates to the technical field of informatization function development of a special equipment informatization system, in particular to a configurable special equipment informatization system platform implementation method, equipment and medium.
Background
The information system of the special equipment is generally developed by combining third-party development software with a report designer, a database and the like, the more mainstream development software is C #, java and the like, the interface adjustment, field increase and decrease, data display, control attribute, data increase, deletion, change, check and the like of the system require a professional to write codes through the third-party development software, a software writing module window needs to write codes from a blank window, the position change and adjustment of the window control needs to be carried out, and the application program needs to be repackaged and upgraded, so that the project development period is often long, developers need to master development languages, the requirements on the developers are high, the project capital investment is increased, and the later-period maintenance workload is correspondingly increased.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a configurable special equipment informatization system platform implementation method, a module window is rapidly developed through template configuration, codes do not need to be written, and only SQL is written to perform configuration, so that various information systems can be rapidly completed.
The invention provides a configurable special equipment informatization system platform implementation method, which comprises the following steps:
the method comprises the steps of performing window templating, and establishing a template window, wherein the template window comprises a plurality of control layouts, and the template window corresponds to a window control construction class and a service logic class;
instantiating the template window, and instantiating the template window through a reflection mechanism;
acquiring configuration information, and reading corresponding module configuration information through ID;
generating a control, reading module configuration information by the form control construction class, and dynamically creating the control on the template form;
and user interaction, wherein when the user interacts with the form, the service logic class executes logic.
Further, in the form templating step, the form of the template corresponds to a form control construction class and a service logic class.
Further, in the step of generating the control, the form control construction class dynamically creates a master file list, a master file editing control, a slave file page, a slave file table, a toolbar button, and a slave file menu on the template form.
Further, in the step of generating the control, the form control construction class stores the control in a control dictionary set.
And further, the system also comprises an editing control, and after the user opens the form, the position and the size of the main file editing control are adjusted through an unlocking control.
Further, in the user interaction step, the execution logic is performed according to parameter configuration, an SQL script and an extension code.
Further, in the user interaction step, when the form is opened, the contents of the data table are displayed on a winform interface through the module parameters and the configured ID.
Further, in the user interaction step, a request for creating a printing template during operation is received and responded, the created printing template is stored in the database, and when the user prints, the printing template of the database is called out and is printed by combining with the data source.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for executing the configurable special equipment information system platform implementation method.
A computer readable storage medium having stored thereon a computer program for execution by a processor of a configurable specialty equipment information system platform implementation method.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a method for realizing a configurable special equipment informatization system platform, which can rapidly complete various information systems by rapidly developing a module window through template configuration without compiling codes and only writing SQL (structured query language) and configuring, and has the following advantages:
flexible and convenient configuration, which can configure information system basic functions such as user management, role management, master-slave table configuration and the like in a new environment by only a few simple steps, flexibly expand service functions, seamlessly interconnect other service systems, provide necessary system external connection interfaces and abundant equipment interfaces, and conveniently carry out software customized customization and maintenance;
through the creation of a data table, a configuration platform establishes simple association, functions such as management interface design, report style design, data binding, data addition, deletion, modification and check, accessory uploading, data export and the like can be designed on the configuration platform, and complex code writing is not needed;
the convenient multiplexing mechanism can rapidly carry out the integral migration or modification of the module through simple export and import.
The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical solutions of the present invention more clearly understood and to implement them in accordance with the contents of the description, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings. The detailed description of the present invention is given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method for implementing a configurable specialty equipment informatization system platform according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The special equipment comprises elevators, hoisting machinery, special motor vehicles in factories, passenger ropeways, large-scale amusement facilities, boilers, pressure vessels, pressure pipelines, pressure pipeline elements, safety accessories and the like. The special equipment informatization system mainly comprises equipment information management and report process management, wherein the equipment information and the report process are related and different, and the equipment information can derive different equipment parameters according to different equipment types, so that aiming at the characteristics, the platform system modules comprise the following types: a master-slave module, a single table module and a query module. The invention generalizes and summarizes the functions and logics of the universal modules, and generates corresponding modules through parameterized configuration and SQL script drive. Specifically, the configurable special equipment informatization system platform implementation method, as shown in fig. 1, includes the following steps:
and (3) performing window templating, namely establishing a template window through a module configuration plate, wherein the template window comprises a plurality of conventional and commonly used control layouts, and the template window corresponds to a window control construction class and a service logic class. In this embodiment, the template form corresponds to a form control construction class and a service logic class.
Instantiating the template window, and instantiating the template window through a reflection mechanism;
acquiring configuration information, and reading corresponding module configuration information through ID;
and generating a control, reading module configuration information by a form control construction class, dynamically creating the control on a template form, such as a master file list, a master file editing control, a slave file page, a slave file table, a toolbar button and a slave file menu, and storing the control into a control dictionary set.
And (4) user interaction, wherein when a user interacts with the form, the service logic class executes logic, such as loading data, and logic to be executed when the user clicks a button or a menu. The execution logic is performed according to the parameter configuration, the SQL script and the extension code.
After instantiating the form, the user can open the form and adjust the position and the size of the master file editing control through the unlocking control. When the window is opened, the contents of the data table can be rapidly displayed on a winform interface through the module parameters and the configured ID, and codes do not need to be written.
The invention supports the function of creating the printing template during the operation, stores the created printing template into the database, and calls the printing template of the database and prints by combining a data source when a user prints. The invention supports calling the C # code written by the user additionally, and can flexibly solve the problem that the template window can not realize the function. And calling and executing dlls specified in the parameter configuration and methods specified in the specified classes through a reflection mechanism. The whole using process is a user configuration module, a template designates which template window is to be instantiated, the template window is instantiated through reflection when the configured module is opened, a control is dynamically created, and designated logic is executed when the configured module is interacted with a user, so that program codes are not required to be written, and the setting of the information system module of the special equipment can be completed through configuration.
An electronic device, comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for executing the configurable special equipment information system platform implementation method.
A computer readable storage medium having stored thereon a computer program for execution by a processor of a configurable special equipment informatization system platform implementation method.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner; those skilled in the art can readily practice the invention as shown and described in the drawings and detailed description herein; however, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the scope of the invention as defined by the appended claims; meanwhile, any changes, modifications, and evolutions of the equivalent changes of the above embodiments according to the actual techniques of the present invention are still within the protection scope of the technical solution of the present invention.

Claims (10)

1. The configurable special equipment informatization system platform implementation method is characterized by comprising the following steps:
the method comprises the steps of performing window templating, and establishing a template window, wherein the template window comprises a plurality of control layouts, and the template window corresponds to a window control construction class and a service logic class;
instantiating the template window, and instantiating the template window through a reflection mechanism;
acquiring configuration information, and reading corresponding module configuration information through ID;
generating a control, reading module configuration information by the form control construction class, and dynamically creating the control on the template form;
and user interaction, wherein when the user interacts with the form, the service logic class executes logic.
2. The configurable special equipment informatization system platform implementation method of claim 1, wherein: in the form templating step, the form of the template corresponds to a form control construction class and a service logic class.
3. The configurable special equipment informatization system platform implementation method of claim 1, wherein: in the step of generating the control, the form control construction class dynamically creates a master file list, a master file editing control, a slave file page, a slave file table, a toolbar button and a slave file menu on a template form.
4. The configurable special equipment informatization system platform implementation method of claim 1, wherein: and in the step of generating the control, the control is stored in a control dictionary set by the form control construction class.
5. The configurable special equipment informatization system platform implementation method of claim 3, wherein: the system further comprises an editing control, and after a user opens the form, the position and the size of the main file editing control are adjusted through the unlocking control.
6. The configurable special equipment informatization system platform implementation method of claim 1, wherein: in the user interaction step, the execution logic is performed according to parameter configuration, an SQL script and an extension code.
7. The configurable special equipment informatization system platform implementation method of claim 4, wherein: in the user interaction step, when the window is opened, the content of the data table is displayed on a winform interface through the module parameters and the configured ID.
8. The configurable special equipment informatization system platform implementation method of claim 1, wherein: and in the user interaction step, a printing template creating request during operation is received and responded, the created printing template is stored in the database, and when the user prints, the printing template of the database is called out and is printed by combining with the data source.
9. An electronic device, characterized by comprising: a processor;
a memory; and a program, wherein the program is stored in the memory and configured to be executed by the processor, the program comprising instructions for carrying out the method according to any one of claims 1-8.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program is executed by a processor for performing the method according to any of claims 1-8.
CN202110771165.9A 2021-07-08 2021-07-08 Configurable special equipment informatization system platform implementation method, equipment and medium Pending CN113220406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110771165.9A CN113220406A (en) 2021-07-08 2021-07-08 Configurable special equipment informatization system platform implementation method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110771165.9A CN113220406A (en) 2021-07-08 2021-07-08 Configurable special equipment informatization system platform implementation method, equipment and medium

Publications (1)

Publication Number Publication Date
CN113220406A true CN113220406A (en) 2021-08-06

Family

ID=77081173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110771165.9A Pending CN113220406A (en) 2021-07-08 2021-07-08 Configurable special equipment informatization system platform implementation method, equipment and medium

Country Status (1)

Country Link
CN (1) CN113220406A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981855A (en) * 2012-11-23 2013-03-20 蓝盾信息安全技术股份有限公司 Template-based interface autogeneration method and system
CN103365659A (en) * 2013-07-10 2013-10-23 福建富士通信息软件有限公司 Method for realizing dynamic interface allocation
CN104111826A (en) * 2013-04-19 2014-10-22 杭州新世纪电子科技有限公司 Software project development method and device
US20150248276A1 (en) * 2014-03-03 2015-09-03 Ca, Inc. Api publication on a gateway using a developer portal
CN111580791A (en) * 2020-04-27 2020-08-25 山东浪潮通软信息科技有限公司 Method and device for generating window

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981855A (en) * 2012-11-23 2013-03-20 蓝盾信息安全技术股份有限公司 Template-based interface autogeneration method and system
CN104111826A (en) * 2013-04-19 2014-10-22 杭州新世纪电子科技有限公司 Software project development method and device
CN103365659A (en) * 2013-07-10 2013-10-23 福建富士通信息软件有限公司 Method for realizing dynamic interface allocation
US20150248276A1 (en) * 2014-03-03 2015-09-03 Ca, Inc. Api publication on a gateway using a developer portal
CN111580791A (en) * 2020-04-27 2020-08-25 山东浪潮通软信息科技有限公司 Method and device for generating window

Similar Documents

Publication Publication Date Title
US9904522B2 (en) Web development system
US20060041879A1 (en) System and method for changing defined user interface elements in a previously compiled program
US8095570B2 (en) Decorated model architecture for efficient model-driven application development
EP1906275B1 (en) Natively retaining project documentation in a controller
EP1929399A2 (en) System and method for creating and using graphical object instances in a statechart environment
CN108664242B (en) Method and device for generating visual interface, electronic equipment and readable storage medium
CN113064593B (en) Method and device for dynamic mobile APP, computer equipment and storage medium
US7689903B2 (en) Unified markup language processing
CN113655996A (en) Enterprise-level system generation method based on demand model
CN113220406A (en) Configurable special equipment informatization system platform implementation method, equipment and medium
JP2001296996A (en) Automatic generating device of component and expressing method
CN113177292B (en) Universal BIM secondary development implementation method and device
CN115686462A (en) React-Native based engineering architecture method and system
Samara A practical approach for detecting logical error in object oriented environment
Schröpfer et al. A Generic Projectional Editor for EMF Models.
US20030233373A1 (en) Method, computer program product, and system for automatic class generation with simultaneous customization and interchange capability
CN114218666A (en) Simulation preprocessing method and device
WO2016092626A1 (en) Development assistance system
CN115774569B (en) High-integration simulation tool modularized packaging method
CN116414375B (en) Method and system for exporting design edition source code
JP2803090B2 (en) MPU simulation method and MPU simulator
CN117608560B (en) LVGL page display code generation method, device, equipment and medium
KR20240009757A (en) Windows-based automotive software simulation device and method through autosar stack virtualization
Kmjetin et al. Scripting framework for graphical configuration tool for embedded devices
Khajenoori et al. Enhancing software reusability through effective use of the essential modelling approach

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210806