CN110320846B - Configuration software variable binding method and device and storage medium - Google Patents
Configuration software variable binding method and device and storage medium Download PDFInfo
- Publication number
- CN110320846B CN110320846B CN201910688499.2A CN201910688499A CN110320846B CN 110320846 B CN110320846 B CN 110320846B CN 201910688499 A CN201910688499 A CN 201910688499A CN 110320846 B CN110320846 B CN 110320846B
- Authority
- CN
- China
- Prior art keywords
- variable
- priority
- binding
- configuration software
- state
- 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
Links
- 230000027455 binding Effects 0.000 title claims abstract description 152
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000003993 interaction Effects 0.000 claims description 18
- 230000006870 function Effects 0.000 claims description 5
- 230000002452 interceptive effect Effects 0.000 abstract description 11
- 238000004891 communication Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000009870 specific binding Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure relates to a method and a device for binding configuration software variables and a storage medium. The binding method of the configuration software variables comprises the following steps: binding a plurality of variables with an element of configuration software; a variable priority is set for each variable to which the element is bound. According to the method, control and UI interactive display of one element on a plurality of communication variables or local variables can be realized through one-to-many variable binding of configuration software.
Description
Technical Field
The present disclosure relates to the field of human-computer interaction, and in particular, to a method and an apparatus for binding configuration software variables, and a storage medium.
Background
With the rapid improvement of the industrial automation level and the wide application of computers in the industrial field, people have higher and higher requirements on industrial automation, a variety of control devices and process monitoring devices are widely applied in the industrial field, and HMI (Human Machine Interface) configuration software is important Human-computer interaction software, so that a user can configure pictures and functions to achieve the effect of control and monitoring according to the control requirement of the user. One important component is the binding of variables, i.e., the element makes relative UI changes according to the bound variable changes.
Disclosure of Invention
The inventor finds out through research that: all the variable binding forms of the configuration software of related technologies in the industry are one-to-one forms, namely, one element can only bind one communication variable or one local variable. If a user wants to bind a plurality of variables to one element, the control of the variables can be more flexibly carried out, and the compatibility and expansibility of the binding part of the configuration software variables are extremely poor.
In view of at least one of the above technical problems, the present disclosure provides a method and an apparatus for binding configuration software variables, and a storage medium, which can implement binding of multiple variables by a single element of configuration software.
According to one aspect of the present disclosure, there is provided a method for binding configuration software variables, including:
binding a plurality of variables with an element of configuration software;
a variable priority is set for each variable to which the element is bound.
In some embodiments of the present disclosure, the configuration software variable binding method further includes:
placing all variables bound by the element into a multivariate set;
and traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables.
In some embodiments of the present disclosure, the variable priority displays a priority for the variable;
when the variable state of the high variable priority variable is the display state, the variable state of the low variable priority variable is the hidden state.
In some embodiments of the present disclosure, binding the plurality of variables to an element of the configuration software comprises:
and aiming at each variable, judging whether the variable is bound with one element of the configuration software or not according to the input of a user.
In some embodiments of the present disclosure, the configuration software variable binding method further includes:
presetting a plurality of variable priorities, and a logic operation sequence and a man-machine interaction sequence corresponding to each variable priority;
the setting of the variable priority for each variable to which the element is bound comprises:
and selecting corresponding variable priority for each variable bound by the element according to the input of a user.
In some embodiments of the disclosure, the setting of the variable priority for each variable to which the element is bound comprises:
setting corresponding variable priority for each variable bound by the element according to input of a user;
and setting a logic operation sequence and a man-machine interaction sequence for all variables bound by the elements according to the input of a user.
According to another aspect of the present disclosure, there is provided a configuration software variable binding apparatus including:
the binding module is used for binding a plurality of variables with one element of the configuration software;
a priority setting module for setting a variable priority for each variable bound by the element.
In some embodiments of the present disclosure, the configuration software variable binding apparatus is configured to perform operations for implementing the configuration software variable binding method according to any of the embodiments.
According to another aspect of the present disclosure, there is provided a configuration software variable binding apparatus including:
a memory to store instructions;
a processor, configured to execute the instructions to enable the configuration software variable binding apparatus to perform operations for implementing the configuration software variable binding method according to any of the embodiments.
According to another aspect of the present disclosure, a configuration software is provided, which includes the configuration software variable binding apparatus according to any of the embodiments described above.
According to another aspect of the present disclosure, a human interface device is provided, including the configuration software according to any one of the embodiments.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, in which computer instructions are stored, and when executed by a processor, implement the configuration software variable binding method according to any of the embodiments.
The method can realize the control of one element on a plurality of communication variables or local variables and the interactive display of a User Interface (UI) through the one-to-many variable binding of the configuration software.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of some embodiments of a configuration software variable binding method according to the present disclosure.
FIG. 2 is a diagram illustrating another embodiment of a method for binding configuration software variables according to the present disclosure.
FIG. 3 is a diagram illustrating a method for binding configuration software variables according to still further embodiments of the present disclosure.
FIG. 4 is a diagram of variable binding in some embodiments of the present disclosure.
FIG. 5 is a diagram illustrating a method for binding configuration software variables according to still further embodiments of the present disclosure.
FIG. 6 is a schematic diagram illustrating some embodiments of a configuration software variable binding apparatus according to the present disclosure.
FIG. 7 is a schematic diagram illustrating another embodiment of a configuration software variable binding apparatus according to the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a schematic diagram of some embodiments of a configuration software variable binding method according to the present disclosure. Preferably, this embodiment can be performed by configuring the binding of software variables according to the present disclosure. The method comprises the following steps:
In some embodiments of the present disclosure, step 11 may comprise: and aiming at each variable, judging whether the variable is bound with one element of the configuration software or not according to the input of a user.
In some embodiments of the present disclosure, the element may be a button or a label of the human-machine interface.
In some embodiments of the present disclosure, the variable may be a communication variable or a local variable.
And step 12, setting variable priority for each variable bound by the element.
In some embodiments of the present disclosure, the variable priority may display a priority for the variable.
In some embodiments of the present disclosure, in a case where the variable state of the high variable priority variable is the display state, the variable state of the low variable priority variable is the hidden state.
Based on the configuration software variable binding method provided by the embodiment of the disclosure, control of one element on a plurality of communication variables or local variables and interactive display of a User Interface (UI) can be realized through one-to-many variable binding of configuration software.
FIG. 2 is a diagram illustrating another embodiment of a method for binding configuration software variables according to the present disclosure. Preferably, this embodiment can be performed by configuring the binding of software variables according to the present disclosure. Steps 21-22 of the embodiment of fig. 2 are the same as or similar to steps 11-12, respectively, of the embodiment of fig. 1. The method comprises the following steps:
and step 20, judging whether the multi-variable binding is carried out or not according to the selection of the variable binding form input by the user. In the case where the user selects the multi-variable binding, step 22 is performed; otherwise, in case the user selects univariate binding, step 23 is performed.
In some embodiments of the present disclosure, step 21 may comprise: and aiming at each variable, judging whether the variable is bound with one element of the configuration software or not according to the input of a user.
FIG. 3 is a diagram illustrating a method for binding configuration software variables according to still further embodiments of the present disclosure. Preferably, this embodiment can be performed by configuring the binding of software variables according to the present disclosure. The method comprises step 30 and steps 31-310 of the embodiment of fig. 3, wherein:
and step 30, presetting a plurality of variable priorities, and a logic operation sequence and a man-machine interaction sequence corresponding to each variable priority.
At step 32, it is determined whether a variable needs to be bound to a component. In the case where no variable needs to be bound to an element, end; in case a variable needs to be bound to an element, step 33 is performed.
Step 33, the device binding channel is started.
And step 34, judging whether the multi-variable binding is carried out or not according to the selection of the variable binding form input by the user. In the case where the user selects multivariate binding, step 36 is performed; otherwise, in case the user selects univariate binding, step 35 is performed.
FIG. 4 is a diagram of variable binding in some embodiments of the present disclosure. As shown in fig. 4, for each variable of a plurality of variables, whether to bind needs to be judged; if binding, the corresponding variable priority is also required to be set.
And step 38, putting all variables bound by the elements into a multi-variable set (code implementation part) to perform subsequent logic operation control and UI interactive display setting.
In some embodiments of the present disclosure, if the state of the variable with high priority is the "display" state, the states of the variables with other priorities are all set to the "hidden" state.
In some embodiments of the present disclosure, the logic control may include a business logic control, which may include page jump, power on/off, user logout, and the like.
In other embodiments of the present disclosure, the logic control may comprise a variable logic control, wherein the variable logic control may comprise a variable incrementing, decrementing, setting 0, setting 1, and the like.
And step 39, traversing the multi-variable set according to the variable priority to determine the sequential logical operation sequence and human-computer interaction sequence of the single-element bound multi-variable.
The above-described embodiments of the present disclosure can confirm the binding form of the variables, i.e., the one-to-one variable binding form of the related art or the one-to-multi variable binding form in the present disclosure, by selecting whether the element requires the binding form of the multi-variables.
The above embodiments of the present disclosure perform control or UI interactive display on variables in order by setting the priority of the multivariable corresponding to the bound elements.
The embodiment of the disclosure can realize the binding form of single-element binding multivariable, thereby enriching the variable binding compatibility and expansibility of configuration software.
The technical effect of the multivariable binding of the individual elements of the present disclosure is explained below by means of specific embodiments.
In some embodiments of the present disclosure, a tag element binds multiple communication variables. For example: an air conditioner operation fault variable 1 and an air conditioner on/off variable 2; setting the priority of two variables as its serial number, the label element can display at least four states, which are air conditioner on, air conditioner off, air conditioner failure, and air conditioner no failure. The variable priority control function is as follows: if the air conditioner is in the on state, the first priority, namely the air conditioner fault state, is displayed. In the above embodiment of the present disclosure, if the air conditioner failure is the first priority, the air conditioner is not failed and is not displayed, and then the second priority, that is, the air conditioner on-off state is displayed: and opening.
In other embodiments of the present disclosure, a multi-status indicator light element is provided. The related technology variable binding form only supports binding one variable, and can display corresponding set states according to different bit states of the variable, such as red, yellow and blue corresponding to three states respectively;
according to the multi-status indicator light element of the above-described embodiment of the present disclosure, three different variables 1, 2, 3 may be bound. The priorities of the three variables are set as corresponding priorities 1, 2 and 3, when the variable 1 is started, the multi-state indicator lamp displays the state color red corresponding to the variable 1, no matter whether the variables 2 and 3 are in the starting state or not; when the variable 1 is in the off state, and both the variables 2 and 3 are in the on state, the state indicator light displays the state color yellow corresponding to the variable 2.
FIG. 5 is a diagram illustrating a method for binding configuration software variables according to still further embodiments of the present disclosure. Preferably, this embodiment can be performed by configuring the binding of software variables according to the present disclosure. The method may comprise steps 51-58, wherein:
step 51, create the component.
At step 52, it is determined whether a variable needs to be bound to a component. In the case where no variable needs to be bound to an element, end; in case a variable needs to be bound to an element, step 53 is performed.
And step 54, judging whether the multi-variable binding is carried out according to the selection of the variable binding form input by the user. In the case where the user selects multivariate binding, step 56 is performed; otherwise, in case the user selects univariate binding, step 55 is performed.
In some embodiments of the present disclosure, step 56 may comprise: selecting corresponding variable priority for each variable bound by the element according to input of a user; and setting a logic operation sequence and a man-machine interaction sequence for all variables bound by the elements according to the input of a user.
And step 57, performing logic control operation among multiple variables.
In other embodiments of the present disclosure, the logic control may include algorithmic script logic.
In some embodiments of the disclosure, the algorithmic script logic may be: if (variable 1 is greater than 2), then (variable 1 equals variable 2).
Based on the binding method of the configuration software variables provided by the above embodiments of the present disclosure, the binding of configuration software single elements to multiple variables can be realized, and thus, the control and UI interactive display of one element on multiple communication variables or local variables can be realized.
The above embodiments of the present disclosure can realize single element binding multivariable logical operation control; therefore, the corresponding variable can be judged according to the judgment of the display level priority, and then controlled or displayed.
The embodiment of the disclosure can realize a more flexible configuration software variable binding configuration form, thereby expanding the compatibility and expansibility of the variable binding form of the existing configuration software.
FIG. 6 is a schematic diagram illustrating some embodiments of a configuration software variable binding apparatus according to the present disclosure. As shown in fig. 6, the configuration software variable binding apparatus may include a binding module 61 and a priority setting module 62, wherein:
the binding module 61 is configured to bind a plurality of variables to an element of the configuration software.
In some embodiments of the present disclosure, the binding module 61 may be configured to determine, for each variable, whether to bind the variable with an element of the configuration software according to the input of the user.
A priority setting module 62 for setting variable priorities for each variable to which the element is bound.
In some embodiments of the present disclosure, the variable priority displays a priority for the variable; when the variable state of the high variable priority variable is the display state, the variable state of the low variable priority variable is the hidden state.
In some embodiments of the present disclosure, the configuration software variable binding apparatus may be further configured to place all variables bound by the element into a multi-variable set; and traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables.
In some embodiments of the present disclosure, the configuration software variable binding apparatus may be further configured to preset a plurality of variable priorities, and a logic operation sequence and a human-computer interaction sequence corresponding to each variable priority; the priority setting module 62 may be configured to select a corresponding variable priority for each variable to which the element is bound based on user input.
In other embodiments of the present disclosure, the priority setting module 62 sets a corresponding variable priority for each variable bound to the component according to an input of a user; and setting a logic operation sequence and a man-machine interaction sequence for all variables bound by the elements according to the input of a user.
In some embodiments of the present disclosure, the binding module 61 may be configured to determine whether a selection of a multi-variable binding form is required, and determine a specific binding mode of a variable according to the selection of the variable binding form; if the binding form of the single element and the multiple variables is selected, judging whether the current variables are bound, and setting the priority of the current variables under the condition that the current variables need to be bound, wherein the current variables are each of the multiple variables; and selecting the binding form of the single element and the single variable, and performing one-to-one variable binding setting.
In some embodiments of the present disclosure, the configuration software variable binding apparatus may be configured to perform operations for implementing the configuration software variable binding method according to any of the embodiments (e.g., any of fig. 1-5).
In the embodiment of the disclosure, under the multi-variable binding form, the selected bound variables can be put into a multi-variable set to perform subsequent logic operation control and UI interactive display setting; the above-described embodiments of the present disclosure confirm the order of traversing the multivariable sets according to the priority of the bound multivariable in the multivariable binding form, thereby implementing the logical order and UI interaction order of the single-element bound multivariable order.
FIG. 7 is a schematic diagram illustrating another embodiment of a configuration software variable binding apparatus according to the present disclosure. As shown in fig. 7, the configuration software variable binding apparatus may include a memory 71 and a processor 72,
wherein:
a memory 71 for storing instructions.
A processor 72, configured to execute the instructions to cause the configuration software variable binding apparatus to perform operations for implementing the configuration software variable binding method according to any of the embodiments (e.g., any of fig. 1-5).
The configuration software variable binding device provided by the above embodiment of the present disclosure can realize that the configuration software single element binds multiple variables, thereby realizing control and UI interactive display of one element on multiple communication variables or local variables.
The above embodiments of the present disclosure can realize single element binding multivariable logical operation control; therefore, the corresponding variable can be judged according to the judgment of the display level priority, and then controlled or displayed.
The embodiment of the disclosure can realize a more flexible configuration software variable binding configuration form, thereby expanding the compatibility and expansibility of the variable binding form of the existing configuration software.
According to another aspect of the present disclosure, a configuration software is provided, which includes the configuration software variable binding apparatus as described in any of the embodiments above (e.g., the embodiments of fig. 6 or fig. 7).
Based on the configuration software provided by the above embodiments of the present disclosure, the binding form of the variable, i.e., the one-to-one variable binding form of the related art or the one-to-multi variable binding form of the present disclosure, can be confirmed by selecting whether the element requires the binding form of the multi-variable.
The above embodiments of the present disclosure perform control or UI interactive display on variables in order by setting the priority of the multivariable corresponding to the bound elements.
The embodiment of the disclosure can realize the binding form of single-element binding multivariable, thereby enriching the variable binding compatibility and expansibility of configuration software.
According to another aspect of the present disclosure, a human interface device is provided, including the configuration software according to any one of the embodiments.
Based on the human-computer interface device provided by the above embodiment of the present disclosure, the configuration software single-element binding multivariable can be realized, so that the control and UI interactive display of one element on a plurality of communication variables or local variables can be realized.
The above embodiments of the present disclosure can realize single element binding multivariable logical operation control; therefore, the corresponding variable can be judged according to the judgment of the display level priority, and then controlled or displayed.
The embodiment of the disclosure can realize a more flexible configuration software variable binding configuration form, thereby expanding the compatibility and expansibility of the variable binding form of the existing configuration software.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, which when executed by a processor, implement the configuration software variable binding method according to any of the embodiments (for example, any of fig. 1 to 5) above.
Based on the computer readable storage medium provided by the above embodiments of the present disclosure, it is possible to implement configuration software single-element binding multivariable, thereby implementing control and UI interactive display of one element on multiple communication variables or local variables.
The above embodiments of the present disclosure can realize single element binding multivariable logical operation control; therefore, the corresponding variable can be judged according to the judgment of the display level priority, and then the control or display is carried out
The embodiment of the disclosure can realize a more flexible configuration software variable binding configuration form, thereby expanding the compatibility and expansibility of the variable binding form of the existing configuration software.
The configuration software variable binding apparatus described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present disclosure has been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware to implement the above embodiments, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
Claims (11)
1. A method for binding configuration software variables, comprising:
binding a plurality of variables with an element of configuration software;
setting a variable priority for each variable to which the element is bound;
the configuration software variable binding method further comprises the following steps:
placing all variables bound by the element into a multivariate set;
traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables,
the plurality of variables comprise an air conditioner operation fault variable and an air conditioner switch variable, the variable priority of the air conditioner operation fault variable is a first priority, the variable priority of the air conditioner switch variable is a second priority, and the element is used for displaying an air conditioner on state, an air conditioner off state, an air conditioner fault state and an air conditioner no-fault state;
the variable priority control function includes: if the air conditioner is in the on state, displaying the fault state of the air conditioner; if the air conditioner has no fault, the running fault variable of the air conditioner is not displayed, and the on-off variable of the air conditioner is displayed.
2. The configuration software variable binding method of claim 1,
the variable priority is a variable display priority;
when the variable state of the high variable priority variable is the display state, the variable state of the low variable priority variable is the hidden state.
3. The method of claim 1 or 2, wherein binding the variables to an element of the configuration software comprises:
and aiming at each variable, judging whether the variable is bound with one element of the configuration software or not according to the input of a user.
4. The configuration software variable binding method according to claim 1 or 2, further comprising:
presetting a plurality of variable priorities, and a logic operation sequence and a man-machine interaction sequence corresponding to each variable priority;
the setting of the variable priority for each variable to which the element is bound comprises:
and selecting corresponding variable priority for each variable bound by the element according to the input of a user.
5. The configuration software variable binding method of claim 1 or 2, wherein the setting of variable priorities for each variable to which the element is bound comprises:
setting corresponding variable priority for each variable bound by the element according to input of a user;
and setting a logic operation sequence and a man-machine interaction sequence for all variables bound by the elements according to the input of a user.
6. A method for binding configuration software variables, comprising:
binding a plurality of variables with an element of configuration software;
setting a variable priority for each variable to which the element is bound;
the configuration software variable binding method further comprises the following steps:
placing all variables bound by the element into a multivariate set;
traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables,
the element is a multi-state indicator light element, the variables comprise a first display variable and a second display variable, the variable priority of the first display variable is a first priority, and the variable priority of the second display variable is a second priority;
under the condition that the first display variable is in the starting state, the multi-state indicator light element displays the state color corresponding to the first display variable; and under the condition that the first display variable is in the closed state, if the second display variable is in the starting state, the multi-state indicator light element displays the state color corresponding to the second display variable, wherein the state color corresponding to the first display variable is different from the state color corresponding to the second display variable.
7. A configuration software variable binding apparatus, comprising:
the binding module is used for binding a plurality of variables with one element of the configuration software;
a priority setting module for setting a variable priority for each variable bound by the element;
the configuration software variable binding device is used for putting all variables bound by the elements into a multi-variable set; traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables;
the plurality of variables comprise an air conditioner operation fault variable and an air conditioner switch variable, the variable priority of the air conditioner operation fault variable is a first priority, the variable priority of the air conditioner switch variable is a second priority, and the element is used for displaying an air conditioner on state, an air conditioner off state, an air conditioner fault state and an air conditioner no-fault state;
the variable priority control function includes: if the air conditioner is in the on state, displaying the fault state of the air conditioner; if the air conditioner has no fault, the running fault variable of the air conditioner is not displayed, and the on-off variable of the air conditioner is displayed;
the configuration software variable binding apparatus is configured to perform operations for implementing the configuration software variable binding method according to any one of claims 1 to 5.
8. A configuration software variable binding apparatus, comprising:
the binding module is used for binding a plurality of variables with one element of the configuration software;
a priority setting module for setting a variable priority for each variable bound by the element;
the configuration software variable binding device is used for putting all variables bound by the elements into a multi-variable set; traversing the multi-variable set according to the variable priority to determine the logic operation sequence and the man-machine interaction sequence of the multi-variables;
the element is a multi-state indicator light element, the variables comprise a first display variable and a second display variable, the variable priority of the first display variable is a first priority, and the variable priority of the second display variable is a second priority;
under the condition that the first display variable is in the starting state, the multi-state indicator light element displays the state color corresponding to the first display variable; and under the condition that the first display variable is in the closed state, if the second display variable is in the starting state, the multi-state indicator light element displays the state color corresponding to the second display variable, wherein the state color corresponding to the first display variable is different from the state color corresponding to the second display variable.
9. A configuration software variable binding apparatus, comprising:
a memory to store instructions;
a processor configured to execute the instructions to cause the configuration software variable binding apparatus to perform operations to implement the configuration software variable binding method according to any one of claims 1-6.
10. A human interface device comprising the configuration software variable binding apparatus of any one of claims 7-9.
11. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the configuration software variable binding method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910688499.2A CN110320846B (en) | 2019-07-29 | 2019-07-29 | Configuration software variable binding method and device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910688499.2A CN110320846B (en) | 2019-07-29 | 2019-07-29 | Configuration software variable binding method and device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110320846A CN110320846A (en) | 2019-10-11 |
CN110320846B true CN110320846B (en) | 2020-11-03 |
Family
ID=68124795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910688499.2A Active CN110320846B (en) | 2019-07-29 | 2019-07-29 | Configuration software variable binding method and device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110320846B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9400910B2 (en) * | 2014-02-18 | 2016-07-26 | Adobe Systems Incorporated | Method and apparatus for storing and retrieving data embedded into the surface of a 3D printed object |
CN108345485A (en) * | 2018-01-30 | 2018-07-31 | 口碑(上海)信息技术有限公司 | identification method and device for interface view |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1662760A1 (en) * | 2004-11-30 | 2006-05-31 | Sony Ericsson Mobile Communications AB | Method for providing alerts in a mobile device and mobile device therefor |
US8380610B1 (en) * | 2006-05-09 | 2013-02-19 | Icap Services North America Llc | System and method for processing trading orders |
KR101726606B1 (en) * | 2010-11-18 | 2017-04-13 | 삼성전자주식회사 | Method and apparatus for displaying information of mobile terminal |
CN102542906A (en) * | 2011-12-20 | 2012-07-04 | 惠州市德赛西威汽车电子有限公司 | Method for displaying one road and multiple names on electronic map |
CN109697007A (en) * | 2018-12-27 | 2019-04-30 | 珠海格力电器股份有限公司 | Engineering documentation method of configuration software, configuration software and industrial touch screen |
-
2019
- 2019-07-29 CN CN201910688499.2A patent/CN110320846B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9400910B2 (en) * | 2014-02-18 | 2016-07-26 | Adobe Systems Incorporated | Method and apparatus for storing and retrieving data embedded into the surface of a 3D printed object |
CN108345485A (en) * | 2018-01-30 | 2018-07-31 | 口碑(上海)信息技术有限公司 | identification method and device for interface view |
Also Published As
Publication number | Publication date |
---|---|
CN110320846A (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3026813B1 (en) | Frequency converter | |
CN100454192C (en) | Safe PLC, sequence program creation support software, and sequence program judgment method | |
CN110320846B (en) | Configuration software variable binding method and device and storage medium | |
CN109683593B (en) | Method and equipment for testing basic functions of pulse type servo driver | |
US20150338837A1 (en) | Method and device for managing and configuring field devices in an automation installation | |
GB2531421A (en) | Device for managing and configuring field devices in an automation installation | |
CN106681719B (en) | Android-based folder icon display method | |
JP2017049870A (en) | Machine control system indicating machine operation information on indicator according to operator | |
JP2012159868A (en) | Programming device of programmable logic controller | |
US9727044B2 (en) | Method and configuration environment for supporting the configuration of an interface between simulation hardware and an external device | |
US11321102B2 (en) | Programmable display, display control method, and display control program | |
JP2008096182A (en) | Analyzer | |
JP5744363B1 (en) | Drawing software | |
JP5260088B2 (en) | Inverter device | |
CN109933391B (en) | Vehicle-mounted terminal device, display control method and device, computer device, and recording medium | |
JP5062280B2 (en) | Graph display device and program | |
WO2014181615A1 (en) | Operation assistance device | |
JP2003223204A (en) | Programming method of programmable controller, system thereof and recording medium thereof | |
CN105407298B (en) | A kind of VGA Inverse problem circuit and method | |
US10402055B2 (en) | Method for configuring an electrical drive system and machine | |
JP2007114844A (en) | User interface device | |
JP2813277B2 (en) | Sequence control program creation method | |
JP2012216242A (en) | Graph display apparatus and program | |
JP5893504B2 (en) | Measuring apparatus and set value storage method | |
JP2008059488A (en) | Sequence processing monitoring device |
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 |