CN115422128A - Project file retrieval method and system based on EPLAN software - Google Patents

Project file retrieval method and system based on EPLAN software Download PDF

Info

Publication number
CN115422128A
CN115422128A CN202210938053.2A CN202210938053A CN115422128A CN 115422128 A CN115422128 A CN 115422128A CN 202210938053 A CN202210938053 A CN 202210938053A CN 115422128 A CN115422128 A CN 115422128A
Authority
CN
China
Prior art keywords
item
search
file
project
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210938053.2A
Other languages
Chinese (zh)
Inventor
刘震
黎晓丹
郭金鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Nebula Electronics Co Ltd
Original Assignee
Fujian Nebula Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Nebula Electronics Co Ltd filed Critical Fujian Nebula Electronics Co Ltd
Priority to CN202210938053.2A priority Critical patent/CN115422128A/en
Publication of CN115422128A publication Critical patent/CN115422128A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files

Abstract

The invention provides a project file retrieval method and a system based on EPLAN software, belonging to the technical field of computers, wherein the method comprises the following steps: step S10, setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder; s20, creating a search item window for searching the item file based on a Winform control; step S30, declaring that the EPLAN software is used for calling the search item operation of the search item window; s40, declaring the name of a menu operated by the search item as the search item, and inserting the search item into a menu of the EPLAN software; and S50, calling a search item window based on the search item to retrieve the item file. The invention has the advantages that: the convenience of project file retrieval is greatly improved.

Description

