Movatterモバイル変換


[0]ホーム

URL:


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

Project file retrieval method and system based on EPLAN software

Info

Publication number
CN115422128B
CN115422128BCN202210938053.2ACN202210938053ACN115422128BCN 115422128 BCN115422128 BCN 115422128BCN 202210938053 ACN202210938053 ACN 202210938053ACN 115422128 BCN115422128 BCN 115422128B
Authority
CN
China
Prior art keywords
search
item
project
file
button
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
CN202210938053.2A
Other languages
Chinese (zh)
Other versions
CN115422128A (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.)
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 LtdfiledCriticalFujian Nebula Electronics Co Ltd
Priority to CN202210938053.2ApriorityCriticalpatent/CN115422128B/en
Publication of CN115422128ApublicationCriticalpatent/CN115422128A/en
Application grantedgrantedCritical
Publication of CN115422128BpublicationCriticalpatent/CN115422128B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供了计算机技术领域的一种基于EPLAN软件的项目文件检索方法及系统,方法包括如下步骤:步骤S10、设定一项目存储路径,获取项目文件的项目编号,基于所述项目编号在项目存储路径创建文件夹,并将所述项目文件存储至文件夹内;步骤S20、基于Winform控件创建一用于搜索所述项目文件的搜索项目窗口;步骤S30、声明EPLAN软件用于调用所述搜索项目窗口的搜索项目操作;步骤S40、声明所述搜索项目操作的菜单名为搜索项目,并将所述搜索项目插入EPLAN软件的菜单中;步骤S50、基于所述搜索项目调用搜索项目窗口对项目文件进行检索。本发明的优点在于:极大的提升了项目文件检索的便捷性。

