CN104199660B - Customized type output and the method for achievement Dynamic Announce in water conservancy software - Google Patents

Customized type output and the method for achievement Dynamic Announce in water conservancy software Download PDF

Info

Publication number
CN104199660B
CN104199660B CN201410434154.1A CN201410434154A CN104199660B CN 104199660 B CN104199660 B CN 104199660B CN 201410434154 A CN201410434154 A CN 201410434154A CN 104199660 B CN104199660 B CN 104199660B
Authority
CN
China
Prior art keywords
data
output
class
item
spirte
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
CN201410434154.1A
Other languages
Chinese (zh)
Other versions
CN104199660A (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.)
Hohai University HHU
Original Assignee
Hohai University HHU
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 Hohai University HHU filed Critical Hohai University HHU
Priority to CN201410434154.1A priority Critical patent/CN104199660B/en
Publication of CN104199660A publication Critical patent/CN104199660A/en
Application granted granted Critical
Publication of CN104199660B publication Critical patent/CN104199660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention discloses customized type output and the method for achievement Dynamic Announce in a kind of water conservancy software, comprises the following steps: the positional information Unified coding to key elements all kinds of in the overall situation, sets up only index;Build four kinds of function classes: main graphic class, data item manage class, graphic plotting class, spirte class;Design customizable result output configuration interface and global outcome spacing parameter configuration interface;According to customized demand, configure main graphic spirte data item membership relation, overall situation spacing parameter is set;Run computing module, real-time update displaying format customization data in software interface.The present invention can control the memory space of global outcome, and precision customization output scheme particular demands achievement, achievement figure dynamic display exports, improves water conservancy industry and check the overall efficiency of outputting result.

Description