Project file retrieval method and system based on EPLAN software
Technical Field
The invention relates to the technical field of computers, in particular to a project file retrieval method and a project file retrieval system based on EPLAN software.
Background
At present, there are two main methods for opening project files in the EPLAN software: firstly, clicking a 'project' option and an 'open' option in a menu of the EPLAN software in sequence, then clicking a file storage path in a file browsing window of the EPLAN software in sequence, and finally finding and opening a required project file; and secondly, sequentially clicking a file storage path through a file resource manager of Windows to find a required project file, and then opening the project file through EPLAN software.
However, in both of the above two methods, the project file position is finally indexed by clicking a plurality of folders, and the disadvantages of complicated opening process and long retrieval time exist; moreover, because the storage habits of users are different, the problems that the project files are difficult to position due to the interlayer nesting of the files, or the storage paths of the project files are forgotten often occur; after the number of the drawing items is increased, the difficulty degree of searching the corresponding drawing is gradually increased; in addition, when the personnel in the company takes over the work, the receiver is not familiar with the project file storage path of the former user, so that the problem that the project file is difficult to search after taking over easily occurs.
Therefore, how to provide a project file retrieval method and system based on the EPLAN software to improve the convenience of project file retrieval is a technical problem to be solved urgently.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a project file retrieval method and system based on EPLAN software, so that convenience in project file retrieval is improved.
In a first aspect, the present invention provides a project file retrieval method based on EPLAN software, including the following steps:
step S10, setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
s20, creating a search item window for searching the item file based on a Winform control;
step S30, declaring that the EPLAN software is used for calling the search item operation of the search item window;
s40, declaring the name of a menu operated by the search item as the search item, and inserting the search item into a menu of the EPLAN software;
and S50, calling a search item window based on the search item to retrieve the item file.
Further, the step S10 specifically includes:
setting an item storage path for storing the item file, acquiring an item number based on a path variable of the item file, creating a folder in the item storage path by taking the item number as a folder name, and storing the item file into the folder corresponding to the item number.
Further, in the step S20, the search item window is provided with an input box, a search button, a result display list, a search status display bar, an OK button, and a Cancel button.
Further, the input box is used for inputting a search field of a search term file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
Further, the step S50 specifically includes:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least includes a project name, a project number, a file path, and a file type.
In a second aspect, the present invention provides a project file retrieval system based on EPLAN software, including the following modules:
the project file storage module is used for setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
the search item window creating module is used for creating a search item window for searching the item file based on a Winform control;
a search item operation declaration module for declaring that the EPLAN software is used for calling the search item operation of the search item window;
a menu name declaration module, which is used for declaring the menu name operated by the search item as the search item and inserting the search item into the menu of the EPLAN software;
and the retrieval module is used for calling a search item window to retrieve the item file based on the search item.
Further, the project file storage module specifically includes:
setting an item storage path for storing the item file, acquiring an item number based on a path variable of the item file, creating a folder in the item storage path by taking the item number as a folder name, and storing the item file into the folder corresponding to the item number.
Further, in the search term window creating module, the search term window is provided with an input box, a search button, a result display list, a search status display bar, an OK button, and a Cancel button.
Further, the input box is used for inputting a search field of a search term file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
Further, the retrieval module specifically comprises:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least includes a project name, a project number, a file path, and a file type.
The invention has the advantages that:
the method comprises the steps of setting a project storage path, storing project files in a folder named by project numbers under the project storage path, namely standardizing the storage path of the project files of EPLAN software, creating a search project window based on a Winform control, declaring search project operation and a menu name of the search project window, inserting a menu with the menu name as a search project into a menu of the EPLAN software, calling the search project window by clicking the search project subsequently, inputting search fields in the search project window to quickly retrieve in the project storage path without memorizing the storage path in the prior art, and further greatly improving convenience and efficiency of project file retrieval.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of a project file retrieval method based on EPLAN software according to the present invention.
FIG. 2 is a schematic structural diagram of a project file retrieval system based on EPLAN software according to the present invention.
FIG. 3 is a schematic interface diagram of a search term window of the present invention.
Detailed Description
The technical scheme in the embodiment of the application has the following general idea: carrying out secondary development on the EPLAN software, and automatically creating a folder in a project storage path by taking the project number of the project file as the folder name so as to standardize the storage path of the project file; the method is characterized in that a 'search item' is embedded in a menu of the EPLAN software and used for calling a search item window created based on Winform, the input of a search field and the display of a search result are realized through the search item window, a user can conveniently perform search operation in the EPLAN software, the search item window performs search in an item storage path according to the search field input by the user, and an item file with the search field in an item name is matched, so that the steps of retrieving the item file are simplified, and the convenience of retrieving the item file is improved.
Referring to fig. 1 to 3, a preferred embodiment of a project file retrieving method based on the EPLAN software of the present invention includes the following steps:
step S10, setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
s20, creating a search item window for searching the item file based on a Winform control;
step S30, declaring that the EPLAN software is used for calling the search item operation of the search item window; the declared code is exemplified as follows:
[DeclareAction("ProjectSearch")]
publicvoidSearchMacrosVoid()
{
ProjectSearchform=newProjectSearch();
form.ShowDialog();
return;
}
the code defines "project search" as a search item operation (EPLAN operation) that invokes a search item window.
Step S40, declaring the name of the menu operated by the search item as the search item, and inserting the search item into the menu of the EPLAN software; the codes are exemplified as follows:
[DeclareMenu]
publicvoidMenuFunction()
{
EPLAN.EplApi.Gui.Menumenu=newEPLAN.EplApi.Gui.Menu();
addmenuitem ("search item",
"ProjectSearch",
"find and open an item",
35340,// insert behind "item" - "close item
1,
false,
false);
return;
}
And S50, calling a search item window based on the search item to retrieve the item file.
The step S10 specifically includes:
setting a project storage path for storing project files, acquiring project numbers based on path variables of the project files, creating folders in the project storage path by taking the project numbers as folder names, and storing the project files into the folders corresponding to the project numbers. When a plurality of project files are used for the same project number, the project files are stored in the same folder.
In the step S20, the search item window is provided with an input box, a search button, a result display list, a search status display bar, an OK button, and a Cancel button.
The input box is used for inputting a search field of a search item file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
The input box supports the limitation of the search scope, for example, the search of all files containing the suffix of the item [ el ], including the EPLAN item [ elk ], the EPLAN item [ ell ] with the revision information, the packaged EPLAN item [ elp ], the archived EPLAN item [ els ], the archived EPLAN item [ elx ], the completed EPLAN item [ elr ], the temporary EPLAN reference item [ elt ], and the like, is set, so that the flexibility and the efficiency of the search are further improved.
The step S50 is specifically:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least comprises a project name, a project number, a file path and a file type.
The invention discloses a preferred embodiment of a project file retrieval system based on EPLAN software, which comprises the following modules:
the project file storage module is used for setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
the search item window creating module is used for creating a search item window for searching the item file based on a Winform control;
a search item operation declaration module for declaring that the EPLAN software is used for calling the search item operation of the search item window; the declared code is exemplified as follows:
[DeclareAction("ProjectSearch")]
publicvoidSearchMacrosVoid()
{
ProjectSearchform=newProjectSearch();
form.ShowDialog();
return;
}
the code defines "project search" as a search term operation (EPLAN operation) that invokes a search term window.
A menu name declaring module for declaring the menu name operated by the search item as the search item and inserting the search item into the menu of the EPLAN software; the codes are exemplified as follows:
[DeclareMenu]
publicvoidMenuFunction()
{
EPLAN.EplApi.Gui.Menumenu=newEPLAN.EplApi.Gui.Menu();
addmenuitem ("search item",
"ProjectSearch",
"find and open an item",
35340,// insert behind "item" - "close item
1,
false,
false);
return;
}
And the retrieval module is used for calling a search item window to retrieve the item file based on the search item.
The project file storage module is specifically as follows:
setting an item storage path for storing the item file, acquiring an item number based on a path variable of the item file, creating a folder in the item storage path by taking the item number as a folder name, and storing the item file into the folder corresponding to the item number. When a plurality of project files are used for the same project number, the project files are stored in the same folder.
In the search item window creating module, the search item window is provided with an input box, a search button, a result display list, a search state display column, an OK button and a Cancel button.
The input box is used for inputting a search field of a search item file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
The input box supports the limitation of the search scope, for example, the search of all files containing the suffix of the item [ el ], including the EPLAN item [ elk ], the EPLAN item [ ell ] with the revision information, the packaged EPLAN item [ elp ], the archived EPLAN item [ els ], the archived EPLAN item [ elx ], the completed EPLAN item [ elr ], the temporary EPLAN reference item [ elt ], and the like, is set, so that the flexibility and the efficiency of the search are further improved.
The retrieval module is specifically as follows:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least includes a project name, a project number, a file path, and a file type.
In summary, the invention has the advantages that:
the method comprises the steps of setting a project storage path, storing project files in a folder named by project numbers under the project storage path, namely standardizing the storage path of the project files of EPLAN software, creating a search project window based on a Winform control, declaring search project operation and a menu name of the search project window, inserting a menu with the menu name as a search project into a menu of the EPLAN software, calling the search project window by clicking the search project subsequently, inputting search fields in the search project window to quickly retrieve in the project storage path without memorizing the storage path in the prior art, and further greatly improving convenience and efficiency of project file retrieval.
While specific embodiments of the invention have been described, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, as equivalent modifications and variations as will be made by those skilled in the art in light of the spirit of the invention are intended to be included within the scope of the appended claims.