The present invention provides a project file retrieval method and system based on EPLAN software in the field of computer technology. The method includes the following steps: Step S10: setting a project storage path, obtaining 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 in the folder; Step S20: creating a search project window for searching the project file based on a WinForm control; Step S30: declaring a search project operation of the EPLAN software for calling the search project window; Step S40: declaring a menu name of the search project operation as "search project" and inserting the search project into the EPLAN software menu; Step S50: calling the search project window based on the search project to retrieve the project file. The present invention has the advantage of greatly improving the convenience of project file retrieval.

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 system based on EPLAN software.
Background
At present, two main methods for opening project files in EPLAN software are that firstly, clicking a project option and an open option in a menu of the EPLAN software successively, then clicking a file storage path in a file browsing window of the EPLAN software successively, and finally finding and opening the required project files, and secondly, clicking the file storage path in sequence through a file resource manager of Windows to find the required project files, and then opening the project files through the EPLAN software.
However, both the above two methods need to click a plurality of folders to finally index to the positions of the project files, which has the defects of complicated opening process and long searching time, and the problems of difficult positioning of the project files or forgetting of the project file storage paths due to different storage habits of users often occur in the nesting of the file interlayer layers, the difficulty degree of searching the corresponding drawings is gradually increased after the accumulation of the drawing projects, and in addition, the problem of difficult searching of the project files after the transfer occurs due to unfamiliar project file storage paths of former users by acceptors when personnel in a company perform work transfer.
Therefore, how to provide a project file retrieval method and system based on EPLAN software, so as to improve the convenience of project file retrieval, is a technical problem to be solved urgently.
Disclosure of Invention
The invention aims to solve the technical problem of providing a project file retrieval method and a project file retrieval system based on EPLAN software, which can improve the convenience of project file retrieval.
In a first aspect, the present invention provides a project file retrieval method based on EPLAN software, including the steps of:
step S10, setting an item storage path, obtaining item numbers of item files, creating folders in the item storage path based on the item numbers, and storing the item files in the folders;
Step S20, creating a search project window for searching the project file based on a Winform control;
Step S30, declaring that the EPLAN software is used for calling the search term operation of the search term window;
step S40, declaring the menu name of the search term operation as a search term, and inserting the search term into a menu of EPLAN software;
and step S50, calling a search term window to search the term file based on the search term.
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 a folder corresponding to the item number.
Further, in the step S20, the search term window is provided with an input box, a search button, a result display list, a search status display field, an OK button, and a Cancel button.
Further, the input box is used for inputting a search field of a search project file, the search button is used for triggering search operation, the result display list is used for displaying search results and at least comprises a project name, a project number, a file path and a file type, the search state display column is used for displaying search states and search result statistical information, the OK button is used for opening the selected project file, and the cancer 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 search of a search field acquired from an input box under the item storage path based on the received click signal, item information of the searched item file is displayed in a result display list, an OK button of the search item window opens the selected item file based on the received click signal, and search of the item file is completed;
The item information includes at least an item name, an item number, a file path, and a file type.
In a second aspect, the present invention provides an EPLAN software-based project file retrieval system, including the following modules:
The project file storage module is used for setting a project storage path, obtaining 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 term window creation module is used for creating a search term window for searching the term file based on the Winform control;
a search term operation declaration module for declaring a search term operation of EPLAN software for invoking the search term window;
The menu name declaring module is used for declaring the menu name of the search item operation as a search item and inserting the search item into a menu of the EPLAN software;
and the retrieval module is used for calling a search term window to retrieve the project file based on the search term.
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 a folder corresponding to the item number.
Further, in the search term window creation module, the search term window is provided with an input box, a search button, a result display list, a search status display column, an OK button and a cancer button.
Further, the input box is used for inputting a search field of a search project file, the search button is used for triggering search operation, the result display list is used for displaying search results and at least comprises a project name, a project number, a file path and a file type, the search state display column is used for displaying search states and search result statistical information, the OK button is used for opening the selected project file, and the cancer 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 search of a search field acquired from an input box under the item storage path based on the received click signal, item information of the searched item file is displayed in a result display list, an OK button of the search item window opens the selected item file based on the received click signal, and search of the item file is completed;
The item information includes at least an item name, an item number, a file path, and a file type.
The invention has the advantages that:
by setting the item storage path, the item files are stored in folders named by item numbers under the item storage path, namely, the storage path of the item files of the EPLAN software is standardized, then a search item window is created based on a Winform control, after the search item operation and the menu name of the search item window are declared, a menu with the menu name of the search item is inserted into the menu of the EPLAN software, the search item window can be called by clicking the search item, search fields can be input in the search item window quickly, the storage path is not required to be memorized as in the prior art, and convenience and efficiency of the search of the item files are greatly improved.
Drawings
The invention will be further described with reference to examples of embodiments with reference to the accompanying drawings.
Fig. 1 is a flowchart of a project file retrieval method based on EPLAN software of the present invention.
Fig. 2 is a schematic diagram of the 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 of the embodiment of the application has the general ideas that the EPLAN software is subjected to secondary development, the project number of the project file is used as a folder name to automatically create a folder in the project storage path so as to standardize the storage path of the project file, a search project is embedded in a menu of the EPLAN software and used for calling a search project window created based on a Winform, the search project window is used for realizing the input of a search field and the display of a search result, a user can conveniently search in the EPLAN software, the search project window searches in the project storage path according to the search field input by the user, and the project file containing the search field in the project name is matched so as to simplify the step of searching the project file and improve the convenience of searching the project file.
Referring to fig. 1 to 3, a preferred embodiment of a project file searching method based on EPLAN software of the present invention includes the following steps:
step S10, setting an item storage path, obtaining item numbers of item files, creating folders in the item storage path based on the item numbers, and storing the item files in the folders;
Step S20, creating a search project window for searching the project file based on a Winform control;
step S30, declaring the operation of the search item for the EPLAN software to call the search item window, wherein the declared codes are as follows:
[DeclareAction("ProjectSearch")]
publicvoidSearchMacrosVoid()
{
ProjectSearchform=newProjectSearch();
form.ShowDialog();
return;
}
the code defines "ProjectSearch" as a search term operation (EPLAN operation) that invokes a search term window.
Step S40, declaring the menu name of the search item operation as a search item, and inserting the search item into a menu of the EPLAN software, wherein the code is as follows:
[DeclareMenu]
publicvoidMenuFunction()
{
EPLAN.EplApi.Gui.Menumenu=newEPLAN.EplApi.Gui.Menu();
menu. Addmenu item ("search term",
"ProjectSearch",
"Find and open item",
35340,// Is inserted after "item" - "close item
1,
false,
false);
return;
}
And step S50, calling a search term window to search the term file based on the search term.
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 a folder corresponding to the item number. When a plurality of item files are used for the same item number, then they are stored under the same folder.
In the step S20, the search term window is provided with an input box, a search button, a result display list, a search status display field, an OK button and a Cancel button.
The input box is used for inputting a search field of a search project file, the search button is used for triggering search operation, the result display list is used for displaying search results and at least comprises a project name, a project number, a file path and a file type, the search state display column is used for displaying search states and search result statistical information, the OK button is used for opening the selected project file, and the cancer button is used for canceling the search operation.
The input box supports limiting the search scope, such as setting and searching all files containing suffixes, and specifically comprises an EPLAN item (. Elk), an EPLAN item with revision information (. Ell), a packed EPLAN item (. Elp), an archived EPLAN item (. Els), an archived and packed EPLAN item (. Elx), a finished EPLAN item (. Elr), a temporary EPLAN reference item (. Elt) and the like, so that the flexibility and the efficiency of the search are further improved.
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 search of a search field acquired from an input box under the item storage path based on the received click signal, item information of the searched item file is displayed in a result display list, an OK button of the search item window opens the selected item file based on the received click signal, and search of the item file is completed;
The item information includes at least an item name, an item number, a file path, and a file type.
The invention relates to 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, obtaining 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 term window creation module is used for creating a search term window for searching the term file based on the Winform control;
The search term operation declaration module is used for declaring the search term operation of the EPLAN software for calling the search term window, and the declared codes are as follows:
[DeclareAction("ProjectSearch")]
publicvoidSearchMacrosVoid()
{
ProjectSearchform=newProjectSearch();
form.ShowDialog();
return;
}
the code defines "ProjectSearch" as a search term operation (EPLAN operation) that invokes a search term window.
The menu name declaring module is used for declaring the menu name of the search item operation as a search item and inserting the search item into a menu of the EPLAN software, and the code is as follows:
[DeclareMenu]
publicvoidMenuFunction()
{
EPLAN.EplApi.Gui.Menumenu=newEPLAN.EplApi.Gui.Menu();
menu. Addmenu item ("search term",
"ProjectSearch",
"Find and open item",
35340,// Is inserted after "item" - "close item
1,
false,
false);
return;
}
And the retrieval module is used for calling a search term window to retrieve the project file based on the search term.
The project file storage module specifically comprises:
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 a folder corresponding to the item number. When a plurality of item files are used for the same item number, then they are stored under the same folder.
In the search term window creation module, the search term window is provided with an input box, a search button, a result display list, a search state display column, an OK button and a cancer button.
The input box is used for inputting a search field of a search project file, the search button is used for triggering search operation, the result display list is used for displaying search results and at least comprises a project name, a project number, a file path and a file type, the search state display column is used for displaying search states and search result statistical information, the OK button is used for opening the selected project file, and the cancer button is used for canceling the search operation.
The input box supports limiting the search scope, such as setting and searching all files containing suffixes, and specifically comprises an EPLAN item (. Elk), an EPLAN item with revision information (. Ell), a packed EPLAN item (. Elp), an archived EPLAN item (. Els), an archived and packed EPLAN item (. Elx), a finished EPLAN item (. Elr), a temporary EPLAN reference item (. Elt) and the like, so that the flexibility and the efficiency of the search are further improved.
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 search of a search field acquired from an input box under the item storage path based on the received click signal, item information of the searched item file is displayed in a result display list, an OK button of the search item window opens the selected item file based on the received click signal, and search of the item file is completed;
The item information includes at least an item name, an item number, a file path, and a file type.
In summary, the invention has the advantages that:
by setting the item storage path, the item files are stored in folders named by item numbers under the item storage path, namely, the storage path of the item files of the EPLAN software is standardized, then a search item window is created based on a Winform control, after the search item operation and the menu name of the search item window are declared, a menu with the menu name of the search item is inserted into the menu of the EPLAN software, the search item window can be called by clicking the search item, search fields can be input in the search item window quickly, the storage path is not required to be memorized as in the prior art, and convenience and efficiency of the search of the item files are greatly improved.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that the specific embodiments described are illustrative only and not intended to limit the scope of the invention, and that equivalent modifications and variations of the invention in light of the spirit of the invention will be covered by the claims of the present invention.