Customized type output and the method for achievement Dynamic Announce in water conservancy software
Technical field
The present invention relates to water conservancy and computer realm, be specifically related to customized type output and achievement in a kind of water conservancy software dynamic The method of display.
Background technology
The development of hydrotechnics is a very important content in the Long-term planning of countries in the world, the life style to the mankind Profound influence is suffered from socioeconomic development.In the last thirty years, hydro science combines what computer software technology was expedited the emergence of Numerous water conservancy softwares all serve important work in solving the problems such as flood control and disaster reduction, water resources development and utilization and ecological environmental protection With.Due to the high complexity of the content such as survey region, model element information in water conservancy software, the output scale of achievement is often sea Amount, demand achievement the realization of the most efficient output different schemes analyze and process function in real time, are software development skills Art combines an important technology life topic of water conservancy industry characteristic, is also related to software accreditation in the industry in actual applications simultaneously Degree and competitiveness.In the water conservancy software of existing maturation, computation schemes result output mainly takes two kinds of design patterns: one is complete Office's output type, classification generates multiple output files i.e. automatically, deposits all element results, sometimes in view of result data size, Certain memory gap often need to be set, such as ArcSWAT software (see Page238 content in " ArcSWAT2009 users' guidebook ");Two It is on-demand extraction formula, key element output required during Choice is analyzed the most in advance, and corresponding result output literary composition is set Part, sometimes in view of result data size, often need to arrange certain memory gap, if the MIKE groupware of DHI is (see DHI system Row software interface operating instruction).Software all can be equipped with corresponding post processor, input after corresponding output file on-demand enter Row statistics and achievements exhibition.
It will be apparent that two kinds of designs all come with some shortcomings: overall situation output type uses set form to export all element results, Necessarily cause many results unrelated with scheme to be equal to output, add memory data output, cause the waste of storage resource;Press Need to all need to arrange the corresponding file that preserves, complex steps, management inconvenience, and this output mould one by one by each result output in extraction formula Formula only stores individual element data, does not accounts for for remaining key element, and this is unfavorable for when scenario outcomes goes wrong carrying out the overall situation Data error detection, constrains debugging performance and the flexibility ratio of operation of software.Additionally, the water conservancy of employing above two output mode is soft Part operates after being required for the file of output is imported supporting post processor again, achievement computing module and post-processing module Between data transmission present loosely-coupled state, it is impossible to calculate during Dynamic Announce output achievement.
Summary of the invention
Goal of the invention: it is an object of the invention to solve prior art present in not enough, it is provided that a kind of water conservancy software The output of middle customized type and the method for achievement Dynamic Announce.
The invention discloses customized type output and the method for achievement Dynamic Announce in a kind of water conservancy software, including walking as follows Rapid:
(1) the positional information Unified coding to key elements all kinds of in the overall situation, sets up only index;
(2) four kinds of function classes are built: main graphic class, data item management class, graphic plotting class, spirte class;
(3) design customizable result output configuration interface and global outcome spacing parameter configuration interface;
(4) according to customized demand, configure main graphic-spirte-data item membership relation, overall situation spacing parameter is set;
(5) computing module, real-time update displaying format customization data in software interface are run.
Further, all kinds of key element of the overall situation in described step (1) is deposited in the overall element library in water conservancy software, its In be divided into again and deposit the model element storehouse of model computational element and deposit the net storehouse, data station of real observation network key element.Model calculates to be wanted Element is mainly used in computing module, and real observation network key element is mainly used in the management information such as initial condition, boundary condition input Module in, also serve as verifying data simultaneously in post-processing module, show output.
And in the overall situation during positional information Unified coding of all kinds of key elements, use the structure bodily form of AddressItem Formula is carried out labelling and preserves the unique index of arbitrary key element, and then precision positions the position of all kinds of key elements.
Further, described step (1) method particularly includes: with structure formal notation and the storage of AddressItem Positional information, using m_ID is the main object that major key comes in markup model or in real observation network, and m_ItemID is attached In the subitem of m_ID, carry out the telltale mark refined, if key element only needs major key the most to complete refinement location, then m_Item is set to Null value.
Further, each class formation in described step (2) by member function and non-functional member (such as data variable, Array, pointer etc.) composition;Four kinds of described function classes all can generate different functional objects, each object and graphical display object Between have corresponding relation, connected each other by member function, array member etc. between each function class;
Described main graphic class manages the object that its excess-three class is generated as a whole, and main graphic apoplexy due to endogenous wind offers its excess-three kind The array of object, in order to deposit and to manage, the data space of the most all objects is all deposited at main graphic apoplexy due to endogenous wind, it addition, main graphic Apoplexy due to endogenous wind generates data item and spirte respectively also by handling function;
Described data item management class is customizable and deposits data, and the AddressItem structure of this apoplexy due to endogenous wind deposits data item The positional information of corresponding output key element, m_Type is the data type of output key element, and m_Name is the title of data item, m_ XY, then in order to export the data of key element during depositing calculating, also includes in non-functional member for determining that data item is with other Graphic plotting class pointer and the spirte class pointer of corresponding relation is associated between class object;CreateFeature () function can create The drawing item corresponding with data item association, AddData () function is then for introducing the data obtained in calculating;
Described graphic plotting class can graphing, include array m_XY and data type m_Type, in its member function GetData () receive by data item come data, Draw () then utilizes the data of acquisition to carry out the drafting of figure;
Described spirte class can the output of Classification Management figure, i.e. ensure the Data Elements of same type (m_Type) sequentially Output display, FeatureArray array therein manages the order of the drawing item needing plot and display in spirte, but this counts Group is merely responsible for operation management, does not deposit real data space;And the member function of spirte apoplexy due to endogenous wind includes item of drawing Introduce the AddFeature () function of FeatureArray array and manage the Draw () function that each drawing item is sequentially drawn.
Further, described main graphic class, data item management class, the object of graphic plotting class generation corresponding with spirte class For main graphic, data item, drawing item and spirte;
N number of main graphic can form a main graphic group, and the corresponding graphic display interface of each main graphic, figure shows Interface can be deposited the XY coordinate axes figure corresponding to multiple spirte, each XY coordinate axes figure can show again a plurality of identical data The graph of type, every graph is the result of data item and drawing item correlation, and data item provides and stores data, painting Data are drawn display by figure item;In like manner extending, the single-point numerical value in each data line correspond to this output key element and follows in the time The data of every step-length output in ring.
Further, each option in the result output configuration interface in described step (3) and main graphic class, data item pipe Reason class, graphic plotting class corresponding with the member of the object that spirte class is generated and each apoplexy due to endogenous wind, and configure terminate after utilize Injunctive button is by interface information binding storage;
Described global outcome spacing parameter configuration interface is provided with spacing parameter option.
Further, described result output configuration interface includes three below part: main graphic, spirte create item;Entirely Office's element type options;Data item generating item;
Wherein, Part I can create main graphic, spirte object, and is provided with drop-down list and list box is checked accordingly Membership relation;Part II can select output item type between model computational element and real observation network key element;Part III wraps Location Option Box containing title input frame, lists of data types frame and AddressItem structure.
Further, in described step (4), first user needs to determine achievement scheme to be output, and at the one-tenth developed Fruit output configuration interface in, carry out the configuration of be fruitful element information according to scheme demand, including: create main graphic and Newdata item data item is mated with corresponding spirte after spirte, elements of fix;Then in the global outcome developed Output gap configuration interface arranges spacing parameter, so far completes the output customization of software.
Further, described step (5) method particularly includes:
First arranging time circulation, in each time step, computing module completes data and calculates and enter output data Process, this process be divided into again the overall situation output and customization output two class subitems;
During overall situation output, the result arranged in the overall situation is used to preserve spacing parameter, if meeting global outcome to preserve parameter Judge, then preserve the result of overall situation key element in this step, enter customization output step afterwards;If calculating step number to be unsatisfactory for global outcome Preserve the judgement of parameter, be then directly entered customization output step;
During customization output step, the sequential loop of depositing according to wherein member is run by main graphic group, in the circulating cycle, each Main graphic all shows realizing its renewal in graphic display interface;
After the circulation terminating main graphic group, process will determine that whether meet the condition jumping out time circulation, such as not met Rule of judgment, then proceed time circulation;As met Rule of judgment, then terminate whole process.Beneficial effect: with prior art Compare, the invention have the advantages that
(1) present invention is wanted by the hierarchical arrangement pattern precision specific output of customization of main graphic-spirte-data item Element, progressively long output ensure that data precision;The customization utilizing bottom spacing parameter ensure that the low amount of storage of global data, Meet the demand of global outcome query display;Replace with key element configuration output after exporting with destination file form, it is not necessary to carry out numerous Trivial file output is arranged and management, and the operation of hierarchical arrangement improves flexibility ratio and the ease of software output function;
(2) during the present invention can solve the problem that prior art, achievement computing module is loose with data transmission coupling between post-processing module Problem, by design four function classes and images outputting interface between corresponding relation, directly by customization outputting result soft Part realizes plot and display in running, and eliminates the step that destination file must export and import post processor, it is achieved that " become Really calculating-post processing " close-coupled of intermodule, meet the demand of Dynamic Announce outputting result during calculating.
Accompanying drawing explanation
Fig. 1 is the flow chart of the present invention;
Fig. 2 is overall situation key element Unified coding schematic diagram in the present invention;
Fig. 3 is basic structure and the mutual relation figure of four kinds of function classes in the present invention;
Fig. 4 is four kinds of function class objects corresponding relation figure in visualization interface in the present invention;
Fig. 5 is that in the present invention, user exports customization flow chart;
Fig. 6 is the step schematic diagram that in the present invention, data item is bound with newly-built spirte;
Fig. 7 is the step schematic diagram that in the present invention, data item is bound with existing spirte;
Fig. 8 is membership relation schematic diagram between each object after information customization in the present invention;
Fig. 9 is the flow chart that in the present invention, performance data realizes Dynamic Announce;
Figure 10 is the flow chart that in the present invention, single main graphic realizes Dynamic Announce.
Detailed description of the invention
Below technical solution of the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
As it is shown in figure 1, the invention discloses customized type output and the method for achievement Dynamic Announce, bag in a kind of water conservancy software Include following steps:
(1) the positional information Unified coding to key elements all kinds of in the overall situation, sets up only index;
(2) four kinds of function classes are built: main graphic class, data item management class, graphic plotting class, spirte class;
(3) design customizable result output configuration interface and global outcome spacing parameter configuration interface;
(4) according to customized demand, configure main graphic-spirte-data item membership relation, overall situation spacing parameter is set;
(5) computing module, real-time update displaying format customization data in software interface are run.
In above-mentioned step (1), as shown in Figure 2, the overall element library in water conservancy software can be divided into model element storehouse With two kinds of net storehouse, data station, deposit model computational element and real observation network key element respectively.Model computational element is mainly used in meter Calculate in module, and real observation network key element is mainly used in the module of the management information such as initial condition, boundary condition input, simultaneously Also serve as verifying data in post-processing module, show output.During to the positional information Unified coding of overall all kinds of key elements, use The structure form of AddressItem is carried out labelling and preserves the unique index of arbitrary key element, and then positions the position of all kinds of key element, Concretely comprise the following steps:
With the structure labelling of AddressItem and storage positional information, use m_ID be major key come in markup model or A main object in real observation network, such as certain river course or certain hydrometric station;And m_ItemID is the subitem being attached to m_ID, enter The telltale mark of row refinement, the such as m_ID in " the 1st article river " has been labeled as " 1001 ", and this korneforos also includes 5 sections, then Need each section is encoded again, it is assumed that the m_ItemID of labelling " first section " is " 01 ", then the 1st, the 1st article of river The AddressItem of section just establishes unique identification with " m_ID=1001 " " m_ItemID=01 ".If key element only needs major key The most complete refinement location, then m_Item has been nullified.
As it is shown on figure 3, the top section of each class formation in step (2) is all its member function, bottom is then that it is non- Function member;
Above-mentioned main graphic class manages the object that its excess-three class is generated as a whole, is the design of four apoplexy due to endogenous wind tops.Should Apoplexy due to endogenous wind offers the array of its excess-three kind object, and in order to deposit and to manage, the data space of the most all objects is all at main graphic Apoplexy due to endogenous wind is deposited.Additionally, main graphic apoplexy due to endogenous wind generates data item and spirte respectively also by handling function.
Data item management class is mainly responsible for customization and deposits data, and the AddressItem structure of apoplexy due to endogenous wind houses data The positional information of the output key element corresponding to Xiang, m_Type is the data type of output key element, and m_Name is the title of data item, M_XY then in order to export the data of key element during depositing calculating, also includes graphic plotting class and spirte class in non-functional member This pointer of two, for determining that data item is with the association corresponding relation between other class objects.Data item management apoplexy due to endogenous wind CreateFeature () function is for creating the drawing item corresponding with data item association, and AddData () function is then based on introducing The data obtained in calculation.
Graphic plotting class is mainly responsible for graphing, includes array m_XY and data type m_Type.In member function GetData () be responsible for receive by data item come data, Draw () then utilizes the data of acquisition to carry out graphic plotting.
Spirte class is responsible for the output of Classification Management figure, i.e. ensures that the Data Elements of same type (m_Type) are the most defeated Go out display.FeatureArray array manages the drawing item order needing plot and display in spirte, but this array is merely responsible for behaviour Manage, do not deposit real data space.The member function of spirte apoplexy due to endogenous wind includes and is introduced by drawing item The AddFeature () function of FeatureArray and manage the Draw () function that each drawing item is sequentially drawn.
As shown in Figure 4, main graphic class, data item management class, the object of graphic plotting class generation corresponding with spirte class are Corresponding relation between main graphic, data item, drawing item and spirte, object that each function class is created and graphical display object For:
Main graphic group is made up of N number of main graphic, as same is bound into the book collected;The corresponding figure of each main graphic Display interface, such as the one-page in books;Graphic display interface can be deposited the XY coordinate axes figure corresponding to multiple spirte, As one-page has multiple paragragh;Each XY coordinate axes figure can show again the graph of a plurality of same data type, as A plurality of complete sentence in same paragragh, every graph is the result of data item and drawing item correlation, data item Thering is provided and store data, data are drawn display by drawing item;In like manner extending, the single-point numerical value in each data line is just as language A word in Ju, correspond to this output key element data of every step-length output in the time is circulated.
The each option in result output configuration interface in described step (3) and main graphic class, data item management class, figure Draw class corresponding with the member of the object that spirte class is generated and apoplexy due to endogenous wind, and configure terminate after utilize injunctive button will Interface information binding storage;
Described global outcome spacing parameter configuration interface is provided with spacing parameter option, the integral multiple with material calculation is set Interval output, for coupling water conservancy industry specification, it is also possible to derivative with day interval output (choosing the value of calculation of the M hour every day) or Hour interval output (choosing the value of calculation of the N minute per hour).
Further, described result output configuration interface includes three below part: main graphic, spirte create item;Entirely Office's element type options;Data item generating item;
Wherein, Part I can create main graphic, spirte object, and is provided with drop-down list and list box is checked accordingly Membership relation;Part II may be implemented in the type selecting output item between model computational element and real observation network key element;3rd Comprise the location Option Box of title input frame, lists of data types frame and AddressItem structure in Fen, wherein m_ID and M_ItemID obtains positional information with the Option Box of " key element " and " secondary key element " respectively.
As it is shown in figure 5, in described step (4), user can join in two different interfaces according to actual customized demand Putting operation, first user needs to determine achievement scheme to be output, and the positional information that should comprise each output key element in the program is (corresponding Its AddressItem in software), title and data type, and in the result output configuration interface developed, according to side Case demand carries out the configuration of be fruitful element information, including newly-built number after establishment main graphic and spirte, elements of fix Mate according to item and by data item with corresponding spirte;Between then arranging in the global outcome output gap configuration interface developed Every parameter, such as set spacing parameter as every " 5 " individual step-length export, so far complete in software all of output customization.
Embodiment 1: calculating as a example by water level by Suzhou in the present embodiment, describe the present invention in detail, this example is with Windows XP SP2 and above for operating system environment, Visual Studio 2008 SP1 is development environment, and C++ is development language.
In the present invention, the newdata Xiang Bingyu in configuration main graphic-spirte-data item membership relation step is correlated with The link of spirte binding, is close-coupled computing module and the core in post-processing module.Owing to spirte can only receive same A type of data item, this functional character how realizing spirte illustrates with two schematic diagrams the most respectively.Such as Fig. 6 Shown in, it is assumed that the representative position in Suzhou is " the 1st section in the 1001st river ", can determine that the information in AddressItem with this, number Being " Suzhou calculating water level " according to item title, data type is " water level ", this three classes essential information is configured in interface, And newdata item _ 1.Being bound with newly-built spirte _ 1 data item _ 1 subsequently, the result after binding is spirte _ 1 In data type be equal to the data type of data item _ 1, the spirte pointer in data item _ 1 points to the data of spirte _ 1 Space.
The situation that to be then newly-built data item be associated with the spirte having bound data item given by Fig. 7.First First the most newly-built data item _ 2, this data item prepares with spirte _ 1 association the most having bound data item _ 1, i.e. with the data of two Type judges as condition, if the data type of the data type of data item _ 2 and spirte _ 1 (that is data item _ 1 Data type) consistent, then to bind, the spirte pointer of data item _ 2 points to the data space of spirte _ 1;If data class Type is inconsistent, then user can be pointed out to select other spirtes or create new spirte and bind, also say in the step of Fig. 6, Fig. 7 The data type of pine torch figure is determined by the data type of the data item of first binding.Another implication function of binding is profit With the AddFeature () function of spirte apoplexy due to endogenous wind, the drawing item corresponding to each data item is sequentially added the drawing to spirte Xiang Zuzhong, in order to the drafting of managing graphic.
According to aforesaid operations, after the configuration completing be fruitful element information, between main graphic-spirte-data item Membership relation, as shown in case in Fig. 8, defines the framework of classification storage and managenent, and in the display of corresponding figure also Present this kind of feature.
Fig. 9 illustrates software and realizes the whole flow process of Dynamic Announce from operation computing module to performance data.First exist Arranging time circulation in process, in each time step, hydraulic model enters the step of output data, this step after completing to calculate Overall situation output and customization output two class subitems it are divided into again in Zhou.Between overall situation output needing use the result arranged in the overall situation to preserve Every parameter, such as parameter is set to export every 5 step-lengths, then in the 1st, 6, the 11 of time circulation ..., 5N+1 step i.e. meets and sentences Broken strip part, preserves the result of overall situation key element in this step, enters customization output step afterwards;If calculating step number to be unsatisfactory for judging, then It is directly entered customization output step.In customization output step, the sequential loop of depositing according to wherein member is transported by main graphic group OK, in the circulating cycle, each main graphic shows realizing its renewal in graphic display interface.Terminating following of main graphic group After ring, process will determine that and whether meets the condition jumping out time circulation, and such as not met Rule of judgment, then the time that proceeds is followed Ring;As met Rule of judgment, then terminate whole process.
Figure 10 then illustrates each main graphic and realizes the process of its corresponding graphical interfaces Dynamic Announce, with main graphic _ 1 in figure As a example by.Initially entering the data item group circulation of main graphic, in the cycle, order calls the AddData () letter of each data item Number, the calculating data of the output key element corresponding with this data item can be stored in m_XY array by this function.Call subsequently and data GetData () function in the drawing item of item association, the m_XY array updated in data item can be transferred to drawing item by this function In.Above step is that follow-up plot and display prepares data.
Then needing the data according to having obtained to carry out graphic plotting, flow process goes successively to the spirte group in main graphic _ 1 Circulation, order is called the Draw () function of each spirte, from Fig. 3 neutron graphics class structure, has been deposited drawing in spirte Item group, and realize the operation management to this drawing item group with Draw () function.So going successively to the drawing item group of spirte Circulation, sequentially calls the Draw () function in each drawing item, and the m_XY array that drawing Xiang Zhongyi updates is painted by this function System updates.The Dynamic Announce of main graphic _ 1 is then completed after spirte group loop ends.