Claims (10)

1. A project file retrieval method based on EPLAN software is characterized in that: the method comprises the following steps:
step S10, setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
s20, creating a search item window for searching the item file based on a Winform control;
step S30, declaring that the EPLAN software is used for calling the search item operation of the search item window;
s40, declaring the name of a menu operated by the search item as the search item, and inserting the search item into a menu of the EPLAN software;
and S50, calling a search item window based on the search item to retrieve the item file.
2. The EPLAN software-based project file retrieval method according to claim 1, wherein: the step S10 specifically includes:
setting an item storage path for storing the item file, acquiring an item number based on a path variable of the item file, creating a folder in the item storage path by taking the item number as a folder name, and storing the item file into the folder corresponding to the item number.
3. The EPLAN software-based project file retrieval method according to claim 1, wherein: in the step S20, the search item window is provided with an input box, a search button, a result display list, a search status display bar, an OK button, and a Cancel button.
4. The EPLAN software-based project file retrieval method according to claim 3, wherein: the input box is used for inputting a search field of a search item file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
5. The EPLAN software-based project file retrieval method according to claim 3, wherein: the step S50 is specifically:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least comprises a project name, a project number, a file path and a file type.
6. An EPLAN software-based project file retrieval system, characterized in that: the system comprises the following modules:
the project file storage module is used for setting a project storage path, acquiring a project number of a project file, creating a folder in the project storage path based on the project number, and storing the project file into the folder;
the search item window creating module is used for creating a search item window for searching the item file based on a Winform control;
a search item operation declaration module for declaring that the EPLAN software is used for calling the search item operation of the search item window;
a menu name declaring module for declaring the menu name operated by the search item as the search item and inserting the search item into the menu of the EPLAN software;
and the retrieval module is used for calling a search item window to retrieve the item file based on the search item.
7. The EPLAN software-based project file retrieval system of claim 6, wherein: the project file storage module is specifically as follows:
setting an item storage path for storing the item file, acquiring an item number based on a path variable of the item file, creating a folder in the item storage path by taking the item number as a folder name, and storing the item file into the folder corresponding to the item number.
8. The EPLAN software-based project file retrieval system of claim 6, wherein: in the search item window creation module, the search item window is provided with an input box, a search button, a result display list, a search status display bar, an OK button and a Cancel button.
9. The EPLAN software-based project file retrieval system of claim 8, wherein: the input box is used for inputting a search field of a search item file; the search button is used for triggering search operation; the result display list is used for displaying search results and at least comprises item names, item numbers, file paths and file types; the search state display bar is used for displaying search states and search result statistical information; the OK button is used for opening the selected project file; the Cancel button is used for canceling the search operation.
10. The EPLAN software-based project file retrieval system of claim 8, wherein: the retrieval module is specifically as follows:
the search item calls a search item window based on the received click signal, a search button of the search item window automatically executes the retrieval of a search field acquired from an input box under the item storage path based on the received click signal, item information of the retrieved item file is displayed in a result display list, and an OK button of the search item window opens a selected item file based on the received click signal to complete the retrieval of the item file;
the project information at least includes a project name, a project number, a file path, and a file type.
CN202210938053.2A 2022-08-05 2022-08-05 Project file retrieval method and system based on EPLAN software Pending CN115422128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210938053.2A CN115422128A (en) 2022-08-05 2022-08-05 Project file retrieval method and system based on EPLAN software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210938053.2A CN115422128A (en) 2022-08-05 2022-08-05 Project file retrieval method and system based on EPLAN software