Claims (2)

CN202210938053.2A2022-08-052022-08-05Project file retrieval method and system based on EPLAN softwareActiveCN115422128B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202210938053.2ACN115422128B (en)2022-08-052022-08-05Project file retrieval method and system based on EPLAN software

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210938053.2ACN115422128B (en)2022-08-052022-08-05Project file retrieval method and system based on EPLAN software

Publications (2)

Publication NumberPublication Date
CN115422128A CN115422128A (en)2022-12-02
CN115422128Btrue CN115422128B (en)2025-09-16

Family

ID=84196930

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210938053.2AActiveCN115422128B (en)2022-08-052022-08-05Project file retrieval method and system based on EPLAN software

Country Status (1)

CountryLink
CN (1)CN115422128B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7730012B2 (en)*2004-06-252010-06-01Apple Inc.Methods and systems for managing data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
eplan查找与替换;百度文库;《https://wenku.baidu.com/view/1d27663aa11614791711cc7931b765ce05087a10.html?_wkts_=1752216368561&bdQuery=EPLAN》;20220409;全文*
winform入门与基本控件使用详解;阿阿阿安;https://www.cnblogs.com/Dongmy/p/16687591.html》;20220623;全文*

Also Published As

Publication numberPublication date
CN115422128A (en)2022-12-02

