| Indoor communication cable coverage system is a successful solution of improving the mobile communication environment for indoor user groups in buildings.In practical engineering application,Indoor communication cable coverage system drawings are generally based on AutoCAD(Auto Computer Aided Design)system to drawing,But AutoCAD only provides the basis of the CAD drawing function,for some specific requirements in the indoor coverage system drawings,AutoCAD have some disadvantages,such as operating process tediously,low efficiency,low accuracy.In order to solve these problems,in this thesis,the databases structure of ObjectARX and AutoCAD has studied in detail.On the basis of this,the Secondary development of AutoCAD has carried out.To realization the design of indoor communication cable smart coverage system.In order to realize the monitoring and maintenance of Indoor coverage system,we need insert the RFID(Radio Frequency Identification)terminal in the drawings to monitor the state of the device,When the fault device is monitored,the fault device can be directly determined on the system drawing according to the connection relationship,Furthermore,the position of the device is positioned in the plan drawing by attribute correlation module,so as to determine the specific location of the fault device in the actual environment.The details are described as follows:(1)A block batch operation module for indoor communication cable coverage system is proposed.Also applies to all AutoCAD blocks This module can realize the function of "check","add","insert","delete" and "change" by reading block name,attribute value and other geometric information such as coordinate position,scale,color and so on.The so-called "check" refers to query all the block information in the AutoCAD model space,and access to the name of the block and its attribute information;The so-called "add" refers to increase new block table records in the AutoCAD database;The so-called "insert" refers to insert the drawing itself or user defined AutoCAD blocks on some positions relative to the world coordinate system(WCS);The so-called "delete" refers to delete some specified blocks on the AutoCAD;The so-called "change" is refers to change the attribute,color,geometry,and other information of the block.Through a lot of experiments,the experimental results turn out the efficient and feasible of the module.(2)An extraction device connection module for indoor communication cable coverage system devices is proposed,this module can realize the extraction of the connection between the device and the device on the system diagram.Firstly,need to obtain the vertex position of the line and the actual length of the cable;Then,Through the connection between the vertex position of the line and the device to determine the connection ends of the device,and access to the device’s unique identity attribute value;Then,calculate and obtain all the ports of the device,and according to certain rules to sort all the ports of the device;Finally,press theconnection relationship to the custom vector,also can extract the connection relationship to the Excel table or other form.Through a lot of experiments,the experimental results turn out the efficient and feasible of the module.(3)An attribute correlation module for indoor communication cable coverage system devices is proposed,this module can realize the connection between the plan and the system drawing.Firstly,select a device on the system drawing,and read its unique identity value,drawings in AutoCAD,the devices in Indoor coverage system drawings are in the form of block,and the block has a unique identifier in the device attributes;Then,a device for selecting the corresponding value of the attribute value in a plan drawing,so as to realize the positioning of the device;Finally,the device is displayed in different ways: 1 、 Draw the external rectangle around the device which has positioning in the plan drawing,at the same time,the device is used as a view object for the current view,making the device display prominent in the current view;2、To create a new layer,the device will be positioned to the new layer,lock other layers,makes the device was dark,so the device in the new layer is highlighted on the drawing.Through a lot of experiments,the experimental results turn out the efficient and feasible of the module. |