Publications (1)

Publication Number Publication Date
CN115422128A true CN115422128A (en) 2022-12-02

Family

ID=84196930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210938053.2A Pending CN115422128A (en) 2022-08-05 2022-08-05 Project file retrieval method and system based on EPLAN software

Country Status (1)

Country Link
CN (1) CN115422128A (en)

Similar Documents

Publication Publication Date Title
US11972203B1 (en) Using anchors to generate extraction rules
US7430719B2 (en) Contact text box
US7334196B2 (en) User interface display navigation and item selection system
US20180068002A1 (en) Resolving database entity information
US7802191B2 (en) Contact picker interface
US8626734B2 (en) Application launching via indexed data
EP0541712B1 (en) Intelligent help system
US7849419B2 (en) Computer-implemented graphical user interface previews
US7113941B2 (en) Database access mechanisms for a computer user interface
Nguyen et al. Recommending API usages for mobile apps with hidden markov model
US20080021932A1 (en) Locating, viewing and interacting with information sources
US20080052623A1 (en) Accessing data objects based on attribute data
US20150127688A1 (en) Facilitating discovery and re-use of information constructs
US8677272B2 (en) Graphical user interface design utility
US5953720A (en) Method and apparatus for a unified chooser for heterogeneous entities
JP2011192296A (en) Help utility application program
CN110659349A (en) Log query method, device, equipment and computer readable storage medium
El-Ramly et al. Mining system-user interaction traces for use case models
US7730067B2 (en) Database interaction
CN115422128A (en) Project file retrieval method and system based on EPLAN software
EP1904936A1 (en) Data storage method
US20090158255A1 (en) Test method and test device for unit code using unit test code
CN101261583A (en) System function rapid calling method
JP5057177B2 (en) Equipment operation support system
EP1248975B1 (en) System and method for creating a graphical user interface from a filter expression tree

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