CN108804095B - Attribute definition method of monitoring picture pixel - Google Patents

Attribute definition method of monitoring picture pixel Download PDF

Info

Publication number
CN108804095B
CN108804095B CN201810360433.6A CN201810360433A CN108804095B CN 108804095 B CN108804095 B CN 108804095B CN 201810360433 A CN201810360433 A CN 201810360433A CN 108804095 B CN108804095 B CN 108804095B
Authority
CN
China
Prior art keywords
pixel
character string
variable
script command
attribute
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.)
Active
Application number
CN201810360433.6A
Other languages
Chinese (zh)
Other versions
CN108804095A (en
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.)
Fuzhou Zhima Intelligent Technology Co ltd
Original Assignee
Fuzhou Zhima Intelligent Technology Co ltd
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 Fuzhou Zhima Intelligent Technology Co ltd filed Critical Fuzhou Zhima Intelligent Technology Co ltd
Priority to CN201810360433.6A priority Critical patent/CN108804095B/en
Publication of CN108804095A publication Critical patent/CN108804095A/en
Application granted granted Critical
Publication of CN108804095B publication Critical patent/CN108804095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The invention provides a method for defining attributes of a monitoring picture pixel, which comprises the steps of predefining a marking mode of a script command character string of a pixel attribute variable in a source code, drawing the pixel, defining a corresponding script command for display and operation for each basic graph in the pixel, and marking the character string of the pixel attribute variable according to the predefined marking mode; marking the integral definition category and the index name of the pixel of the marked character string, and then adding the integral definition category and the index name into a pre-established macro definition gallery; when the pixels are to be referred in the later monitoring picture, the actual definition of the pixel attributes can be completed only by referring the pixels through the index names and modifying the marked variables in the character strings of the script commands for display and operation. And during later-stage reference, the attribute modification of the pixel can be realized only by indexing the reference pixel and modifying the variable of the character string, so that the development efficiency is greatly improved.

Description