Claims (6)

1. customized type output and the method for achievement Dynamic Announce in a water conservancy software, it is characterised in that comprise the steps:
(1) the positional information Unified coding to key elements all kinds of in the overall situation, sets up only index;
(2) four kinds of function classes are built: main graphic class, data item management class, graphic plotting class, spirte class;
(3) design customizable result output configuration interface and global outcome spacing parameter configuration interface;
(4) according to customized demand, configure main graphic-spirte-data item membership relation, overall situation spacing parameter is set;
(5) running computing module, real-time update displaying format customization data in software interface, its detailed process is:
First arranging time circulation, in each time step, computing module completes data and calculates and enter the mistake of output data Journey, this process is divided into again overall situation output and customization output two class subitems;
During overall situation output, the result arranged in the overall situation is used to preserve spacing parameter, if meeting global outcome to preserve the judgement of parameter, Then preserve the result of overall situation key element in this step, enter customization output step afterwards;If calculating step number to be unsatisfactory for global outcome preservation The judgement of parameter, then be directly entered customization output step;
During customization output step, the sequential loop of depositing according to wherein member is run by main graphic group, in the circulating cycle, and each master map Shape all shows realizing its renewal in graphic display interface;
After the circulation terminating main graphic group, will determine that and whether meet the condition jumping out time circulation, such as not met Rule of judgment, Then proceed time circulation;As met Rule of judgment, then terminate the process of whole step (5).
2., according to customized type output and the method for achievement Dynamic Announce in the water conservancy software described in claim 1, its feature exists In: time in described step (1) to the positional information Unified coding of overall all kinds of key elements, use the structure bodily form of AddressItem Formula is carried out labelling and preserves the unique index of arbitrary key element, and then positions the position of all kinds of key element.
Customized type output and the method for achievement Dynamic Announce in water conservancy software the most according to claim 1, it is characterised in that: Each class formation in described step (2) by member function and non-functional member composition, between each function class by member function, Array, pointer connect each other;
Described main graphic class manages the object that its excess-three class is generated as a whole, and main graphic apoplexy due to endogenous wind is provided with its excess-three kind object Array, in order to deposit and to manage the data of other three kinds of function classes, the data space of the most all objects is all deposited at main graphic apoplexy due to endogenous wind Put, it addition, main graphic apoplexy due to endogenous wind generates data item and spirte respectively also by handling function;
Described data item management class customizes and deposits data, and the AddressItem structure of this apoplexy due to endogenous wind is deposited corresponding to data item The positional information of output key element, m_Type is the data type of output key element, and m_Name is the title of data item, and m_XY then uses To export the data of key element during depositing calculating, non-functional member also includes and determines that data item is closed with between other class objects The graphic plotting class pointer of connection corresponding relation and spirte class pointer, CreateFeature () function can create and close with data item The drawing item that connection is corresponding, AddData () function is then for introducing the data obtained in calculating;
Described graphic plotting class can graphing, include array m_XY and data type m_Type, in its member function GetData () receives the data come by data item, and Draw () then utilizes the data of acquisition to carry out graphic plotting;
Described spirte class Classification Management images outputting, i.e. ensures the Data Elements sequentially output display of same type m_Type, Its FeatureArray array manages the drawing item order needing plot and display in spirte, but this array is merely responsible for operation pipe Reason, does not deposit real data space;And the member function of spirte apoplexy due to endogenous wind includes drawing item is introduced FeatureArray The AddFeature () function of array and manage the Draw () function that each drawing item is sequentially drawn.
Customized type output and the method for achievement Dynamic Announce in water conservancy software the most according to claim 3, it is characterised in that: Four kinds of described function classes all generate different functional objects, have corresponding relation between each object and graphical display object;
N number of main graphic one main graphic group of composition, the corresponding graphic display interface of each main graphic, in graphic display interface The XY coordinate axes figure corresponding to multiple spirte can be deposited, each XY coordinate axes figure shows again the mistake of a plurality of same data type Journey line, every graph is the result of data item and drawing item correlation, and data item provides and store data, and drawing item is by number According to drawing display;In like manner extending, the single-point numerical value in each data line correspond to this output key element and often walks in the time is circulated The data of long output.
Customized type output and the method for achievement Dynamic Announce in water conservancy software the most according to claim 1, it is characterised in that: Result output configuration interface in described step (3) includes three below part: main graphic, spirte create item;Overall situation key element Type selecting item;Data item generating item;
Wherein, Part I creates main graphic, spirte object, and is provided with drop-down list and list box checks that corresponding subordinate is closed System;Part II realizes selecting output item type between model computational element and real observation network key element;Part III comprises name Claim input frame, lists of data types frame and the location Option Box of AddressItem structure.
Customized type output and the method for achievement Dynamic Announce in water conservancy software the most according to claim 1, it is characterised in that: In described step (4), first user needs to determine achievement scheme to be output, and in the result output configuration interface developed, The configuration of be fruitful element information is carried out, then at the global outcome output gap configuration interface developed according to scheme demand In spacing parameter is set, so far complete in software all of output customization.
CN201410434154.1A 2014-08-29 2014-08-29 Customized type output and the method for achievement Dynamic Announce in water conservancy software Active CN104199660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410434154.1A CN104199660B (en) 2014-08-29 2014-08-29 Customized type output and the method for achievement Dynamic Announce in water conservancy software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410434154.1A CN104199660B (en) 2014-08-29 2014-08-29 Customized type output and the method for achievement Dynamic Announce in water conservancy software