Similar Documents

PublicationPublication DateTitle
EP0541712B1 (en)Intelligent help system
US8776023B2 (en)Software testing
US8214822B2 (en)Editor for program files
US7802194B2 (en)Business query language
US8689125B2 (en)System and method for automatic information compatibility detection and pasting intervention
US10228850B2 (en)Preview window including a storage context view of one or more computer resources
US7788259B2 (en)Locating, viewing and interacting with information sources
AU2017216248B2 (en)Systems and methods for generating electronic document templates and electronic documents
US20050125715A1 (en)Method of saving data in a graphical user interface
WO2002069143A1 (en)System and method to facilitate analysis and removal of errors from an application
CN103853808A (en)Method and system for providing search results
US20150127688A1 (en)Facilitating discovery and re-use of information constructs
JP2009522695A (en) How to attach metadata to documents and document objects using the operating system user interface
US20110252049A1 (en)Function execution using sql
JP2011192296A (en)Help utility application program
JP2011128777A (en)Operation monitoring apparatus
EP2524300A1 (en)Apparatus and method for constructing data applications in an unstructured data environment
US8548967B1 (en)System for visual query and manipulation of configuration management records
US20060047653A1 (en)Systems and methods for navigating to multiple destination types through a single search interface in a development environment
CN115422128B (en)Project file retrieval method and system based on EPLAN software
CN101776993B (en)System and method automatically generating software interactive interface
CN110554997A (en)File name batch modification method and system
CN112597057B (en)Method and device for differentially processing blueprint data
CN115421770A (en)Resource information processing method and device, storage medium and electronic equipment
EP1850246A1 (en)Data retrieval system, method and program

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp