CN117556494A - Station equipment room model generation method, device, equipment and storage medium - Google Patents

Station equipment room model generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN117556494A
CN117556494A CN202311378339.0A CN202311378339A CN117556494A CN 117556494 A CN117556494 A CN 117556494A CN 202311378339 A CN202311378339 A CN 202311378339A CN 117556494 A CN117556494 A CN 117556494A
Authority
CN
China
Prior art keywords
equipment
parameter
generating
target
equipment room
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
CN202311378339.0A
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.)
Guangzhou Metro Design and Research Institute Co Ltd
Original Assignee
Guangzhou Metro Design and Research Institute 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 Guangzhou Metro Design and Research Institute Co Ltd filed Critical Guangzhou Metro Design and Research Institute Co Ltd
Priority to CN202311378339.0A priority Critical patent/CN117556494A/en
Publication of CN117556494A publication Critical patent/CN117556494A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Abstract

The invention discloses a method, a device, equipment and a storage medium for generating a station equipment room model, wherein the method comprises the following steps: acquiring an equipment room information file corresponding to an equipment room to be arranged, and generating an equipment selection interface according to the equipment room information file; determining corresponding equipment to be arranged; acquiring a configuration file associated with equipment to be arranged, and generating an equipment parameterized arrangement interface according to the configuration file; responding to the parameter value input operation acted on the variable parameter editing area, and modifying the variable parameters of the equipment to be arranged according to the input parameter value; acquiring the arrangement position and the arrangement direction of equipment to be arranged; and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the modified arrangement positions and the modified arrangement directions of the equipment to be arranged. The invention can reduce the workload of station equipment room designers and improve the arrangement efficiency and the arrangement accuracy of station equipment.

Description

Station equipment room model generation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of station equipment management technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a station equipment room model.
Background
The station equipment room refers to a room for placing equipment in a subway station, such as a lighting distribution room, a weak current equipment room, a fire pump room and the like. At present, the design method of the station equipment room model is as follows: engineers use three-dimensional components to model, in the modeling process, equipment components required for placement are added one by one, and then the shapes, positions and elevations of the components are set one by one.
This design method allows the geometry of the components to be adjusted in a parameterized manner for individual components, but does not allow the relative position between the components to be adjusted in a parameterized manner, requiring manual adjustment settings for each placement. And, every station must independently carry out the equipment arrangement in the equipment room, can't realize quick multiplexing. This results in a large workload of station equipment room model design, low efficiency, time and effort waste, and high requirements for designers, and special manpower is required for verification and modification after each arrangement.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for generating a station equipment room model, which can reduce the workload of station equipment room designers and improve the arrangement efficiency and the arrangement accuracy of station equipment.
In order to solve the above technical problems, an embodiment of the present invention provides a method for generating a station equipment room model, including:
acquiring an equipment room information file corresponding to an equipment room to be arranged, and generating an equipment selection interface according to the equipment room information file; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
in response to a device component selection operation acting on the device selection area, determining a selected device component to be arranged, and then determining a corresponding device to be arranged according to the device component to be arranged;
acquiring a configuration file associated with equipment to be arranged, and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
when detecting that a parameter value input operation exists in any variable parameter editing area, responding to the parameter value input operation acted on the variable parameter editing area, acquiring a parameter value input in the input control, and modifying the variable parameter of equipment to be arranged according to the input parameter value;
Acquiring the arrangement position and the arrangement direction of equipment to be arranged;
and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the modified arrangement positions and the modified arrangement directions of the equipment to be arranged.
Preferably, the generating of the equipment room information file includes:
creating a plurality of target devices and determining device information of each target device; wherein the device information includes: geometric parameters of equipment, equipment direction, equipment elevation and mirror image information of the equipment;
creating a plurality of reference lines on a plane where target equipment is located, associating each target equipment with a selected reference line, and acquiring the distance between a preset equipment locating point in each target equipment and the associated reference line;
taking the equipment information of each target equipment, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line as equipment room information;
generating an equipment room information file according to the equipment room information;
and for each target device, according to the device room information file, generating a configuration file of the target device, and storing the configuration file and the corresponding target device in an associated manner, wherein the device information of the target device, the associated reference line and the distance between a preset device positioning point in the target device and the associated reference line are obtained.
Preferably, the creating a plurality of target devices and determining device information of each target device include:
generating a device placement interface; wherein the device placement interface comprises: a device creation area and a device placement area; a plurality of equipment components for selecting equipment to be created are arranged in the equipment creation area;
in response to a target device component selection operation acting on the device creation area, creating a target device corresponding to the target device component in the device placement area, and acquiring device information of the target device;
and determining the position of a preset device positioning point in the target device placed in the device placement area in response to the movement operation of the target device acting on the device placement area.
Preferably, the device placement interface further comprises: a reference line creation area; a reference line creation component for creating a reference line is arranged in the reference line creation area;
the method comprises the steps of creating a plurality of reference lines on a plane where target devices are located, associating each target device with a selected reference line, and obtaining the distance between a preset device locating point in each target device and the associated reference line, wherein the method comprises the following steps:
Responding to clicking operation of a reference line component acting on the reference line creation area, creating a plurality of reference lines on a plane where target equipment is located, and determining position information of each created reference line;
associating each target device with a selected reference line;
and determining the distance between the preset equipment locating point in each target equipment and the associated reference line according to the position of the preset equipment locating point in each target equipment and the position information of each reference line.
Preferably, the generating the equipment room information file according to the equipment room information includes:
visualizing the equipment information of each target equipment in the equipment room information, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line to generate an equipment parameter input interface;
determining a first selected parameter in response to a first parameter selection operation acting on the device parameter entry interface, the first selected parameter being set as a variable parameter;
determining a selected second selected parameter in response to a second parameter selection operation acting on the device parameter entry interface, the second selected parameter being set to an immutable parameter;
And generating equipment room information files according to the variable parameters and the non-variable parameters.
Preferably, the method further comprises:
acquiring a parameter threshold of the variable parameter;
the modifying the variable parameter of the equipment to be arranged according to the input parameter value comprises the following steps:
and comparing the input parameter value with a parameter threshold value of the corresponding variable parameter, and modifying the variable parameter of the equipment to be arranged according to the input parameter value when the parameter value is within the range of the parameter threshold value.
Preferably, the generating the equipment room model corresponding to the equipment room to be arranged according to the modified variable parameter, the modified arrangement position and the modified arrangement direction of the equipment to be arranged includes:
and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions, the arrangement directions and the non-variable parameters of the equipment to be arranged.
On the basis of the above embodiment, another embodiment of the present invention provides a device for generating a station equipment room model, including: the equipment comprises an equipment selection interface generation module, an equipment selection module to be arranged, an equipment parameterization arrangement interface generation module, a variable parameter modification module, an arrangement information acquisition module and an equipment room model generation module;
The equipment selection interface generation module is used for acquiring equipment room information files corresponding to equipment rooms to be arranged and generating an equipment selection interface according to the equipment room information files; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
the equipment to be arranged selecting module is used for responding to equipment component selecting operation acted on the equipment selecting area, determining the selected equipment component to be arranged, and then determining corresponding equipment to be arranged according to the equipment component to be arranged;
the equipment parameterized arrangement interface generation module is used for acquiring a configuration file associated with equipment to be arranged and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
the variable parameter modification module is used for responding to the parameter value input operation acted on the variable parameter editing area when detecting that the parameter value input operation exists in any variable parameter editing area, acquiring the parameter value input in the input control, and modifying the variable parameter of the equipment to be arranged according to the input parameter value;
The arrangement information acquisition module is used for acquiring the arrangement position and the arrangement direction of the equipment to be arranged;
the equipment room model generation module is used for generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions and the arrangement directions of the equipment to be arranged.
On the basis of the above embodiment, a further embodiment of the present invention provides an electronic device, where the electronic device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor executes the computer program to implement the method for generating a station equipment room model according to the embodiment of the present invention.
On the basis of the above embodiment, a further embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, a device where the storage medium is controlled to execute the method for generating the station equipment room model according to the above embodiment of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the invention, when the model of the station equipment room is designed, the equipment room information file corresponding to the equipment room to be arranged can be directly obtained, an equipment selection interface is generated according to the equipment room information file, and then equipment to be arranged is selected in the equipment selection interface. According to the equipment to be arranged, acquiring a configuration file associated with the equipment to be arranged, generating an equipment parameterized arrangement interface according to the configuration file, and modifying variable parameters of the equipment to be arranged in the equipment parameterized arrangement interface, namely generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement position and the arrangement direction.
The invention can realize quick multiplexing of the equipment room information files of all equipment rooms, and reserves preset equipment parameters and relative positions among all the equipment in the equipment room information files. The equipment to be arranged is directly selected according to the equipment room information file, the variable parameters of the equipment to be arranged are modified, the equipment room model can be generated, the needed equipment is not required to be added one by one during each arrangement, the relative positions among the equipment are manually adjusted and set, the workload of station equipment room designers is reduced, and the arrangement efficiency and the arrangement accuracy of station equipment are improved.
Drawings
Fig. 1 is a schematic flow chart of a method for generating a station equipment room model according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a device placement interface;
FIG. 3 is a schematic diagram of a reference line creation area;
FIG. 4 is a schematic diagram of a preset device setpoint in a target device;
FIG. 5 is a schematic diagram of the association of a target device with a reference line;
FIG. 6 is a schematic diagram of a device parameter entry interface;
FIG. 7 is a schematic diagram of a device selection interface;
FIG. 8 is a schematic diagram of a device parameterization arrangement;
fig. 9 is a schematic structural diagram of a generating device for a station equipment room model according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, a flow chart of a method for generating a station equipment room model according to an embodiment of the invention includes the following specific steps:
s1, acquiring an equipment room information file corresponding to an equipment room to be arranged, and generating an equipment selection interface according to the equipment room information file; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
preferably, the generating of the equipment room information file includes: creating a plurality of target devices and determining device information of each target device; wherein the device information includes: geometric parameters of equipment, equipment direction, equipment elevation and mirror image information of the equipment; creating a plurality of reference lines on a plane where target equipment is located, associating each target equipment with a selected reference line, and acquiring the distance between a preset equipment locating point in each target equipment and the associated reference line; taking the equipment information of each target equipment, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line as equipment room information; generating an equipment room information file according to the equipment room information; and for each target device, according to the device room information file, generating a configuration file of the target device, and storing the configuration file and the corresponding target device in an associated manner, wherein the device information of the target device, the associated reference line and the distance between a preset device positioning point in the target device and the associated reference line are obtained.
Preferably, the creating a plurality of target devices and determining device information of each target device include: generating a device placement interface; wherein the device placement interface comprises: a device creation area and a device placement area; a plurality of equipment components for selecting equipment to be created are arranged in the equipment creation area; in response to a target device component selection operation acting on the device creation area, creating a target device corresponding to the target device component in the device placement area, and acquiring device information of the target device; and determining the position of a preset device positioning point in the target device placed in the device placement area in response to the movement operation of the target device acting on the device placement area.
The generation steps of the information files of the various types of equipment rooms are as follows:
(1) Creating a plurality of target devices, and determining device information of each target device: and modeling by using three-dimensional components, adding target equipment components required for placement one by one in the modeling process, and then setting geometric parameters, equipment direction, equipment elevation, mirror image information of equipment and the like of each target equipment.
Referring to fig. 2, a schematic diagram of a device placement interface, the device placement interface includes: a device creation area, i.e., the [ project manager ] area shown in fig. 2, and a device placement area, i.e., the drawing window area shown in fig. 2. Taking a cold water machine room as an example, in a device creation area, namely a project manager, a target device to be arranged is found through a component tree, then the target device is created in a right key-creation example, the position of the target device is selected in a device placement area, namely a drawing window in a mouse moving mode, and after placement is completed, the position of a preset device positioning point in the placed target device is determined. For each target device to be arranged, repeating the steps one by one, and setting the device geometric parameters, the device direction, the device elevation and the mirror image information of the devices of each target device.
Preferably, the device placement interface further comprises: a reference line creation area; a reference line creation component for creating a reference line is arranged in the reference line creation area; the method comprises the steps of creating a plurality of reference lines on a plane where target devices are located, associating each target device with a selected reference line, and obtaining the distance between a preset device locating point in each target device and the associated reference line, wherein the method comprises the following steps: responding to clicking operation of a reference line component acting on the reference line creation area, creating a plurality of reference lines on a plane where target equipment is located, and determining position information of each created reference line; associating each target device with a selected reference line; and determining the distance between the preset equipment locating point in each target equipment and the associated reference line according to the position of the preset equipment locating point in each target equipment and the position information of each reference line.
(2) Creating a plurality of reference lines on a plane where the target device is located, and assigning names to the reference lines:
referring to fig. 3, a schematic diagram of a reference line creation area is shown in fig. 3, in which the device placement interface further includes a reference line creation area, that is, a "model line" area shown in fig. 3, a button of the "model line" area is clicked to create a plurality of reference lines, and then a start point and an end point of the reference line are selected on a device placement area, that is, a drawing window area, to determine position information of each created reference line.
Taking the cold water machine room as an example, executing the command of the model line, creating a plurality of reference lines, and then determining the starting point and the end point of each reference line in the drawing window area in a mouse click mode, so that the reference lines can be drawn. With the function of "literal", a literal annotation can be added next to the drawn reference line as the name of the reference line. (after the program reads the text comment and the position information of each reference line, the text closest to the end point of each reference line is selected as the name thereof)
(3) Associating each target device with a selected reference line, and acquiring the distance between a preset device positioning point in each target device and the associated reference line:
referring to fig. 4, a schematic diagram of preset device positioning points in target devices, where the device positioning points in each target device are defined by a creator of a group in the device group, and when a mouse approaches the target device, the device positioning points automatically change into a pattern of [ blue highlighting ]. ( Wherein the "family" is a template for a class of devices, and the device primitives are typically grouped according to the commonality, the same in use, and the similarity of the graphical representations of the parameter (attribute) sets of the devices. For example, two cups of the same shape but different sizes can be defined as a family of cups )
In the schematic diagram of the reference line creation area shown in fig. 3, the definition of the reference lines of illustrations 1-5 is: 1, defining an origin; 2 defining a device locating point of a first group of target devices counted on the left; 3 defining a device locating point of a second group of target devices counted on the left; 4, defining device locating points of a third group of target devices counted on the left; 5 define the device anchor points of the fourth set of target devices counted to the left.
Referring to fig. 5, taking the cold water machine room as an example, a command of "size standard-alignment" is used, then a device positioning point of the target device (when the mouse is close to the target device, the device positioning point is highlighted and becomes a selectable mode) is selected in a device placement area, i.e. a drawing window area, and then a reference line is selected, so that the target device and the selected reference line can be associated, and the distance between the device positioning point of each target device and the associated reference line is obtained.
Preferably, the generating the equipment room information file according to the equipment room information includes: visualizing the equipment information of each target equipment in the equipment room information, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line to generate an equipment parameter input interface; determining a first selected parameter in response to a first parameter selection operation acting on the device parameter entry interface, the first selected parameter being set as a variable parameter; determining a selected second selected parameter in response to a second parameter selection operation acting on the device parameter entry interface, the second selected parameter being set to an immutable parameter; and generating equipment room information files according to the variable parameters and the non-variable parameters.
(4) Editing equipment room information and generating an equipment room information file:
taking the equipment information of each target equipment, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line as equipment room information; and generating an equipment room information file according to the equipment room information. And then visualizing the equipment information of each target equipment in the equipment room information, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line to generate an equipment parameter input interface.
Referring to fig. 6, a schematic diagram of a device parameter entry interface is shown. Listing geometrical parameters of all target devices, distances between device positioning points of all target devices and associated reference lines, device elevation, device direction, whether mirror images and the like in the device parameter input interface; in the interface, the information values currently recorded can be seen, which information to record can be selected, which information to set as a variable parameter can be selected, the threshold of the variable parameter, i.e. the limiting range of the variable parameter, can be set, and also the general parameters can be set and certain information values can be associated with the general parameters.
(wherein, the general parameter refers to a parameter that may be used by a plurality of rows at the same time in the table of [ component information ] in fig. 6, in the column of [ formula ], [ for example, parameter 1 may be used in row l1 and also used in row h3 ], and then parameter 1 is the general parameter.
The association method of the information value and the general parameter is as follows: by inputting a formula containing a parameter name of a general parameter in a column of a formula of information, the program automatically indexes a parameter value of the general parameter according to the parameter name, and obtains an information value after operation according to a defined formula. Thereby realizing that the information value is obtained through the universal parameter. (e.g., the value of "parameter 1" is 1500", then in the component information, the value of l1 is defined, calculated as" formula=parameter 1", then the program automatically finds the value of" parameter 1 "-1500, and translates the formula to a value of l 1" =1500 "). Wherein, the "certain information values" are the second column of the [ component information ] table in fig. 6.
Taking the cold water machine room as an example, clicking a [ component group input ] button, then selecting a reference line and a target equipment piece through a mouse frame, automatically popping up an equipment parameter input interface by a program, namely a [ component group input ] window shown in fig. 6, and listing information such as geometric parameters of all target equipment, distances between equipment positioning points of all target equipment and the associated reference line, equipment elevation, equipment direction, mirror images or not in the window of the popup window by the program; the user can see the currently recorded information values in the interface, and then the user can select which information to record, which information to set as a variable parameter, which information to set as an invariable parameter, a threshold value of the variable parameter, i.e. a limited range of the variable parameter.
After the setting is completed, equipment room information files are regenerated according to the equipment room information after the setting, taking the cold water machine room as an example, clicking the button of the equipment parameter input interface, namely the window for inputting the component group, and automatically collecting information filled in the window by a user through a program to generate a file for storage, namely the equipment room information file. And for each target device, according to the device room information file, generating a configuration file of the target device, and storing the configuration file and the corresponding target device in an associated manner, wherein the device information of the target device, the associated reference line and the distance between a preset device positioning point in the target device and the associated reference line are obtained.
After the equipment room information files corresponding to the equipment rooms of all types are generated and stored, when the equipment room model design is carried out subsequently, the equipment room information files corresponding to the equipment rooms to be arranged are directly obtained, and an equipment selection interface is generated according to the equipment room information files.
Referring to fig. 7, a schematic diagram of a device selection interface is shown, a device room information file corresponding to a device room to be arranged is selected, and a visualized interface, i.e. the device selection interface, is popped up. Wherein the device selection interface comprises: a device select area; and a plurality of equipment components for indicating different equipment are arranged in the equipment selected area.
S2, responding to equipment component selection operation acted on the equipment selection area, determining the selected equipment component to be arranged, and then determining corresponding equipment to be arranged according to the equipment component to be arranged;
taking the cold water machine room as an example, clicking the button of the device arrangement button, automatically popping up a device selection interface shown in fig. 7 by the program, selecting a target device component by the user, and determining the corresponding device to be arranged according to the device component to be arranged selected by the user by the program.
S3, acquiring a configuration file associated with equipment to be arranged, and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
referring to fig. 8, for a schematic diagram of device parameterization, after selecting a device component to be arranged, clicking a button to obtain a configuration file associated with the device to be arranged, and generating an interface of the device parameterization according to the configuration file. In the device parameterized arrangement interface, all recorded information of the device to be arranged is displayed, wherein the non-variable participant is displayed in a non-editable manner, the variable participant is displayed in an editable manner, and editing is allowed. As shown in fig. 8, taking the above-mentioned cold water machine room as an example, in fig. 8, the second column [ value ] indicates that if the displayed number is black, which represents that the parameter is a variable parameter, a new parameter value may be manually input. If the displayed number is gray, representing the parameter as an immutable parameter, the parameter value is automatically determined by the program and cannot be manually modified.
S4, when detecting that a parameter value input operation exists in any variable parameter editing area, responding to the parameter value input operation acted on the variable parameter editing area, acquiring a parameter value input in the input control, and modifying the variable parameter of the equipment to be arranged according to the input parameter value;
preferably, the method further comprises: acquiring a parameter threshold of the variable parameter; the modifying the variable parameter of the equipment to be arranged according to the input parameter value comprises the following steps: and comparing the input parameter value with a parameter threshold value of the corresponding variable parameter, and modifying the variable parameter of the equipment to be arranged according to the input parameter value when the parameter value is within the range of the parameter threshold value.
For the variable parameter, the parameter value of the variable parameter can be input again, the program automatically compares the input parameter value with the parameter threshold value of the corresponding variable parameter, and when the parameter value is within the range of the parameter threshold value, the variable parameter of the equipment to be arranged is modified according to the input parameter value.
S5, acquiring the arrangement position and the arrangement direction of the equipment to be arranged;
taking the cold water machine room as an example, in a device placement area, namely a drawing window, a point (pt 1) is pointed by a mouse to determine the arrangement position of the device to be arranged, and a point (pt 2) is pointed by the mouse after the arrangement position of the device to be arranged is determined to determine the positive direction (the positive direction is the direction pointed by pt1 to pt 2) of the device to be arranged.
S6, generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions and the arrangement directions of the equipment to be arranged.
Preferably, the generating the equipment room model corresponding to the equipment room to be arranged according to the modified variable parameter, the modified arrangement position and the modified arrangement direction of the equipment to be arranged includes: and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions, the arrangement directions and the non-variable parameters of the equipment to be arranged.
After the setting is completed, the program automatically executes the arrangement, and an equipment room model corresponding to the equipment room to be arranged is generated according to the modified variable parameters, the arrangement position, the arrangement direction and the non-variable parameters of the equipment to be arranged.
Therefore, the invention provides a generation method of the station equipment room model, and the equipment room information file of each equipment room can be quickly multiplexed by the method, and preset equipment parameters and relative positions among the equipment in the equipment room information file are reserved. The equipment to be arranged is directly selected according to the equipment room information file, the variable parameters of the equipment to be arranged are modified, the equipment room model can be generated, the needed equipment is not required to be added one by one during each arrangement, the relative positions among the equipment are manually adjusted and set, the workload of station equipment room designers is reduced, and the arrangement efficiency and the arrangement accuracy of station equipment are improved.
Example two
Referring to fig. 9, a schematic structural diagram of a generating device for a station equipment room model according to an embodiment of the present invention is provided, where the device includes: the equipment comprises an equipment selection interface generation module, an equipment selection module to be arranged, an equipment parameterization arrangement interface generation module, a variable parameter modification module, an arrangement information acquisition module and an equipment room model generation module;
the equipment selection interface generation module is used for acquiring equipment room information files corresponding to equipment rooms to be arranged and generating an equipment selection interface according to the equipment room information files; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
the equipment to be arranged selecting module is used for responding to equipment component selecting operation acted on the equipment selecting area, determining the selected equipment component to be arranged, and then determining corresponding equipment to be arranged according to the equipment component to be arranged;
the equipment parameterized arrangement interface generation module is used for acquiring a configuration file associated with equipment to be arranged and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
The variable parameter modification module is used for responding to the parameter value input operation acted on the variable parameter editing area when detecting that the parameter value input operation exists in any variable parameter editing area, acquiring the parameter value input in the input control, and modifying the variable parameter of the equipment to be arranged according to the input parameter value;
the arrangement information acquisition module is used for acquiring the arrangement position and the arrangement direction of the equipment to be arranged;
the equipment room model generation module is used for generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions and the arrangement directions of the equipment to be arranged.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Example III
Accordingly, an embodiment of the present invention provides an electronic device, where the electronic device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the method for generating a station equipment room model according to the embodiment of the present invention is implemented.
The electronic equipment can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing equipment. The device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is a control center of the device, connecting the various parts of the overall device using various interfaces and lines.
Example IV
Accordingly, an embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, and when the computer program runs, the device where the storage medium is controlled to execute the method for generating the station equipment room model according to the embodiment of the present invention.
The memory may be used to store the computer program, and the processor may implement various functions of the device by running or executing the computer program stored in the memory, and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium, and when executed by a processor, the computer program can implement the steps of the above-mentioned method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. The method for generating the station equipment room model is characterized by comprising the following steps of:
acquiring an equipment room information file corresponding to an equipment room to be arranged, and generating an equipment selection interface according to the equipment room information file; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
in response to a device component selection operation acting on the device selection area, determining a selected device component to be arranged, and then determining a corresponding device to be arranged according to the device component to be arranged;
acquiring a configuration file associated with equipment to be arranged, and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
when detecting that a parameter value input operation exists in any variable parameter editing area, responding to the parameter value input operation acted on the variable parameter editing area, acquiring a parameter value input in the input control, and modifying the variable parameter of equipment to be arranged according to the input parameter value;
Acquiring the arrangement position and the arrangement direction of equipment to be arranged;
and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the modified arrangement positions and the modified arrangement directions of the equipment to be arranged.
2. The method for generating a station equipment room model according to claim 1, wherein the generating of the equipment room information file comprises:
creating a plurality of target devices and determining device information of each target device; wherein the device information includes: geometric parameters of equipment, equipment direction, equipment elevation and mirror image information of the equipment;
creating a plurality of reference lines on a plane where target equipment is located, associating each target equipment with a selected reference line, and acquiring the distance between a preset equipment locating point in each target equipment and the associated reference line;
taking the equipment information of each target equipment, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line as equipment room information;
generating an equipment room information file according to the equipment room information;
and for each target device, according to the device room information file, generating a configuration file of the target device, and storing the configuration file and the corresponding target device in an associated manner, wherein the device information of the target device, the associated reference line and the distance between a preset device positioning point in the target device and the associated reference line are obtained.
3. The method for generating a station equipment room model according to claim 2, wherein creating a plurality of target devices and determining equipment information of each target device comprises:
generating a device placement interface; wherein the device placement interface comprises: a device creation area and a device placement area; a plurality of equipment components for selecting equipment to be created are arranged in the equipment creation area;
in response to a target device component selection operation acting on the device creation area, creating a target device corresponding to the target device component in the device placement area, and acquiring device information of the target device;
and determining the position of a preset device positioning point in the target device placed in the device placement area in response to the movement operation of the target device acting on the device placement area.
4. A method of generating a station equipment room model as claimed in claim 3, wherein the equipment placement interface further comprises: a reference line creation area; a reference line creation component for creating a reference line is arranged in the reference line creation area;
the method comprises the steps of creating a plurality of reference lines on a plane where target devices are located, associating each target device with a selected reference line, and obtaining the distance between a preset device locating point in each target device and the associated reference line, wherein the method comprises the following steps:
Responding to clicking operation of a reference line component acting on the reference line creation area, creating a plurality of reference lines on a plane where target equipment is located, and determining position information of each created reference line;
associating each target device with a selected reference line;
and determining the distance between the preset equipment locating point in each target equipment and the associated reference line according to the position of the preset equipment locating point in each target equipment and the position information of each reference line.
5. The method for generating a station equipment room model according to claim 2, wherein the generating an equipment room information file according to the equipment room information comprises:
visualizing the equipment information of each target equipment in the equipment room information, the created reference line and the distance between the preset equipment positioning point in each target equipment and the associated reference line to generate an equipment parameter input interface;
determining a first selected parameter in response to a first parameter selection operation acting on the device parameter entry interface, the first selected parameter being set as a variable parameter;
determining a selected second selected parameter in response to a second parameter selection operation acting on the device parameter entry interface, the second selected parameter being set to an immutable parameter;
And generating equipment room information files according to the variable parameters and the non-variable parameters.
6. The method for generating a station equipment room model according to claim 5, further comprising:
acquiring a parameter threshold of the variable parameter;
the modifying the variable parameter of the equipment to be arranged according to the input parameter value comprises the following steps:
and comparing the input parameter value with a parameter threshold value of the corresponding variable parameter, and modifying the variable parameter of the equipment to be arranged according to the input parameter value when the parameter value is within the range of the parameter threshold value.
7. The method for generating the station equipment room model according to claim 5, wherein the generating the equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the modified arrangement positions and the modified arrangement directions of the equipment to be arranged comprises the following steps:
and generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions, the arrangement directions and the non-variable parameters of the equipment to be arranged.
8. The generation device of the station equipment room model is characterized by comprising the following components: the equipment comprises an equipment selection interface generation module, an equipment selection module to be arranged, an equipment parameterization arrangement interface generation module, a variable parameter modification module, an arrangement information acquisition module and an equipment room model generation module;
The equipment selection interface generation module is used for acquiring equipment room information files corresponding to equipment rooms to be arranged and generating an equipment selection interface according to the equipment room information files; wherein the device selection interface comprises: a device select area; a plurality of equipment components for indicating different equipment are arranged in the equipment selected area;
the equipment to be arranged selecting module is used for responding to equipment component selecting operation acted on the equipment selecting area, determining the selected equipment component to be arranged, and then determining corresponding equipment to be arranged according to the equipment component to be arranged;
the equipment parameterized arrangement interface generation module is used for acquiring a configuration file associated with equipment to be arranged and generating an equipment parameterized arrangement interface according to the configuration file; wherein the device parameterized placement interface comprises: a plurality of variable parameter editing areas; an input control for inputting corresponding values is arranged in the variable parameter editing area;
the variable parameter modification module is used for responding to the parameter value input operation acted on the variable parameter editing area when detecting that the parameter value input operation exists in any variable parameter editing area, acquiring the parameter value input in the input control, and modifying the variable parameter of the equipment to be arranged according to the input parameter value;
The arrangement information acquisition module is used for acquiring the arrangement position and the arrangement direction of the equipment to be arranged;
the equipment room model generation module is used for generating an equipment room model corresponding to the equipment room to be arranged according to the modified variable parameters, the arrangement positions and the arrangement directions of the equipment to be arranged.
9. An electronic device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the method of generating a station equipment room model according to any one of claims 1 to 7 when the computer program is executed.
10. A storage medium comprising a stored computer program, wherein the computer program, when run, controls a device in which the storage medium is located to perform the method of generating a station equipment room model according to any one of claims 1 to 7.
CN202311378339.0A 2023-10-24 2023-10-24 Station equipment room model generation method, device, equipment and storage medium Pending CN117556494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311378339.0A CN117556494A (en) 2023-10-24 2023-10-24 Station equipment room model generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311378339.0A CN117556494A (en) 2023-10-24 2023-10-24 Station equipment room model generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117556494A true CN117556494A (en) 2024-02-13

Family

ID=89822335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311378339.0A Pending CN117556494A (en) 2023-10-24 2023-10-24 Station equipment room model generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117556494A (en)

Similar Documents

Publication Publication Date Title
CN112336342B (en) Hand key point detection method and device and terminal equipment
CN113485160A (en) Simulation modeling method and device based on pattern matching recognition
AU2022368364A1 (en) Control method, device, equipment and storage medium for interactive reproduction of target object
CN109871743B (en) Text data positioning method and device, storage medium and terminal
CN111240736A (en) Model configuration method, device, equipment and storage medium
CN109783782A (en) Generation method, equipment, storage medium and the device of electronic contract template
CN117152399A (en) Model making method, device, equipment and storage medium based on transformer substation
CN112597023A (en) Case management method and device based on guide picture, computer equipment and storage medium
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
CN117556494A (en) Station equipment room model generation method, device, equipment and storage medium
CN116091653A (en) Configuration diagram generation method and device of operation and maintenance equipment, terminal equipment and storage medium
CN105607957B (en) A kind of data acquisition analysis system based on OPC DA
EP4161080A1 (en) Video processing method, apparatus and device, and computer-readable storage medium
CN115601547A (en) Sample image acquisition method, sample image acquisition device, cargo management method, cargo management device, cargo management equipment and storage medium
CN112748917A (en) Chart display method and device
CN116700724B (en) Interchange plane interactive graphic design system based on mode method
CN113703748B (en) Method, device and equipment for visualizing running logic in configuration web application program
CN116363260B (en) Image generation method and device and electronic equipment
CN113792247B (en) Method, apparatus, device and medium for generating functional flow chart based on code characteristics
CN115984425A (en) OpenGL-based method and system for linkage drawing and editing of flat section diagram
CN117234391A (en) Image generation method and device and electronic equipment
CN109324797B (en) Desktop icon generation method, computer readable storage medium and terminal equipment
CN115659936A (en) Data report making method and device, electronic equipment and storage medium
CN117234392A (en) Art resource generation method and device and electronic equipment
CN117632874A (en) Automatic drawing storage method, device, equipment and medium for CAD software

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