Publications (2)

Publication Number Publication Date
CN104199660A CN104199660A (en) 2014-12-10
CN104199660B true CN104199660B (en) 2016-12-07

Family

ID=52084957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410434154.1A Active CN104199660B (en) 2014-08-29 2014-08-29 Customized type output and the method for achievement Dynamic Announce in water conservancy software

Country Status (1)

Country Link
CN (1) CN104199660B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105389170A (en) * 2015-11-20 2016-03-09 中国农业大学 Drawing method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101095106A (en) * 2004-01-24 2007-12-26 宝马股份公司 Production of a graphic user and/or display surface for a motor vehicle
CN101697274A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 Method for generating display page and traveler guiding display system applying same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295249B (en) * 2008-06-26 2010-12-15 腾讯科技(深圳)有限公司 Method and system for dynamic configuration management of software interface style
CN101699393B (en) * 2009-10-09 2013-03-20 中国电子科技集团公司第二十八研究所 Network-facing intelligent software interface dynamic generation method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101095106A (en) * 2004-01-24 2007-12-26 宝马股份公司 Production of a graphic user and/or display surface for a motor vehicle
CN101697274A (en) * 2009-09-23 2010-04-21 易程科技股份有限公司 Method for generating display page and traveler guiding display system applying same

Also Published As

