CN105045575A - Formula editing method and formula editing apparatus - Google Patents

Formula editing method and formula editing apparatus Download PDF

Info

Publication number
CN105045575A
CN105045575A CN201510370111.6A CN201510370111A CN105045575A CN 105045575 A CN105045575 A CN 105045575A CN 201510370111 A CN201510370111 A CN 201510370111A CN 105045575 A CN105045575 A CN 105045575A
Authority
CN
China
Prior art keywords
variable parameter
formula
assignment
command
setting
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
CN201510370111.6A
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.)
State Grid Corp of China SGCC
State Grid Beijing Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Beijing Electric Power 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 State Grid Corp of China SGCC, State Grid Beijing Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201510370111.6A priority Critical patent/CN105045575A/en
Publication of CN105045575A publication Critical patent/CN105045575A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a formula editing method and a formula editing apparatus. The formula editing method comprises: receiving a variable parameter setting command and setting variable parameters; receiving a formula editing command, wherein the formula editing command is used for generating a formula based on the variable parameters and the variable parameters can be assigned values; receiving a value assigning command and assigning the values to the variable parameters; and receiving a calculation command, bringing the variable parameters assigned the values according to the formula to carry out calculation, and obtaining a result. According to the technical scheme of the invention, the formula editing method and the formula editing apparatus solve the problem that in the prior art, when a complex formula is frequently used for carrying out calculation, errors are easy to generate in the process of inputting the complex calculating logic.

Description

Equation editing method and formula editing device
Technical field
The present invention relates to communication technical field, in particular to a kind of equation editing method and formula editing device.
Background technology
In some construction operation of power industry, normal needs calculates electrical parameter according to various computing formula.Such as when reconnoitring large-scale industry and expanding scheme, need according to amount or area reckoning capacity, required computing formula more complicated, bother very much in the process that operating personnel obtains a result according to Formula Input Technology data, and easily go wrong, cause result of calculation inaccurate.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of equation editing method and formula editing device, the problem that when frequently using complicated formulas to calculate to solve in prior art, input complex calculation logic is easily made mistakes.
To achieve these goals, according to an aspect of the present invention, provide a kind of equation editing method, this equation editing method, comprising: the setting command receiving variable parameter, setting variable parameter; Receive equation editing order, equation editing order is used for generating formula based on variable parameter.Wherein, variable parameter can assignment.Receive assignment command to variable parameter assignment; Receive calculation command, bring the variable parameter after assignment into according to formula and calculate and obtain a result.
Further, equation editing method also comprises: receive memory command, store the result calculated.
Further, equation editing method also comprises: the setting number receiving variable parameter, and distinguishes variable parameter.
Further, receive multiple equation editing order, generate multiple formula.
To achieve these goals, according to an aspect of the present invention, provide a kind of formula editing device, this formula editing device comprises variable parameter setting module, equation editing module, assignment module and computing module.Wherein, variable parameter setting module receives the setting command setting variable parameter of variable parameter, and variable parameter can assignment.Equation editing module receives equation editing order and generates formula based on variable parameter.Assignment module receives assignment command, to variable parameter assignment.Computing module receives calculation command, brings the variable parameter after assignment into calculate and obtain a result according to formula.
Further, formula editing device also comprises: storage module, and storage module receives memory command, stores the result calculated.
Further, equation editing module receives multiple equation editing order and generates multiple formula, and storage module stores multiple formula.
Further, variable parameter setting module, receives the setting number of variable parameter, and distinguishes variable parameter.
Apply technical scheme of the present invention, first input multiple variable parameter, more each variable parameter is compiled as formula by mathematical operator.Follow-up, only need just to go out required electrical parameter according to formulae discovery to corresponding variable parameter successively assignment.Advantage of the present invention is mainly reflected in, and when needing application complicated formulas to calculate, first edits out this formula according to complicated formulas arithmetic logic.Only need corresponding variable parameter assignment just passable afterwards, problem when inputting according to the complex calculation logic of formula when avoiding calculating, arithmetic logic inputed by mistake.
Except object described above, feature and advantage, the present invention also has other object, feature and advantage.Below with reference to figure, the present invention is further detailed explanation.
Accompanying drawing explanation
The Figure of description forming a part of the present invention is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of the embodiment according to equation editing method of the present invention; And
Fig. 2 shows the schematic diagram of the embodiment according to formula editing device of the present invention.
Embodiment
It should be noted that, when not conflicting, the embodiment in the present invention and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
As shown in Figure 1, the equation editing method of the present embodiment, comprising: the setting command receiving variable parameter, setting variable parameter; Receive equation editing order, equation editing order is used for generating formula based on variable parameter.Wherein, variable parameter can assignment.Receive assignment command to variable parameter assignment; Receive calculation command, bring the variable parameter after assignment into according to formula and calculate and obtain a result.When embody rule, first input multiple variable parameter, more each variable parameter is compiled as formula by mathematical operator.Follow-up, only need just to go out required electrical parameter according to formulae discovery to corresponding variable parameter successively assignment.Advantage of the present invention is mainly reflected in, and when needing application complicated formulas to calculate, first edits out this formula according to complicated formulas arithmetic logic.Only need corresponding variable parameter assignment just passable afterwards, problem when inputting according to the complex calculation logic of formula when avoiding calculating, arithmetic logic inputed by mistake.
The equation editing method of the present embodiment also comprises reception memory command, stores the result calculated.Like this, operating personnel just inquires about every electrical parameter in time in prospecting large-scale industry expansion scheme.
Optionally, equation editing method also comprises the setting number receiving variable parameter, and distinguishes variable parameter.After variable parameter is distinguished, no matter be add mathematical operator editor formula according to multiple variable parameter or to the differentiation variable parameter that multiple variable parameter assignment can be convenient, avoid making a fault.Concrete, variable parameter can be distinguished by different letters.
In the present embodiment, multiple equation editing order can be received, generate multiple formula.Once write multiple formula and store, only needing to recall respective formula during use and assignment is carried out to variable parameter just can employ easily.
As shown in Figure 2, present invention also offers a kind of formula editing device, this formula editing device comprises variable parameter setting module, equation editing module, assignment module and computing module.Wherein, variable parameter setting module receives the setting command setting variable parameter of variable parameter, and variable parameter can assignment.Equation editing module receives equation editing order and generates formula based on variable parameter.Assignment module receives assignment command, to variable parameter assignment.Computing module receives calculation command, brings the variable parameter after assignment into calculate and obtain a result according to formula.
Apply formula editing device of the present invention, first input multiple variable parameter by parameter setting module, then by equation editing module, each variable parameter is compiled as formula by mathematical operator.Follow-up, only need by assignment module to corresponding variable parameter successively assignment, computing module just can be relied on to go out required electrical parameter according to formulae discovery.Advantage of the present invention is mainly reflected in, and when needing application complicated formulas to calculate, first edits out this formula according to complicated formulas arithmetic logic.Only need corresponding variable parameter assignment just passable afterwards, problem when inputting according to the complex calculation logic of formula when avoiding calculating, arithmetic logic inputed by mistake.
Preferably, variable parameter setting module, receives the setting number of variable parameter, and distinguishes variable parameter.After variable parameter is distinguished, no matter be add mathematical operator editor formula according to multiple variable parameter or to the differentiation variable parameter that multiple variable parameter assignment can be convenient, avoid making a fault.Concrete, variable parameter can be distinguished by different letters, multiple variable parameter can certainly be distinguished by different colors or shape.
As shown in Figure 2, formula editing device also comprises storage module, and storage module receives memory command, stores the result calculated.Like this, operating personnel just inquires about every electrical parameter in time in prospecting large-scale industry expansion scheme.Preferably, equation editing module receives multiple equation editing order and generates multiple formula, and storage module stores multiple formula.Once write multiple formula and store, only needing to recall respective formula during use and assignment is carried out to variable parameter just can employ easily.
These are only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. an equation editing method, is characterized in that, comprising:
Receive the setting command of variable parameter, setting variable parameter, described variable parameter can assignment;
Receive equation editing order, described equation editing order is used for generating formula based on described variable parameter;
Receive assignment command, to described variable parameter assignment;
Receive calculation command, bring the described variable parameter after assignment into according to described formula and calculate and obtain a result.
2. equation editing method according to claim 1, is characterized in that, described equation editing method also comprises:
Receive memory command, the result calculated is stored.
3. equation editing method according to claim 1, is characterized in that, described equation editing method also comprises: the setting number receiving described variable parameter, and distinguishes described variable parameter.
4. equation editing method according to claim 1, is characterized in that, receives multiple described equation editing order, generates multiple described formula.
5. a formula editing device, is characterized in that, comprising:
Variable parameter setting module, receive the setting command setting variable parameter of variable parameter, described variable parameter can assignment;
Equation editing module, receives equation editing order and generates formula based on described variable parameter;
Assignment module, described assignment module receives assignment command, to described variable parameter assignment;
Computing module, receives calculation command, brings the described variable parameter after assignment into calculate and obtain a result according to described formula.
6. formula editing device according to claim 5, is characterized in that, described formula editing device also comprises:
Storage module, described storage module receives memory command, stores the result calculated.
7. formula editing device according to claim 6, is characterized in that, described equation editing module receives multiple equation editing order and generates multiple described formula, and described storage module stores multiple described formula.
8. formula editing device according to claim 5, is characterized in that, described variable parameter setting module, receives the setting number of described variable parameter, and distinguishes described variable parameter.
CN201510370111.6A 2015-06-29 2015-06-29 Formula editing method and formula editing apparatus Pending CN105045575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510370111.6A CN105045575A (en) 2015-06-29 2015-06-29 Formula editing method and formula editing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510370111.6A CN105045575A (en) 2015-06-29 2015-06-29 Formula editing method and formula editing apparatus

Publications (1)

Publication Number Publication Date
CN105045575A true CN105045575A (en) 2015-11-11

Family

ID=54452140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510370111.6A Pending CN105045575A (en) 2015-06-29 2015-06-29 Formula editing method and formula editing apparatus

Country Status (1)

Country Link
CN (1) CN105045575A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096019A (en) * 2016-06-22 2016-11-09 中国南方电网有限责任公司 The data processing method of a kind of coal-burning power plant environmental protection equipment reliability and device
CN115935698A (en) * 2022-12-30 2023-04-07 南京维拓科技股份有限公司 Calculation method for design parameters in industrial design process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1494019A (en) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 Method of realizing formula editing, calculating, managing on PDA
US6754885B1 (en) * 1999-05-17 2004-06-22 Invensys Systems, Inc. Methods and apparatus for controlling object appearance in a process control configuration system
CN102184320A (en) * 2011-04-20 2011-09-14 重庆市电力公司綦南供电局 Automatic calculation engine for IT (information technology) system application evaluation and extension platform
CN103810152A (en) * 2013-11-11 2014-05-21 远光软件股份有限公司 Visualized formula editor
CN104035911A (en) * 2014-06-20 2014-09-10 米勇龙 Novel calculator
CN104102468A (en) * 2014-07-23 2014-10-15 中国电子科技集团公司第四十一研究所 Network analyzer formula editor and data graphic display method and device thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754885B1 (en) * 1999-05-17 2004-06-22 Invensys Systems, Inc. Methods and apparatus for controlling object appearance in a process control configuration system
CN1494019A (en) * 2003-02-24 2004-05-05 上海同济启明星科技发展有限公司 Method of realizing formula editing, calculating, managing on PDA
CN102184320A (en) * 2011-04-20 2011-09-14 重庆市电力公司綦南供电局 Automatic calculation engine for IT (information technology) system application evaluation and extension platform
CN103810152A (en) * 2013-11-11 2014-05-21 远光软件股份有限公司 Visualized formula editor
CN104035911A (en) * 2014-06-20 2014-09-10 米勇龙 Novel calculator
CN104102468A (en) * 2014-07-23 2014-10-15 中国电子科技集团公司第四十一研究所 Network analyzer formula editor and data graphic display method and device thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096019A (en) * 2016-06-22 2016-11-09 中国南方电网有限责任公司 The data processing method of a kind of coal-burning power plant environmental protection equipment reliability and device
CN115935698A (en) * 2022-12-30 2023-04-07 南京维拓科技股份有限公司 Calculation method for design parameters in industrial design process

Similar Documents

Publication Publication Date Title
CN107256005B (en) BIM technology-based steel bar numerical control machining method and equipment
CN104850709B (en) Building decoration engineering construction three-dimensional simulation method
CN105215987A (en) A kind of industrial robot technique cloud system and method for work thereof
CN105631935A (en) BIM-based three-dimensional geological automatic modeling method
CN109858138A (en) Room finish component processing method, device, terminal and medium based on BIM
CN103440364A (en) Method and system for automatically generating WBS (Work Breakdown Structure) node basing on BIM (Building Information Modeling)
CN108489381A (en) A kind of ship fast accurate trepanning localization method
CN115017859B (en) Layout generation method and device, computer readable storage medium and computer equipment
CN105045575A (en) Formula editing method and formula editing apparatus
CN104679858A (en) Method and device for inquiring data
CN105629296B (en) 3-D seismics poststack data volume joining method and device
KR20140062647A (en) Method and apparatus for producing space map of indoor
Sakhaii et al. A robust model for a dynamic cellular manufacturing system with production planning
CN106873437A (en) Nuclear power station real-time information monitoring system picture is detected and automatic configuration system and method
CN104376185A (en) Large module welding quality tracking method based on Tekla software platform
CN107146165B (en) Distribution network planning data management method and system
CN204759412U (en) Formula editing device and mobile terminal
TW201538304A (en) Method and equipment for generating a numerical representation of a three-dimensional object, said numerical representation being suited to be used for making said three-dimensional object through stereolithography
US20130226547A1 (en) Configuring a dispatching rule for execution in a simulation
CN107944103A (en) A kind of seat earth elevation isopleth Height attribute extracting method
CN103745067A (en) Power generator stator end parameterization automatic modeling system and method
CN103701499B (en) The route display packing of low-voltage power line carrier communication system, device and equipment
CN106777641B (en) Rapid modeling method for reinforcing plate with inverted right angle
Trani et al. BIM oriented equipment choice on construction site
KR101511522B1 (en) 3-dimensional coordinate converting method of precision measuring drawing and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20151111