Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Editing method based on C# and irrelevant to data types

A data type and editing technology, applied in the direction of electrical digital data processing, program control design, instruments, etc., can solve the problems of unfriendly man-machine interface, poor scalability, low configuration efficiency, etc., to achieve scalability , rich and flexible functions, and professional effects

Active Publication Date: 2015-03-04
CHINA TECHENERGY +1
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] In order to overcome the disadvantages of low configuration efficiency, error-prone, unfriendly man-machine interface and poor scalability in the current traditional engineering configuration software, the present invention provides an editing method based on C# that has nothing to do with data types. Modify the data type, and the editing method adopts the technology of dynamically generating code, which can automatically adapt to the change of the point type while realizing the rich and flexible database configuration method

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
  • Editing method based on C# and irrelevant to data types
  • Editing method based on C# and irrelevant to data types
  • Editing method based on C# and irrelevant to data types

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The technical scheme that the present invention provides is to use the attribute frame technology PropertyGrid of C#, use the basic situation of PropertyGrid ( figure 2 ) is: develop the definition of a certain class in advance, generate a memory object of this class through instantiation when the program is running, associate the memory object with the PropertyGrid, and the PropertyGrid obtains the members of the memory object through the reflection mechanism Variable information, display the data of each member variable in different editing ways in the attribute box, and provide different styles of editing functions for each member variable.

[0069] One, technical solution description of the present invention:

[0070] Such as Figure 4 As shown, the existing data dictionary used to define the point table will be used, and the style of the data dictionary is as follows Figure 6 and Figure 7 As shown (according to the on-site material quantity parameters, define...

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 provides an editing method based on C# and irrelevant to data types. The method comprises the following steps: developing a definition of a type according to a data dictionary defined in advance; instancing for generating an internal storage object of the type during a program running process; relating the internal storage object with a Property Grid; acquiring member variable information of the internal storage object by the Property Grid through a reflex mechanism; displaying the data of all member variables in the Property Grid in different editing modes and supplying editing functions for different styles to all the member variables.

Description

technical field [0001] The invention belongs to the technical field of nuclear power instrument control configuration, in particular to an editing method independent of data types. Background technique [0002] In the field of nuclear power plant DCS, the field devices of nuclear power plants are defined as points, and the specific physical parameters of the field devices of nuclear power plants are defined as point information, and each physical parameter includes multiple features, which are defined as point items. For Physical parameters of the same type have the same point items. For example, for the parameter information of the normal temperature of the temperature measurement board, the corresponding point items include: point name, point description, unit, lower limit of range, upper limit of range, default value, signal type And so on, all these point items constitute the point information of this point. In the engineering configuration, each point of the nuclear po...

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): G06F9/45
Inventor 王文奎傅春霞胡俊刘松王中青彭立赵慧丽
Owner CHINA TECHENERGY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products