Publication number Publication date
CN104199660A (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN105700888B (en) A kind of visualization quick development platform based on jbpm workflow engine
CN105094818B (en) Natural resources integrated application construction method and system based on SOA
AbouRizk et al. Research in modeling and simulation for improving construction engineering operations
CN109542399A (en) Software development methodology, device, terminal device and computer readable storage medium
CN101539861B (en) Tool for graphical design and verification of general workflow
CN106021816B (en) A kind of implementation method of the distributed system behavior simulation analysis tool of Behavior-based control tree
CN109840205A (en) Applied program testing method, device, readable storage medium storing program for executing and terminal device
Bulatewicz et al. The simple script wrapper for OpenMI: enabling interdisciplinary modeling studies
CN103927185A (en) Network topology modeling device based on energy management and guiding method thereof
CN105808244A (en) Dynamic data visualized analysis tool based on workflows
CN109784708A (en) The cloud service system that the coupling of water industry multi-model calculates
CN102270137A (en) Method for acquiring ADL (architecture description language) and modeling tool
CN101673198A (en) Method for verifying consistency of dynamic behavior in UML model and time-sequence contract
CN103744647A (en) Java workflow development system and method based on workflow GPD
CN111223178A (en) Three-dimensional model application method and system for modular construction of nuclear power engineering
Vallecillo et al. MDWEnet: A practical approach to achieving interoperability of model-driven web engineering methods
CN103207783A (en) Software development engine system based on browser/server mode and building method thereof
CN101211262A (en) Software architecture description language quick construction and support method
CN111459599A (en) Material list editing method, device, equipment and storage medium
CN103020400A (en) Module division method based on complex network edge betweennesses
CN104199660B (en) Customized type output and the method for achievement Dynamic Announce in water conservancy software
CN106096159A (en) Distributed system behavior simulation under a kind of cloud platform analyzes the implementation method of system
Kühne et al. Decision support system for municipal energy utilities: Approach, architecture, and implementation
CN103593188A (en) System and method for managing what-you-see-is-what-you-get menus of instrument
CN105975381B (en) Malfunction monitoring expert system integrating and developing platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant