## 4 Discussion  
The results achieved in the laboratory test confirm the high stability of the tested instrument targeting control points directly from the new manufactured housing. The effectiveness of the developed technological line allowing for the automatic designing of total station housings for use in automated deformation monitoring systems has also been confirmed. The results obtained in the laboratory confirmed the consistency of the instrument readings. The manufactured product demonstrated no negative impact on the tested total station. During similar applications on various engineering objects, practitioners encounter many problems that sometimes significantly degrade the measurements. Here, one can mention the impact of atmospheric conditions on the total station (ice caps or dust stains on glasses of protective containers, instrument overheating by a constant solar exposure) and other error sources typical for quantity surveying. A particular problem may be the interference with the total station laser beam track caused by the container glasses. Here, we encounter the phenomenon of the refraction typical for light beams passing through different environments (e.g., air-glass-air) and its dispersion caused by glare. This problem mainly concerns deformation monitoring systems because the electronic total stations used for such tasks are equipped with automatic target recognition modules as standard. In such cases, the changing lighting conditions characteristic of different media interfere with the operation of the scan engines. This often leads to the incorrect identification of prisms or complete dysfunction of such modules. When designing our solution, we wanted to avoid such situations while being aware of the adverse impact of other factors on the instrument. The effect of conceptual modeling and the obtained test results confirm the fulfillment of the requirements set for contractors of surveying works, especially on construction sites. Due to conceptual modeling using UML diagrams, we have obtained a standardized procedure for automating the design process of structural monitoring systems. It is crucial in Industry 4.0, characterized by high standardization and automation of manufacturing. Such an approach will be used mainly in the case of hardly accessible objects located in endangered areas. The construction works are often executed in the impacting zone of various adverse factors caused by human activity or natural phenomena. Hence, the organizational design of measuring and control systems should proceed accurately, and the surveys should be started rapidly. By operating in near real-time, each measuring cycle needs to run reliably. The automated surveying systems directly refer to the safety of people and infrastructural integrity. Numerous similar problems occur during the construction of tunnels, metro lines, roads, motorways, or high-rise buildings. Correspondingly, the study of natural objects such as rock massits or glacial valleys requires ensuring the durability and reliability of the instruments used. In many cases, possible multiple inspection visits to facilities may be enormously complicated. Due to that, there is a need to develop an accurate and reliable solution supporting the implementation of automated measurement systems. Utilizing geodetic instruments--especially electronic total stations--is usually expensive and requires proper handling. Nevertheless, optical measurement methods are very susceptible to the refraction index related to the course of the line of sight running through air layers of different characteristics. In this context, the instruments should be set up in stable conditions, and there should be no obstacles along the laser beam track. In such a