Attribute definition method of monitoring picture pixel
Technical Field
The invention relates to the field of automation control, in particular to a method for defining attributes of monitoring picture pixels in equipment monitoring of a monitoring system.
Background
Under the industrial 4.0 background, the automation and information technology is mature day by day, and the application market of the decentralized control system in China is moderately increased. Some problems have been found in long-term development applications. The picture development of a control system project needs to design and use pixels such as a flow chart of a project, a large number of physical schematic diagrams, a dynamic diagram in the process of project operation and the like. Many pixels are reused, but the attribute definition part of each pixel is different, and each pixel needs to establish a data link with the database data again to completely define the attribute again. When the engineering size is large, the search of the label point and the definition of the function of the pixel attribute become very complicated and time-consuming.
Disclosure of Invention
The technical problem to be solved by the invention is to provide an attribute definition method of a monitoring picture pixel, which is characterized in that a macro definition gallery is set and a reference index is established for similar pixels of an industrial monitoring picture, a character string representing a pixel attribute variable is marked, and the attribute modification of the pixel can be realized only by indexing the reference pixel and modifying the variable of the character string during later reference.
The invention is realized by the following steps: a method for defining the attribute of a monitoring picture pixel comprises the following steps:
step S1, predefining a marking mode of a script command character string of a pixel attribute variable in a source code, wherein the pixel attribute variable comprises a monitoring link point variable, a picture variable and an operation script command variable;
step S2, drawing the pixel combined by the basic graphics;
step S3, defining a corresponding script command for display and operation for each basic graph in the pixels, and labeling the character strings of the attribute variables of the pixels in the script command for display and operation according to the predefined labeling mode;
step S4, marking the integral definition category and index name of the pixel of the made character string, and then adding the integral definition category and index name into a pre-established macro definition gallery;
and step S5, when the pixels are to be referred by the later-stage monitoring picture, the actual definition of the pixel attributes can be completed only by referring the pixels by the index names and modifying the marked variables in the character strings of the script commands for display and operation.
Further, the labeling mode is as follows: and the character strings of monitoring link point variables, picture variables and operation script command variables are represented by head envelope and tail envelope of two # numbers.
Further, the basic graphics include lines, rectangles, ovals, rounded rectangles, bitmaps, and characters.
Further, the steps S3 to S5 are performed in the form of a pop-up dialog box, wherein the step S5 is to automatically list the variables marked up in the character string of the script command for display and operation through the pop-up dialog box, and pop-up a new dialog box for user modification after being selected.
The invention has the following advantages: the method comprises the steps of predefining a marking mode of a script command character string of a pixel attribute variable in a source code, marking the character string of the pixel attribute variable in a script command for display and operation according to the predefined marking mode, then integrally defining a category and an index name for a pixel, and adding the pixel into a pre-established macro definition gallery.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of the method of the present invention.
FIG. 2 is a schematic diagram of an example of a pixel rendered in the method of the present invention.
FIG. 3 is a diagram illustrating an example of marking the character string of the script command in the method according to the present invention.
FIG. 4 is a diagram illustrating an example of adding a drawn pixel to a macro definition gallery in the method of the present invention.
FIG. 5 is an exemplary illustration of creating a pixel in a monitor system screen in accordance with the method of the present invention.
Detailed Description
In the field of automation control, during secondary development of monitoring configuration software, the shapes of picture example pixels corresponding to similar devices are the same, and the difference is that linked monitoring data or picture defined data are different, namely, attributes are different. Therefore, only partial modifications of these different points are considered. When the pixel is established, the different points which may appear are reserved as changeable attributes, and when the pixel is actually applied, the personalized attributes are changed.
Based on the above idea, please refer to fig. 1 to 5, the method for defining attributes of pixels of a monitoring screen according to the present invention includes:
step S1, pre-defining the labeling mode of the script command character string of the pixel attribute variable in the source code, wherein the pixel attribute variable comprises a monitoring link point variable, a picture variable and an operation script command variable. For example: the marking mode may be a character string of two # number head and tail envelope script commands, but the invention is not limited to this, and other marking modes may also be used.
Step S2, as shown in fig. 2, drawing a pixel composed of basic graphics in a picture by a mouse and a keyboard; the basic graphics include lines, rectangles, ellipses, rounded rectangles, bitmaps, characters, and the like.
Step S3, a script command for corresponding display and operation is defined for each basic graph in the pixels, such as the basic graph "text" in fig. 2 is defined as displaying the real-time database value, and the label point name is "rdb.
And then, according to the predefined marking mode, marking the character string of the attribute variable of the icon in the script command for display and operation so as to show the difference from the character string of the general script command. As shown in fig. 3, the variables of the monitoring link point, the different screen variables, and the different operation script commands of the basic graphic "text" are enveloped by two pound marks (#); for this basic graph "text", the variable of the monitoring link point is the number "001" of the device, so only "001" needs to be enveloped by # to be used.
Step S4, as shown in fig. 4, marks the whole of the pixel (in this embodiment, the whole of the pixel is composed of a rectangle, an ellipse, and a character "text") with the created character string, defines the category and the index name, and adds the category and the index name to the pre-established macro definition gallery.
Step S5, when the post-monitoring picture needs to refer to a pixel, as shown in fig. 5, the pixel can be found by inputting an index name, and the marked variables in the character string of the script command that is displayed and operated are automatically listed through the dialog box of the popup window, and can be modified one by one after selection, thereby completing the actual definition of the pixel attribute.
In the present invention, as shown in fig. 3 to 5, the operations in the steps S3 to S5 can be performed through a pop-up dialog box, which is not only convenient, but also less prone to error.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (2)

1. A method for defining the attribute of a monitoring picture pixel is characterized in that: the method comprises the following steps:
step S1, predefining a marking mode of a script command character string of a pixel attribute variable in a source code, wherein the pixel attribute variable comprises a monitoring link point variable, a picture variable and an operation script command variable; the labeling mode is as follows: adopting the head-to-tail envelopes of two # numbers to represent character strings of monitoring link point variables, picture variables and operation script command variables;
step S2, drawing the pixel combined by the basic graphics;
step S3, defining a corresponding script command for display and operation for each basic graph in the pixels, and labeling the character strings of the attribute variables of the pixels in the script command for display and operation according to the predefined labeling mode;
step S4, marking the integral definition category and index name of the pixel of the made character string, and then adding the integral definition category and index name into a pre-established macro definition gallery;
step S5, when the later stage monitoring picture needs to reference the pixel, the actual definition of the pixel attribute can be completed only by referring the pixel through the index name and modifying the marked variable in the character string of the script command for display and operation;
the steps S3 to S5 are performed in the form of a pop-up dialog box, wherein the step S5 is to automatically list the marked variables in the character string of the script command for display and operation through the pop-up dialog box, and pop-up a new dialog box for modification by the user after being selected.
2. The method according to claim 1, wherein the method comprises the following steps: the basic graphics include lines, rectangles, ovals, rounded rectangles, bitmaps, and characters.
CN201810360433.6A 2018-04-20 2018-04-20 Attribute definition method of monitoring picture pixel Active CN108804095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810360433.6A CN108804095B (en) 2018-04-20 2018-04-20 Attribute definition method of monitoring picture pixel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810360433.6A CN108804095B (en) 2018-04-20 2018-04-20 Attribute definition method of monitoring picture pixel

Publications (2)

Publication Number Publication Date
CN108804095A CN108804095A (en) 2018-11-13
CN108804095B true CN108804095B (en) 2021-12-24

Family

ID=64093741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810360433.6A Active CN108804095B (en) 2018-04-20 2018-04-20 Attribute definition method of monitoring picture pixel

Country Status (1)

Country Link
CN (1) CN108804095B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111381813B (en) * 2018-12-28 2023-03-14 抖音视界有限公司 Front-end page debugging method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
CN103092585A (en) * 2011-11-04 2013-05-08 上海宝信软件股份有限公司 Image library configuration design system for integrated supervision software

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303762A (en) * 2008-06-06 2008-11-12 北京四方继保自动化股份有限公司 Method for managing primitive of automatization system based on dynamically loading and plug-in unit technique
CN103092585A (en) * 2011-11-04 2013-05-08 上海宝信软件股份有限公司 Image library configuration design system for integrated supervision software

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
风电场SCADA系统图形及组态功能的研究;吴欣乾;《中国优秀硕士学位论文全文数据库》;20131215;第19页-36页 *

Also Published As

Publication number Publication date
CN108804095A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN107544806B (en) Visualize list method for drafting
Tullis Screen design
CN105094832A (en) WYSIWYG method and system for dynamically generating user interface
CN106844885B (en) BIM technology-based drawing frame and drawing label design method
CN101414301B (en) Device and method for processing object in reservoir in content management system
US7949946B2 (en) Layout and line routing composition
WO2023138435A1 (en) Application development platform, micro-program generation method, and device and storage medium
CN108804095B (en) Attribute definition method of monitoring picture pixel
CN110333861B (en) PLC-based general UI design method for upper computer
CN108984175A (en) The power grid SVG line chart methods of exhibiting of object-oriented suitable for mobile device
CN109086515B (en) Modeling method for primary equipment drawing information in SSD (solid State drive) of intelligent substation based on SVG (scalable vector graphics)
CN110990431A (en) Method for realizing synchronous linkage carousel of China map and line graph data
CN113515275A (en) WYSIWYG cloud industrial configuration software system and development method thereof
CN104239606A (en) UML (Unified Modeling Language) modeling method and device capable of supporting screen touch under web environment
CN108717355A (en) A kind of macro substitution method of monitoring interface pixel
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN107203503B (en) Method for monitoring form in real time applied to SVG interface
CN107402764B (en) Graphical page program function feature code calculation and refreshing method
CN112540958B (en) File processing method, device, equipment and computer storage medium
EP2602712A1 (en) Program-producing device and image control system
CN107170309B (en) Display method of learning mobile application platform
CN112667210A (en) Modularization customizing method and device for geographic information system software
CN106843907B (en) PAM matrix-based visual editing processing method
JP2006065364A (en) Information management method, program, and device
CN109542442A (en) A kind of display interface edit methods based on ARINC661 standard

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
GR01 Patent grant
GR01 Patent grant