CN107633140A - Garden Engineering drawing is drawn and automation engineering accounting method - Google Patents
Garden Engineering drawing is drawn and automation engineering accounting method Download PDFInfo
- Publication number
- CN107633140A CN107633140A CN201710862552.7A CN201710862552A CN107633140A CN 107633140 A CN107633140 A CN 107633140A CN 201710862552 A CN201710862552 A CN 201710862552A CN 107633140 A CN107633140 A CN 107633140A
- Authority
- CN
- China
- Prior art keywords
- garden
- factor
- garden factor
- coordinate
- spec
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of drafting of Garden Engineering drawing and automation engineering accounting method, belong to building engineering field.The Garden Engineering accounting method counted based on manual reading of drawings and by hand has that efficiency is low, easily error, not directly perceived enough and the defects of be not suitable with quantities huge situation.Garden Engineering drawing proposed by the present invention is drawn and automation engineering accounting method is based on solution problems.The present invention can adjust quantities automatically while engineering drawing, draw and finish i.e. exportable simple and clear engineering accounting inventory, accounting efficiency high, accounting result are accurate, and the quantities for being specially adapted to heavy construction is adjusted.Therefore the inventive method can effectively overcome it is existing count based on manual reading of drawings and by hand engineering accounting method the defects of, with stronger engineering application value and promotion prospect, the engineering drawing and engineering that can be applied to landscape design and building engineering field are adjusted.
Description
Technical field
The present invention relates to a kind of drafting of architectural engineering drawing and engineering accounting method, more particularly to a kind of Garden Engineering
Drawing is drawn and engineering accounting method.
Background technology
Urban construction is rapid at this stage, urban sprawl, and requirement of the people to quality of life also more and more higher, Garden Engineering
From the urban afforestation of administrative region of a city level to personal garth, from the afforestation of high-grade community to agricultural industry garden, from city to rural area,
All relate to, Garden Engineering project is extremely more, and Garden Engineering is related to professional more, such as building, greening, road, water body, from garden
Woods is designed to garden layout excessive cycle, is exactly that the engineering in gardens is adjusted the problem of one of core.Should in current engineering
In, the method that common method typically counts by manual reading of drawings and by hand realizes that engineering is adjusted, and this method is mainly by following
Three steps are realized:
(1) construction drawing is drawn;
(2) at least it is divided to two groups of carry out manual reading of drawings and counts by hand;
(3) result that each group is adjusted is contrasted, if result is consistent, completes the accounting of engineering;If result is inconsistent, weight
It is new to adjust until result is consistent.
This Garden Engineering accounting method counted based on manual reading of drawings and by hand exist four it is obvious the defects of:(1) imitate
Rate is low, adjusts the degree of being skilled in technique that efficiency depends critically upon workmen;(2) easily error, adjust result when each group and differ
During cause, it need to do over again and adjust again, take a substantial amount of time and manpower;(3) not directly perceived enough, non-professional is difficult to directly understand;
(4) when quantities is huge, engineering, which is adjusted, wastes the substantial amounts of time, has a strong impact on the development of follow-up duration.
The content of the invention
The purpose of the present invention is to propose to a kind of drafting of Garden Engineering drawing and automation engineering accounting method, solves existing base
Efficiency existing for the engineering accounting method counted in manual reading of drawings and by hand is low, easily error, not directly perceived enough and inadaptable
The problem of quantities huge situation.
Garden Engineering drawing proposed by the present invention is drawn and the technical scheme of automation engineering accounting method is included in following
Hold:
The first step:Variable-definition and drawing initialization
Step 1:Variable-definition
(1) S represents the border in gardens, and Φ represents garden factor storehouse, and M represents the species number of garden factor, and W represents that gardens are total
Cost;
(2)ElementiRepresent i-th kind of garden factor, the title Name comprising garden factori, unit UnitiWith specification kind
Number NiWith specification Speci,jAncillary data, and specification Speci,jQuantity Y is included againi,j, comprehensive unit price Pricei,j, legend
Legendi,j, coordinate set Coordinatei,jSum quantity set Numi,jAncillary data, wherein i=1,2 ..., M, j=1,2 ...,
Ni;
Step 2:Drawing initializes
(1) size and the origin of coordinates of Set scale chi, and engineer's scale and north pointer direction are marked on drawing;
(2) the border S in gardens is defined, and the boundary line in gardens is drawn according to S;
(3) garden factor storehouse is madeThe species number M=0 of garden factor, gardens total cost W=0;
Second step:Plotting motion decision-making
(1) needed to select drawing for order according to drawing;
(2) if selection " increase garden factor " instruction, makes flag=0, the 3rd step is turned;
(3) if selection " modification garden factor " instruction, makes flag=1, the 4th step is turned;
(4) if selection " deletion garden factor " instruction, makes flag=2, the 5th step is turned;
(5) instruction if selection " terminates to draw ", turns the 8th step;
3rd step:Increase garden factor
Step 1:Garden factor and specification retrieval
(1) " garden factor title please be input " is exported, and inputs garden factor title Name;
(2) if M=0, output " garden factor storehouse is sky, is please first put in storage garden factor Name ", 2 are gone to step;
(3) if M >=1, the 6th step is turned;
(4) if F=0, export " not finding garden factor Name, be please first put in storage the garden factor ", go to step 2;
(5) if F >=1, output " finds garden factor NameF, The concrete specification please be input ", and input garden factor title
NameFThe concrete specification Spec, turn the 7th step;
(6) if G=0, output " does not find the specification, please first creates garden factor NameFSpecification Spec ", goes to step 3;
(7) if G >=1, output " has found the specification, please draw entitled NameFSpecification is SpecF,GGarden factor ",
Go to step 4;
Step 2:Garden factor is put in storage
(1) M=M+1 is made, updates the species number of garden factor, and creates garden factor ElementM;
(2) F=M, Name are madeF=Name, typing garden factor ElementFTitle;
(3) Unit is inputtedF, typing garden factor ElementFUnit;
(4) N is madeF=0, initialization garden factor ElementFSpecification kind number;
(5) by garden factor ElementFAnd its title, unit and specification kind number are saved in garden factor storehouse;
(6) " garden factor Name is exportedFBe put in storage successfully, garden factor Name please be createFSpecification ", and input specific rule
Lattice Spec;
Step 3:Garden factor specification creates
(1) N is madeF=NF+ 1, renewal garden factor ElementFSpecification kind number;
(2) G=N is madeF, typing The concrete specification SpecF,G=Spec;
(3) Y is madeF,G=0, initialization specification SpecF,GQuantity YF,G;
(4) Price is inputtedF,G, typing specification SpecF,GComprehensive unit price;
(5) Legend is drawnF,G, typing specification SpecF,GLegend;
(6) makeWithInitialize specification SpecF,GCoordinate set sum quantity set;
(7) by new spec SpecF,GAnd its quantity, comprehensive unit price, legend, coordinate set sum quantity set ancillary data preserve to
Garden factor ElementF, and export " specification creates successfully, please draw the garden factor ";
Step 4:Garden factor is drawn
(1) " coordinate that garden factor please be input " is exported;
(2) concrete numerical value (x, y) of input coordinate, and whether detection coordinates (x, y) are in the S of gardens border;
(3) if coordinate (x, y) is located in the S of gardens border, turn (4), otherwise " coordinate goes beyond the scope, and please re-enter for output
The coordinate of garden factor ", and go back to (2);
(4) " quantity that garden factor please be input " is exported, and inputs the concrete numerical value m of garden factor quantity, recall specification
SpecF,GLegend LegendF,G, draw the legend at coordinate (x, y) place and mark coordinate (x, y) and quantity m;
(5) Y is madeF,G=YF,G+ m and W=W+m × PriceF,G, more new spec SpecF,GQuantity and gardens total cost;
(6) Coordinate is madeF,G={ CoordinateF,G, (x, y) } and NumF,G={ NumF,G, m }, respectively by coordinate
(x, y) and quantity are saved in specification SpecF,GCoordinate set sum quantity set in;
(7) judge whether to continue to draw the garden factor according to drawing needs, if going back to (1), otherwise turn the 8th step;
4th step:Change garden factor
Step 1:Garden factor and specification retrieval
(1) if M=0, output " garden factor storehouse is sky, it is impossible to is changed ", the 8th step is turned;
(2) " garden factor to be changed please be input " is exported, and inputs the title Name of garden factor, turn the 6th step;
(3) if F=0, export " not finding the garden factor ", judge whether to change other garden factors, if going back to
(2) the 8th step, is otherwise turned;
(4) if F >=1, output " finds garden factor NameF", according to drawing needs, if to garden factor and ancillary data
Modify, go to step 2;If being modified to garden factor specification and ancillary data, output " please input needs change it is specific
Specification ";
(5) garden factor title Name is inputtedFThe concrete specification Spec, turn the 7th step;
(6) if G=0, export " not finding the specification ", judged whether to change other specifications according to drawing needs, if defeated
Go out " The concrete specification for needing to change please be re-enter ", and go back to (5), otherwise turn the 8th step;
(7) if G >=1, export " having found the specification, the specification and ancillary data of garden factor please be change ", go to step 3;
Step 2:Garden factor and ancillary data modification
(1) output " only can be to garden factor ElementFTitle and unit parameter modify ", and according to drawing need
Input modification instruction;
(2) if modification garden factor ElementFTitle, export " new title please be input ", and input new title
Name, make NameF=Name, renewal garden factor ElementFTitle;
(3) if modification garden factor ElementFUnit, export " new unit please be input ", and input new unit
Unit, make UnitF=Unit, renewal garden factor ElementFUnit;
(4) needed to judge whether garden factor and ancillary data modification are completed according to drawing, if turning the 8th step, otherwise turned
Return (1);
Step 3:Garden factor specification and ancillary data modification
(1) " specification, quantity, comprehensive unit price legend and coordinate parameters can be changed " is exported, needs input to repair according to drawing
Change instruction;
(2) if modification specification, is exported " please input new specification ", and The concrete specification Spec is inputted, makes SpecF,G=Spec,
More new spec;
(3) if modification comprehensive unit price, is exported " please input new comprehensive unit price ", and comprehensive unit price Price is inputted, makes W=
W+(Price-PriceF,G)×YF,G, gardens total cost W is updated, then makes PriceF,G=Price, more new spec SpecF,G's
Comprehensive unit price;
(4) if modification legend, is exported " please input new legend ", and legend Legend is inputted, by figure all on drawing
Example LegendF,GLegend is revised as, and makes LegendF,G=Legend, more new spec SpecF,GLegend;
(5) if modification coordinate, output " please input the coordinate for needing to change ", and input needs the coordinate (x, y) changed, and makes
K=1;
(6) if coordinate (x, y) and coordinate set CoordinateF,GIn k-th of coordinate it is identical, export " after modification please being input
Coordinate ", and input and need the coordinate (x ', y ') changed, by coordinate set CoordinateF,GIn k-th of coordinate replace with
(x ', y '), and by former coordinate (x, y) place specification Spec on drawingF,GLegend and mark quantity be moved to coordinate (x ',
Y '), the coordinate (x, y) of former coordinate (x, y) place mark is revised as (x ', y ') and is moved to coordinate (x ', y '), turns (8);
(7) k=k+1 is made, if k≤YF,G, (6) are gone back to, otherwise output " not finding the garden factor that coordinate is (x, y) ", root
Judge whether to continue to change coordinate according to drawing needs, if going back to (5);
(8) needed to judge whether garden factor specification and ancillary data modification are completed according to drawing, it is no if turning the 8th step
Then go back to (1);
5th step:Delete garden factor
Step 1:Garden factor and specification retrieval
(1) if M=0, output " garden factor storehouse is sky, it is impossible to is deleted ", the 8th step is turned;
(2) " garden factor to be deleted please be input " is exported, and inputs garden factor title Name, turn the 6th step;
(3) if F=0, output " does not find garden factor Name ", judges whether that deleting other gardens wants according to drawing needs
Element, if going back to (2), otherwise turn the 8th step;
(4) if F >=1, output " finds garden factor NameF", according to drawing needs, if deleting garden factor and attached number
According to going to step 2;If delete garden factor The concrete specification and quantity of examining and making cuts, output " please input the The concrete specification for needing to change ";
(5) garden factor title Name is inputtedFThe concrete specification Spec, turn the 7th step;
(6) if G=0, output " specification Spec " is not found, is judged whether to delete other specifications according to drawing needs, if
Output " please re-enter the The concrete specification for needing to change ", and go back to (5), otherwise turn the 8th step;
(7) if G >=1, output " finds specification SpecF,G", according to drawing needs, if deleting specification SpecF,GAnd attached number
According to going to step 3, if examining and making cuts specification SpecF,GQuantity go to step 4;
Step 2:Garden factor and ancillary data are deleted
(1) all legend Legend are deleted from drawingF,jAnd mark coordinate and quantity, wherein j=1,2 ...,
NF;
(2) makeUpdate the total cost W in gardens;
(3) garden factor Element is deleted from the Φ of garden factor storehouseFAnd its all ancillary datas;
(4) M=M-1 is made, updates garden factor kind number M, is exported " garden factor is deleted successfully ", turns the 8th step;
Step 3:Garden factor specification and ancillary data are deleted
(1) all legend Legend are deleted from drawingF,GAnd the coordinate and quantity of mark;
(2) W=W-Price is madeF,G×YF,G, update the total cost in gardens;
(3) specification Spec is deletedF,GAnd its attached all data;
(4) N is madeF=NF- 1, if NF=0, export " garden factor ElementFSpecification is empty ", from the Φ of garden factor storehouse
Delete garden factor ElementFAnd its all ancillary datas, and M=M-1 is made, update garden factor kind number;
(5) the 8th step is turned;
Step 4:Garden factor specification quantity is examined and made cuts
(1) input needs the coordinate (x, y) for the garden factor examined and made cuts, and makes k=1;
(2) if coordinate (x, y) and specification SpecF,GCoordinate set CoordinateF,GIn k-th of coordinate it is identical, i.e.,
(x, y)=CoordinateF,G{ k }, J=k is made, and export " asking input nucleus subtrahend amount ", turned (4);
(3) k=k+1 is made, if k≤YF,G, turn (2), otherwise export " legend for not finding coordinate (x, y) ", and turn (8);
(4) the specific quantity m that examines and makes cuts of input;
(5) if m=0, turn (9);
(6) if m > NumF,G{ J }, output " quantity of examining and making cuts exceedes the quantity that can examine and make cuts, and please re-enter quantity of examining and making cuts ", turns
(4);
(7) if 1≤m < NumF,G{ J }, the quantity Num that coordinate (x, y) place on drawing is markedF,G{ J } is revised as NumF,G
{ J }-m, and make NumF,G{ J }=NumF,G{J}-m;
(8) if m=NumF,G{ J }, delete coordinate (x, y) place specification Spec on drawingF,GLegend and mark coordinate (x, y)
With quantity NumF,G{ J }, and delete specification SpecF,GCoordinate set CoordinateF,GIn j-th coordinate sum quantity set NumF,G
J-th numeral;
(9) Y is madeF,G=YF,G- m and W=W-m × PriceF,G, more new spec SpecF,GQuantity and gardens total cost;
(10) if YF,G=0, export " specification SpecF,GQuantity be zero ", delete specification SpecF,GAnd its ancillary data, and
Make NF=NF-1;
(11) if NF=0, export " garden factor ElementFSpecification is empty ", deleting gardens from the Φ of garden factor storehouse will
Plain ElementFAnd its ancillary data, and M=M-1 is made, garden factor kind number is updated, turns the 8th step;
(12) judge whether to continue to examine and make cuts according to drawing needs, if turning (1), otherwise turn the 8th step;
6th step:Garden factor is retrieved
(1) i=1 is made;
(2) if Name and Element in garden factor storehouseiTitle NameiUnanimously, F=i is made, is turned (4);
(3) if Name and Element in garden factor storehouseiTitle NameiIt is inconsistent, i=i+1 is made, if i≤M, is gone back to
(2) F=0, is otherwise made;
(4) if flag=0, the 3rd rapid 1 (4) and subsequent step step by step is performed, if flag=1 performs the 4th step by step rapid 1
(3) and subsequent step, if flag=2 performs the 5th rapid 1 (3) and subsequent step step by step;
7th step:Garden factor specification is retrieved
(1) j=1 is made;
(2) if specification Spec and garden factor NameFSpecification SpecF,jUnanimously, G=j is made, is turned (4);
(3) if specification Spec and garden factor ElementFSpecification SpecF,jIt is inconsistent, j=j+1 is made, if j≤NF, turn
Return (2), otherwise make G=0;
(4) if flag=0, the 3rd rapid 1 (6) and subsequent step step by step is performed, if flag=1 performs the 4th step by step rapid 1
(6) and subsequent step, if flag=2 performs the 5th rapid 1 (6) and subsequent step step by step.
8th step:Judge whether to terminate to draw according to drawing needs, if turning the 9th step, otherwise go back to second step;
9th step:Engineering is adjusted
(1) if M=0, output " is drawn as sky ", is turned (9);
(2) if M >=1, orderH=7, the Garden Engineering for drawing a L rows H row adjust the form of inventory;
(3) " sequence number ", " title ", " specification ", " unit ", " quantity ", " synthesis are inserted in each leu of form the first row
Unit price " and " amount of money ";
(4) l=2, i=1, j=1 are made;
(5) l, Name are inserted in each leu of l rowsi、Speci,j、Uniti、Yi,j、Pricei,jAnd Pricei,j×Yi,j
Concrete numerical value;
(6) l=l+1 and j=j+1 are made, if j≤Ni, go back to (5);
(7) j=1, i=i+1 are made, if i≤M, is gone back to (5);
(8) " total value " is inserted in the 1st row of L rows, last arranges the concrete numerical value for inserting W;
(9) Garden Engineering drawing is completed to draw and engineering accounting.
Compared with background technology, beneficial effects of the present invention explanation:
Garden Engineering drawing proposed by the present invention is drawn and automation engineering accounting method, can solve existing based on artificial
Efficiency existing for interpreting blueprints and the engineering accounting method that counts by hand is low, easily error, not directly perceived enough and be not suitable with quantities
The problem of huge situation, automated while drawing and realize that engineering is adjusted.
Brief description of the drawings
Accompanying drawing 1 is that the Garden Engineering drawing of the present invention draws the overall flow figure with automation engineering accounting method;
Accompanying drawing 2 is that the Garden Engineering drawing of the present invention draws the embodiment engineering with the drafting of automation engineering accounting method
Drawing schematic diagram;
Embodiment
The Garden Engineering drawing of the present invention is drawn below in conjunction with the accompanying drawings and automation engineering accounting method is retouched in detail
State.
The rectangle gardens place of one positive North and South direction is set, and it is grown and wide respectively 50m and 20m, and assume one
Individual drift angle is the origin of coordinates, engineer's scale 1:100.First, planning respectively coordinate (2,2), coordinate (2,25) and coordinate (2,
48) 2 plants of mountain China fir in nearby planting, specification are diameter of a cross-section of a tree trunk 1.3 meters above the ground 6-7cm, 480 yuan of comprehensive unit price, and legend isRespectively coordinate (18,2),
2 plants of mountain China fir during coordinate (18,25) and coordinate (18,48) are nearby planted, specification are diameter of a cross-section of a tree trunk 1.3 meters above the ground 8cm, and comprehensive unit price is 600 yuan, its
Legend is4 plants of deodar is nearby planted in coordinate (10,20), and specification is high 4-4.5m, 2000 yuan of comprehensive unit price, and its legend is1 plant of crape myrtle is nearby planted in coordinate (5,20), and specification is trunk diameter 5cm, 380 yuan of comprehensive unit price, and its legend isIn coordinate
(5,10) nearby plant 4 plants of crape myrtle, and specification is trunk diameter 9cm, 970 yuan of comprehensive unit price, and its legend isThen, by coordinate (10,
20) the deodar name modifications that nearby deodar specification is high 4-4.5m are Euonymus japonicus ball, and specification is revised as hat width 1.2m, comprehensive
Unit price is revised as 180 yuan, and unit is revised as, and legend is revised asCoordinate is revised as (15,15);Finally, delete coordinate (5,
20) nearby specification is trunk diameter 5cm crape myrtle, and nearby specification is that trunk diameter 9cm crape myrtles quantity reduces 1 by coordinate (5,10).
Its step is as shown in Figure 1.
(1) method recorded by the Summary first step carries out variable-definition and drawing initialization;
(2) method recorded by Summary second step carries out plotting motion decision-making;
(3) the method addition recorded by the step of Summary the 3rd and drafting garden factor;
(4) the method modification garden factor recorded by the step of Summary the 4th;
(5) method recorded by the step of Summary the 5th deletes garden factor;
(6) method recorded by the step of Summary the 9th carries out engineering accounting.
The engineering that table 1 gives embodiment adjusts inventory.
The engineering of table 1 adjusts inventory
Sequence number | Title | Specification | Unit | Quantity | Comprehensive unit price | The amount of money |
1 | Middle mountain China fir | Diameter of a cross-section of a tree trunk 1.3 meters above the ground 6-7cm | Strain | 6 | 480 | 2880 |
2 | Middle mountain China fir | Diameter of a cross-section of a tree trunk 1.3 meters above the ground 8cm | Strain | 6 | 600 | 3600 |
3 | Euonymus japonicus ball | Hat width 1.2m | 4 | 180 | 720 | |
4 | Crape myrtle | Trunk diameter 9cm | Strain | 3 | 970 | 2910 |
Total value | 10110 |
In embodiment condition, Garden Engineering drawing proposed by the present invention is drawn and automation engineering accounting method remains to realize
Automatically quantities (being shown in Table 1) is adjusted while drawing, as a result accurate, drawing finishes i.e. exportable engineering and adjusts inventory, because
This inventive method can solve that efficiency existing for the existing engineering accounting method counted based on manual reading of drawings and by hand is low, holds
It is error-prone, not directly perceived enough and the problem of be not suitable with quantities huge situation.
Claims (2)
1. Garden Engineering drawing is drawn and automation engineering accounting method, its feature comprise the following steps:
(1) variable is defined and drawing initializes:Variable is defined, Set scale chi size and the origin of coordinates, it is fixed
Adopted drawing border and garden factor storehouse and ancillary data;
(2) needed to select drawing for order according to drawing;
(3) increase of garden factor:Garden factor and specification are retrieved, and judge whether garden factor and specification have deposited
Garden factor is first being subjected to storage processing simultaneously its ancillary data of typing if garden factor is not present, then creating gardens will
The specification of element and the ancillary data of typing specification, finally draw garden factor;The rule of garden factor if garden factor is existing
Lattice are not present, then first create new spec and typing ancillary data, then draw garden factor;If garden factor and specification have been deposited
Then directly drawing garden factor;
(4) garden factor is changed:Garden factor and specification are retrieved, garden factor is detected and whether specification is existing, if
Garden factor is not present, and judges whether to change other garden factors, and judging whether if garden factor is existing will to gardens
Element and ancillary data modification;If judge to garden factor and ancillary data modification, directly in garden factor storehouse to itself and it is attached
Data are modified and update garden factor storehouse, if judging to garden factor specification and ancillary data modification, to specification and attached
Category data are changed and update the specification of garden factor accordingly.
(5) garden factor is deleted:Garden factor and specification are retrieved, garden factor is detected and whether specification is existing;If
Garden factor is not present, and judges whether to delete other garden factors, judges whether directly to delete if garden factor is existing
The garden factor and ancillary data, if then directly deleting the garden factor and ancillary data from garden factor storehouse, if otherwise
Continue to determine whether directly to delete the specification of the garden factor, if then directly deleting the specification of the garden factor and attached number
According to, and judge whether the specification of the garden factor is empty, if being to continue with directly deleting the garden factor from garden factor storehouse;If
Judge whether not delete directly the specification of the garden factor, then the quantity of the specification is examined and made cuts;
(6) garden factor is retrieved:The title of garden factor is inputted first, is then detected it and be whether there is in garden factor storehouse,
Sequence number of the garden factor in garden factor storehouse is returned if existing, if in the absence of returning to 0, it is last and return to calling garden factor
Position before retrieval;
(7) garden factor specification is retrieved:The specification of garden factor is inputted first, and whether then detect it will in corresponding gardens
Created in element, the sequence number of the gardens specification in garden factor is returned if having created, if in the absence of returning to 0, it is last and return to tune
Position before being retrieved with garden factor specification;
(8) judge whether to terminate to draw according to drawing needs:If terminate to carry out follow-up engineering accounting, if not then continuing
Mapping operation;
(9) engineering is adjusted:First determine whether that garden factor storehouse whether there is, if garden factor storehouse, draw Garden Engineering and adjust inventory
Form, complete Garden Engineering drawing and draw and engineering accounting.
2. Garden Engineering drawing according to claim 1 is drawn and automation engineering accounting method, its method are specially:
The first step:Variable-definition and drawing initialization
Step 1:Variable-definition
(1) S represents the border in gardens, and Φ represents garden factor storehouse, and M represents the species number of garden factor, and W represents that gardens are always made
Valency;
(2)ElementiRepresent i-th kind of garden factor, the title Name comprising garden factori, unit UnitiWith specification kind number Ni
With specification Speci,jAncillary data, and specification Speci,jQuantity Y is included againi,j, comprehensive unit price Pricei,j, legend Legendi,j、
Coordinate set Coordinatei,jSum quantity set Numi,jAncillary data, wherein i=1,2 ..., M, j=1,2 ..., Ni;
Step 2:Drawing initializes
(1) size and the origin of coordinates of Set scale chi, and engineer's scale and north pointer direction are marked on drawing;
(2) the border S in gardens is defined, and the boundary line in gardens is drawn according to S;
(3) garden factor storehouse is madeThe species number M=0 of garden factor, gardens total cost W=0;
Second step:Plotting motion decision-making
(1) needed to select drawing for order according to drawing;
(2) if selection " increase garden factor " instruction, makes flag=0, the 3rd step is turned;
(3) if selection " modification garden factor " instruction, makes flag=1, the 4th step is turned;
(4) if selection " deletion garden factor " instruction, makes flag=2, the 5th step is turned;
(5) instruction if selection " terminates to draw ", turns the 8th step;
3rd step:Increase garden factor
Step 1:Garden factor and specification retrieval
(1) " garden factor title please be input " is exported, and inputs garden factor title Name;
(2) if M=0, output " garden factor storehouse is sky, is please first put in storage garden factor Name ", 2 are gone to step;
(3) if M >=1, the 6th step is turned;
(4) if F=0, export " not finding garden factor Name, be please first put in storage the garden factor ", go to step 2;
(5) if F >=1, output " finds garden factor NameF, The concrete specification please be input ", and input garden factor title NameF's
The concrete specification Spec, turn the 7th step;
(6) if G=0, output " does not find the specification, please first creates garden factor NameFSpecification Spec ", goes to step 3;
(7) if G >=1, output " has found the specification, please draw entitled NameFSpecification is SpecF,GGarden factor ", turn step
Rapid 4;
Step 2:Garden factor is put in storage
(1) M=M+1 is made, updates the species number of garden factor, and creates garden factor ElementM;
(2) F=M, Name are madeF=Name, typing garden factor ElementFTitle;
(3) Unit is inputtedF, typing garden factor ElementFUnit;
(4) N is madeF=0, initialization garden factor ElementFSpecification kind number;
(5) by garden factor ElementFAnd its title, unit and specification kind number are saved in garden factor storehouse;
(6) " garden factor Name is exportedFBe put in storage successfully, garden factor Name please be createFSpecification ", and input The concrete specification
Spec;
Step 3:Garden factor specification creates
(1) N is madeF=NF+ 1, renewal garden factor ElementFSpecification kind number;
(2) G=N is madeF, typing The concrete specification SpecF,G=Spec;
(3) Y is madeF,G=0, initialization specification SpecF,GQuantity YF,G;
(4) Price is inputtedF,G, typing specification SpecF,GComprehensive unit price;
(5) Legend is drawnF,G, typing specification SpecF,GLegend;
(6) makeWithInitialize specification SpecF,GCoordinate set sum quantity set;
(7) by new spec SpecF,GAnd its quantity, comprehensive unit price, legend, coordinate set sum quantity set ancillary data are preserved to gardens
Key element ElementF, and export " specification creates successfully, please draw the garden factor ";
Step 4:Garden factor is drawn
(1) " coordinate that garden factor please be input " is exported;
(2) concrete numerical value (x, y) of input coordinate, and whether detection coordinates (x, y) are in the S of gardens border;
(3) if coordinate (x, y) is located in the S of gardens border, turn (4), otherwise " coordinate goes beyond the scope, and please re-enter gardens for output
The coordinate of key element ", and go back to (2);
(4) " quantity that garden factor please be input " is exported, and inputs the concrete numerical value m of garden factor quantity, recall specification
SpecF,GLegend LegendF,G, draw the legend at coordinate (x, y) place and mark coordinate (x, y) and quantity m;
(5) Y is madeF,G=YF,G+ m and W=W+m × PriceF,G, more new spec SpecF,GQuantity and gardens total cost;
(6) Coordinate is madeF,G={ CoordinateF,G, (x, y) } and NumF,G={ NumF,G, m }, respectively by coordinate (x, y)
Specification Spec is saved in quantityF,GCoordinate set sum quantity set in;
(7) judge whether to continue to draw the garden factor according to drawing needs, if going back to (1), otherwise turn the 8th step;
4th step:Change garden factor
Step 1:Garden factor and specification retrieval
(1) if M=0, output " garden factor storehouse is sky, it is impossible to is changed ", the 8th step is turned;
(2) " garden factor to be changed please be input " is exported, and inputs the title Name of garden factor, turn the 6th step;
(3) if F=0, export " not finding the garden factor ", judge whether to change other garden factors, it is no if going back to (2)
Then turn the 8th step;
(4) if F >=1, output " finds garden factor NameF", according to drawing needs, if being carried out to garden factor and ancillary data
Modification, goes to step 2;If being modified to garden factor specification and ancillary data, output " please input the specific rule for needing to change
Lattice ";
(5) garden factor title Name is inputtedFThe concrete specification Spec, turn the 7th step;
(6) if G=0, export " not finding the specification ", judged whether to change other specifications according to drawing needs, if output " please
Re-enter the The concrete specification for needing to change ", and (5) are gone back to, otherwise turn the 8th step;
(7) if G >=1, export " having found the specification, the specification and ancillary data of garden factor please be change ", go to step 3;
Step 2:Garden factor and ancillary data modification
(1) output " only can be to garden factor ElementFTitle and unit parameter modify ", and need to input according to drawing
Modification instruction;
(2) if modification garden factor ElementFTitle, export " new title please be input ", and input new title Name, make
NameF=Name, renewal garden factor ElementFTitle;
(3) if modification garden factor ElementFUnit, export " new unit please be input ", and input new unit Unit, make
UnitF=Unit, renewal garden factor ElementFUnit;
(4) needed to judge whether garden factor and ancillary data modification are completed according to drawing, if turning the 8th step, otherwise gone back to
(1);
Step 3:Garden factor specification and ancillary data modification
(1) " specification, quantity, comprehensive unit price legend and coordinate parameters can be changed " is exported, needs input modification to refer to according to drawing
Order;
(2) if modification specification, is exported " please input new specification ", and The concrete specification Spec is inputted, makes SpecF,G=Spec, renewal
Specification;
(3) if modification comprehensive unit price, is exported " please input new comprehensive unit price ", and comprehensive unit price Price is inputted, makes W=W+
(Price-PriceF,G)×YF,G, gardens total cost W is updated, then makes PriceF,G=Price, more new spec SpecF,GIt is comprehensive
Close unit price;
(4) if modification legend, is exported " please input new legend ", and legend Legend is inputted, by legend all on drawing
LegendF,GLegend is revised as, and makes LegendF,G=Legend, more new spec SpecF,GLegend;
(5) if modification coordinate, output " please input the coordinate for needing to change ", and input needs the coordinate (x, y) changed, and makes k=
1;
(6) if coordinate (x, y) and coordinate set CoordinateF,GIn k-th of coordinate it is identical, output " amended seat please be input
Mark ", and the coordinate (x ', y ') for needing to change is inputted, by coordinate set CoordinateF,GIn k-th of coordinate replace with (x ',
Y '), and by former coordinate (x, y) place specification Spec on drawingF,GLegend and the quantity of mark be moved to coordinate (x ', y '), it is former
The coordinate (x, y) of coordinate (x, y) place mark is revised as (x ', y ') and is moved to coordinate (x ', y '), turns (8);
(7) k=k+1 is made, if k≤YF,G, (6) are gone back to, otherwise output " not finding the garden factor that coordinate is (x, y) ", according to painting
Figure needs judge whether to continue to change coordinate, if going back to (5);
(8) needed to judge whether garden factor specification and ancillary data modification are completed according to drawing, if turning the 8th step, otherwise turned
Return (1);
5th step:Delete garden factor
Step 1:Garden factor and specification retrieval
(1) if M=0, output " garden factor storehouse is sky, it is impossible to is deleted ", the 8th step is turned;
(2) " garden factor to be deleted please be input " is exported, and inputs garden factor title Name, turn the 6th step;
(3) if F=0, output " garden factor Name " is not found, is judged whether to delete other garden factors according to drawing needs,
If going back to (2), otherwise turn the 8th step;
(4) if F >=1, output " finds garden factor NameF", according to drawing needs, if deleting garden factor and ancillary data, turn
Step 2;If delete garden factor The concrete specification and quantity of examining and making cuts, output " please input the The concrete specification for needing to change ";
(5) garden factor title Name is inputtedFThe concrete specification Spec, turn the 7th step;
(6) if G=0, output " does not find specification Spec ", is judged whether to delete other specifications according to drawing needs, if output
" The concrete specification for needing to change please be re-enter ", and (5) are gone back to, otherwise turn the 8th step;
(7) if G >=1, output " finds specification SpecF,G", according to drawing needs, if deleting specification SpecF,GAnd ancillary data turns
Step 3, if examining and making cuts specification SpecF,GQuantity go to step 4;
Step 2:Garden factor and ancillary data are deleted
(1) all legend Legend are deleted from drawingF,jAnd the coordinate and quantity of mark, wherein j=1,2 ..., NF;
(2) makeUpdate the total cost W in gardens;
(3) garden factor Element is deleted from the Φ of garden factor storehouseFAnd its all ancillary datas;
(4) M=M-1 is made, updates garden factor kind number M, is exported " garden factor is deleted successfully ", turns the 8th step;
Step 3:Garden factor specification and ancillary data are deleted
(1) all legend Legend are deleted from drawingF,GAnd the coordinate and quantity of mark;
(2) W=W-Price is madeF,G×YF,G, update the total cost in gardens;
(3) specification Spec is deletedF, GAnd its attached all data;
(4) N is madeF=NF- 1, if NF=0, export " garden factor ElementFSpecification is empty ", delete garden from the Φ of garden factor storehouse
Woods key element ElementFAnd its all ancillary datas, and M=M-1 is made, update garden factor kind number;
(5) the 8th step is turned;
Step 4:Garden factor specification quantity is examined and made cuts
(1) input needs the coordinate (x, y) for the garden factor examined and made cuts, and makes k=1;
(2) if coordinate (x, y) and specification SpecF,GCoordinate set CoordinateF,GIn k-th of coordinate it is identical, i.e., (x, y)=
CoordinateF,G{ k }, J=k is made, and export " asking input nucleus subtrahend amount ", turned (4);
(3) k=k+1 is made, if k≤YF,G, turn (2), otherwise export " legend for not finding coordinate (x, y) ", and turn (8);
(4) the specific quantity m that examines and makes cuts of input;
(5) if m=0, turn (9);
(6) if m > NumF,G{ J }, output " quantity of examining and making cuts exceedes the quantity that can examine and make cuts, and please re-enter quantity of examining and making cuts ", turns (4);
(7) if 1≤m < NumF,G{ J }, the quantity Num that coordinate (x, y) place on drawing is markedF,G{ J } is revised as NumF,G{J}-
M, and make NumF,G{ J }=NumF,G{J}-m;
(8) if m=NumF,G{ J }, delete coordinate (x, y) place specification Spec on drawingF,GLegend and mark coordinate (x, y) sum
Measure NumF,G{ J }, and delete specification SpecF,GCoordinate set CoordinateF,GIn j-th coordinate sum quantity set NumF,G
J numeral;
(9) Y is madeF,G=YF,G- m and W=W-m × PriceF,G, more new spec SpecF,GQuantity and gardens total cost;
(10) if YF,G=0, export " specification SpecF,GQuantity be zero ", delete specification SpecF,GAnd its ancillary data, and make NF
=NF-1;
(11) if NF=0, export " garden factor ElementFSpecification is empty ", delete garden factor from the Φ of garden factor storehouse
ElementFAnd its ancillary data, and M=M-1 is made, garden factor kind number is updated, turns the 8th step;
(12) judge whether to continue to examine and make cuts according to drawing needs, if turning (1), otherwise turn the 8th step;
6th step:Garden factor is retrieved
(1) i=1 is made;
(2) if Name and Element in garden factor storehouseiTitle NameiUnanimously, F=i is made, is turned (4);
(3) if Name and Element in garden factor storehouseiTitle NameiIt is inconsistent, i=i+1 is made, if i≤M, goes back to (2),
Otherwise F=0 is made;
(4) if flag=0, perform the 3rd rapid 1 (4) and subsequent step step by step, if flag=1 perform the 4th step by step rapid 1 (3)
And subsequent step, if flag=2 performs the 5th rapid 1 (3) and subsequent step step by step;
7th step:Garden factor specification is retrieved
(1) j=1 is made;
(2) if specification Spec and garden factor NameFSpecification SpecF,jUnanimously, G=j is made, is turned (4);
(3) if specification Spec and garden factor ElementFSpecification SpecF,jIt is inconsistent, j=j+1 is made, if j≤NF, go back to
(2) G=0, is otherwise made;
(4) if flag=0, perform the 3rd rapid 1 (6) and subsequent step step by step, if flag=1 perform the 4th step by step rapid 1 (6)
And subsequent step, if flag=2 performs the 5th rapid 1 (6) and subsequent step step by step.
8th step:Judge whether to terminate to draw according to drawing needs, if turning the 9th step, otherwise go back to second step;
9th step:Engineering is adjusted
(1) if M=0, output " is drawn as sky ", is turned (9);
(2) if M >=1, orderH=7, the Garden Engineering for drawing a L rows H row adjust the form of inventory;
(3) " sequence number ", " title ", " specification ", " unit ", " quantity ", " comprehensive list are inserted in each leu of form the first row
Valency " and " amount of money ";
(4) l=2, i=1, j=1 are made;
(5) l, Name are inserted in each leu of l rowsi、Speci,j、Uniti、Yi,j、Pricei,jAnd Pricei,j×Yi,jTool
Body numerical value;
(6) l=l+1 and j=j+1 are made, if j≤Ni, go back to (5);
(7) j=1, i=i+1 are made, if i≤M, is gone back to (5);
(8) " total value " is inserted in the 1st row of L rows, last arranges the concrete numerical value for inserting W;
(9) Garden Engineering drawing is completed to draw and engineering accounting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862552.7A CN107633140A (en) | 2017-09-22 | 2017-09-22 | Garden Engineering drawing is drawn and automation engineering accounting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862552.7A CN107633140A (en) | 2017-09-22 | 2017-09-22 | Garden Engineering drawing is drawn and automation engineering accounting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107633140A true CN107633140A (en) | 2018-01-26 |
Family
ID=61103296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710862552.7A Pending CN107633140A (en) | 2017-09-22 | 2017-09-22 | Garden Engineering drawing is drawn and automation engineering accounting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107633140A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002117243A (en) * | 2000-10-11 | 2002-04-19 | Sumitomo Forestry Co Ltd | System for supporting flower garden construction |
JP2004029941A (en) * | 2002-06-21 | 2004-01-29 | Tak One Kk | Garden information providing system |
CN1636211A (en) * | 2002-02-19 | 2005-07-06 | 西门子公司 | Engineering method and system for industrial automation systems |
CN101208698A (en) * | 2005-07-01 | 2008-06-25 | 金文贞 | System and method for designing landscape architecture based on real image |
CN102903146A (en) * | 2012-09-13 | 2013-01-30 | 中国科学院自动化研究所 | Image processing method for scene drawing |
-
2017
- 2017-09-22 CN CN201710862552.7A patent/CN107633140A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002117243A (en) * | 2000-10-11 | 2002-04-19 | Sumitomo Forestry Co Ltd | System for supporting flower garden construction |
CN1636211A (en) * | 2002-02-19 | 2005-07-06 | 西门子公司 | Engineering method and system for industrial automation systems |
JP2004029941A (en) * | 2002-06-21 | 2004-01-29 | Tak One Kk | Garden information providing system |
CN101208698A (en) * | 2005-07-01 | 2008-06-25 | 金文贞 | System and method for designing landscape architecture based on real image |
CN102903146A (en) * | 2012-09-13 | 2013-01-30 | 中国科学院自动化研究所 | Image processing method for scene drawing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107192393B (en) | A kind of maintenance system and method for road-map-data | |
CN108681798A (en) | Regional agriculture planning aid decision-making system based on GIS and planing method | |
CN104091005B (en) | A kind of Overhead Line Project measures indoor and field integration system | |
CN101604419A (en) | A kind of construction project is intended the method that addressing is extracted automatically | |
CN111507303A (en) | Wetland plant species detection method | |
CN110046213A (en) | A kind of electric power selection method for taking path distortion correction and scissors crossing correction into account | |
CN103426126A (en) | Generation method for segmental contact topological relationship of feeder line group of regional power grid | |
CN108230452A (en) | A kind of model filling-up hole method based on textures synthesis | |
CN104281912B (en) | Land use mountain topography variation | |
CN107633140A (en) | Garden Engineering drawing is drawn and automation engineering accounting method | |
CN114282738A (en) | Garden vegetation informatization management method and device based on three-dimensional visualization, terminal and medium | |
CN107788600A (en) | A kind of two-dimensional digital garment fashion drawing design system | |
CN117173367A (en) | Method and equipment for establishing dynamic landscape plant component library based on Rhino | |
CN112559648A (en) | Intelligent geochemical survey sampling point layout method | |
CN103353885A (en) | Method and system for managing seed breeding data | |
CN114003999B (en) | BIM-based sponge city green land planning method, intelligent terminal and storage medium | |
CN115496622A (en) | Method for rapidly generating MIKEBASIN water resource configuration model file | |
CN104408316B (en) | Sino-U.S.'s Geotechnical Engineering classification of soils standard handovers device and method | |
KR101733955B1 (en) | Planting a garden planning system using the sunshine analysis | |
CN104102806A (en) | Multi-species crop agroclimate regionalization method | |
CN106980764A (en) | A kind of general hydrological simulation method directly evaporated using remote sensing | |
CN117271859B (en) | Method, device and equipment for rapidly generating landscape engineering parameter information | |
Khanamani et al. | Locating Potential Sites for Species (Ammodendron persicum) in Southern Kerman province, Using AHP Method | |
CN106570587A (en) | Dispatching vehicle route optimizing method for electric energy metering device | |
CN104751512B (en) | The construction method and device of plant threedimensional model |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180126 |
|
WD01 | Invention patent application deemed withdrawn after publication |