CN210627173U - Unit test code generation device - Google Patents
Unit test code generation device Download PDFInfo
- Publication number
- CN210627173U CN210627173U CN201921459882.2U CN201921459882U CN210627173U CN 210627173 U CN210627173 U CN 210627173U CN 201921459882 U CN201921459882 U CN 201921459882U CN 210627173 U CN210627173 U CN 210627173U
- Authority
- CN
- China
- Prior art keywords
- device shell
- circuit board
- unit test
- test code
- baffle
- 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
Links
Images
Landscapes
- Connector Housings Or Holding Contact Members (AREA)
Abstract
The utility model provides a unit test code generates device relates to code generation technical field, including the device shell, the front end fixed surface of device shell is connected with the display screen, one side of display screen is provided with the function button, the opposite side of display screen is provided with switch, one side surface of device shell is provided with prevents grey device, one side surface of preventing grey device is provided with the plug wire hole, the opposite side of preventing grey device is provided with power module. A unit test code generates device, be equipped with antidetonation mechanism and prevent grey device, can improve the shock resistance of circuit board, prevent that the components and parts on circuit board surface can not shake badly when the device falls on the ground to can hide the plug wire mouth when the device does not use, avoid plug wire mouth department to accumulate the dust or receive mould erosion, influence electric conductivity, bring better use prospect.
Description
Technical Field
The utility model relates to a code generation device field, in particular to unit test code generation device.
Background
The object code generation is the last stage of compilation, the object code generator converts the intermediate code after syntax analysis or optimization into the object code, the object code refers to the code generated after the compiler or assembler processes the source code in computer science, it is generally composed of machine code or code close to machine language, the existing unit test code generation device has certain disadvantages when in use, firstly, the unit test code generation device has low anti-seismic performance, and easily causes loose connection between the circuit board and the elements on the surface of the circuit board after falling on the ground, which causes the device to malfunction, secondly, the wire plugging port is exposed to the outside and easily infected by dust and mould, which causes poor conductivity of the wire plugging port, which has certain adverse effect, and brings certain effect to the using process of people, therefore, we propose a unit test code generation device, we propose a unit test code generation apparatus.
SUMMERY OF THE UTILITY MODEL
The utility model discloses a shortcoming in order to solve existing among the prior art, and a unit test code generation device that proposes.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
the utility model provides a unit test code generates device, includes the device shell, the front end surface fixedly connected with display screen of device shell, one side of display screen is provided with the function button, the opposite side of display screen is provided with switch, one side surface of device shell is provided with prevents grey device, one side surface of preventing grey device is provided with the plug wire hole, the opposite side of preventing grey device is provided with power module, the inside of device shell is provided with the circuit board, the surface all around of circuit board is provided with antidetonation mechanism.
Preferably, the anti-seismic mechanism comprises a fixing rod, a lower spring, a damping sponge and an upper spring, the fixing rod is connected to the inner surface of the device shell, the outer surface of the lower end of the fixing rod penetrates through the outer surface of the upper end of the circuit board, the lower spring and the upper spring are arranged on the outer surface of the fixing rod, the lower spring and the upper spring are identical in structure, the elastic coefficient of the lower spring is 0.1N/mm, the lower spring is located at the lower end of the circuit board, the upper spring is located at the upper end of the circuit board, and the damping sponge is arranged on the outer surface of.
Preferably, the dustproof device includes socket board, threaded rod, nut, step motor, baffle and push pedal, one side surface of device shell is provided with socket board and baffle, the socket board is located the rear end of baffle, one side surface of baffle, the rear end surface of socket board is provided with the nut, the middle part surface of nut sets up the threaded rod, and the pitch of threaded rod is mm, the pernicious one side surface of threaded rod is provided with step motor.
Preferably, glue is arranged between the device shell and the damping sponge, the periphery of the damping sponge is fixedly connected with the inner surface of the device shell through the glue, a cross screw is arranged between the fixing rod and the device shell, and the outer surface of the lower end of the fixing rod is detachably connected with the inner surface of the lower end of the device shell.
Preferably, the outer surfaces of the two sides of the nut are provided with blocking pieces, the outer surface of the front end of each blocking piece is fixedly connected with the outer surface of the rear end of the device shell, a sliding groove is formed between each blocking piece and the device shell, and the outer surface of each blocking piece is in sliding connection with the outer surface of one side of the device shell through the sliding groove.
Preferably, the outer surface of the upper end of the circuit board is fixedly connected with a microprocessor, and one side of the microprocessor is provided with a storage module.
Preferably, the outer surface of the rear end of the device shell is provided with a charging socket, and one side of the charging socket is provided with a data output port.
Compared with the prior art, the utility model provides a unit test code generates device possesses following beneficial effect:
1. this unit test code generates device, through the antidetonation mechanism that sets up, when unit test code generates device drops on the ground, the shock attenuation sponge can be the circuit board shock attenuation, the elasticity of going up spring and lower spring can cushion the impact force, go up the spring compression and support the circuit board when circuit board rebound, the buffering makes circuit board downstream simultaneously, when too downwards, the elasticity of lower spring provides ascending power for the circuit board, and can make the circuit board be in rapidly steadily, thereby prevent to lead to the circuit board not hard up rather than surperficial component connection because the impact force, lead to the device trouble.
2. This unit test code generates device, prevent grey device through setting up, when not using, connect step motor with step motor, step motor operation drives the threaded rod and rotates, the threaded rod passes through the screw on nut surface and drives the nut and remove, the socket board contracts into the inside of device shell when the nut drives the socket board and removes, then remove the push pedal, the push pedal drives the baffle and removes, the baffle slides through the spout, the baffle slides to the position before the socket board, block the socket board, thereby can hide the plug wire mouth, avoid plug wire mouth department accumulation dust or receive the mould erosion, influence conductivity, be favorable to people to use, whole unit test code generates device simple structure, and convenient for operation, the effect of using is better for the traditional mode.
Drawings
Fig. 1 is a schematic diagram of the overall structure of a unit test code generation apparatus according to the present invention.
Fig. 2 is a schematic diagram of a unit test code generation apparatus according to the present invention.
Fig. 3 is a schematic structural diagram of an anti-vibration mechanism in the unit test code generation device of the present invention.
Fig. 4 is a schematic structural diagram of an ash prevention device in the unit test code generation device of the present invention.
In the figure: 1. a device housing; 2. a wire insertion hole; 3. an ash prevention device; 31. a socket plate; 32. a threaded rod; 33. a nut; 34. a stepping motor; 35. a baffle plate; 36. pushing the plate; 4. a function button; 5. a display screen; 6. a power switch; 7. a circuit board; 8. an anti-seismic mechanism; 81. fixing the rod; 82. a lower spring; 83. a shock absorbing sponge; 84. an upper spring; 9. and a power supply module.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "front", "rear", "left", "right", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore, should not be construed as limiting the present invention.
Referring to fig. 1-4, a unit test code generating apparatus includes an apparatus housing 1: the front end outer fixed surface of device shell 1 is connected with display screen 5, one side of display screen 5 is provided with function button 4, the opposite side of display screen 5 is provided with switch 6, one side surface of device shell 1 is provided with prevents grey device 3, one side surface of preventing grey device 3 is provided with plug wire hole 2, the opposite side of preventing grey device 3 is provided with power module 9, the inside of device shell 1 is provided with circuit board 7, the surface all around of circuit board 7 is provided with antidetonation mechanism 8.
Further, the anti-vibration mechanism 8 comprises a fixing rod 81, a lower spring 82, a damping sponge 83 and an upper spring 84, the fixing rod 81 is fixedly connected to the inner surface of the device shell 1, the outer surface of the lower end of the fixing rod 81 penetrates through the outer surface of the upper end of the circuit board 7, the lower spring 82 and the upper spring 84 are arranged on the outer surface of the fixing rod 81, the lower spring 82 and the upper spring 84 are identical in structure, the elastic coefficient of the lower spring 82 is 0.1N/mm, the lower spring 82 is located at the lower end of the circuit board 7, the upper spring 84 is located at the upper end of the circuit board 7, the damping sponge 83 is arranged on the outer surface of the periphery of the circuit board 7, when the unit test code generating device falls on the ground, the damping sponge 83 can damp the circuit board 7, the elasticity of the upper spring 84 and the lower spring 82 can buffer impact force, when the circuit board 7 moves, when it is too downward, the elastic force of the lower spring 82 provides an upward force to the circuit board 7 and enables the circuit board 7 to be quickly stabilized against the impact force causing the loose connection of the circuit board 7 with the components on its surface, resulting in the malfunction of the device.
Further, the dustproof device 3 comprises a socket plate 31, a threaded rod 32, a nut 33, a stepping motor 34, a baffle 35 and a push plate 36, the socket plate 31 and the baffle 35 are arranged on the outer surface of one side of the device shell 1, the socket plate 31 is positioned at the rear end of the baffle 35, the outer surface of one side of the baffle 35 is provided with the nut 33 on the outer surface of the rear end of the socket plate 31, the threaded rod 32 is arranged on the outer surface of the middle part of the nut 33, the thread pitch of the threaded rod 32 is 1mm, the stepping motor 34 is arranged on the outer surface of the pernicious side of the threaded rod 32, when the dustproof device is not used, the stepping motor 34 is connected with a power supply, the stepping motor 34 operates to drive the threaded rod 32 to rotate, the threaded rod 32 drives the nut 33 to move through the threads on the surface of the nut 33, when the nut 33 drives the socket plate 31 to move, the socket plate 31 retracts, the baffle 35 slides to the position in front of the socket plate 31 to block the socket plate 31, so that the wire insertion opening can be hidden, and the phenomenon that the wire insertion opening is corroded by mould or accumulated dust is avoided, and the electric conductivity is influenced.
To sum up: in the using process of the utility model, when in use, the data line is inserted into the plug wire port, the power switch of the device is opened, the power module 9 supplies power to the whole device, the function of the device is selected through the function button 4, then the data is input into the microprocessor through the data, the microprocessor converts the data, then the converted data is displayed through the display screen 5, and simultaneously the data is output, when the device falls on the ground, the anti-vibration mechanism 8 can make the circuit board 7 be rapidly stable, the device failure caused by the loose connection between the circuit board 7 and the elements on the surface thereof due to the impact force is prevented, when not in use, the stepping motor 34 is connected with the power supply, the stepping motor 34 runs to drive the threaded rod 32 to rotate, the threaded rod 32 drives the nut 33 to move through the threads on the surface of the nut 33, the plug wire plate 31 is retracted into the device shell 1 when the nut 33 drives the plug wire plate 31 to, then remove 356, push pedal 36 drives baffle 35 and removes, and baffle 35 slides through the spout, and baffle 35 slides to the position before the socket board 31, blocks socket board 31 to can hide the plug wire mouth, avoid plug wire mouth department accumulation dust or receive the mould erosion, influence electric conductivity, be favorable to using widely.
The above, only be the concrete implementation of the preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto, and any person skilled in the art is in the technical scope of the present invention, according to the technical solution of the present invention and the utility model, the concept of which is equivalent to replace or change, should be covered within the protection scope of the present invention.
Claims (7)
1. A unit test code generating device comprising a device housing (1), characterized in that: the utility model discloses a device, including device shell (1), front end surface fixed connection has display screen (5) of device shell (1), one side of display screen (5) is provided with function button (4), the opposite side of display screen (5) is provided with switch (6), one side surface of device shell (1) is provided with prevents grey device (3), one side surface of preventing grey device (3) is provided with plug wire hole (2), the opposite side of preventing grey device (3) is provided with power module (9), the inside of device shell (1) is provided with circuit board (7), the surface all around of circuit board (7) is provided with antidetonation mechanism (8).
2. The unit test code generating apparatus according to claim 1, wherein: antidetonation mechanism (8) are including dead lever (81), lower spring (82), shock attenuation sponge (83) and upper spring (84), the internal fixed surface of device shell (1) even has dead lever (81), the upper end surface of circuit board (7) is run through to the lower extreme surface of dead lever (81), the surface of dead lever (81) is provided with lower spring (82) and upper spring (84), and lower spring (82) is the same with the structure of upper spring (84), and the elasticity coefficient of lower spring (82) is 0.1N/mm, lower spring (82) are located the lower extreme of circuit board (7), upper spring (84) are located the upper end of circuit board (7), the surface all around of circuit board (7) is provided with shock attenuation sponge (83).
3. The unit test code generating apparatus according to claim 1, wherein: dustproof device (3) are including socket board (31), threaded rod (32), nut (33), step motor (34), baffle (35) and push pedal (36), one side surface of device shell (1) is provided with socket board (31) and baffle (35), socket board (31) are located the rear end of baffle (35), one side surface of baffle (35), the rear end surface of socket board (31) is provided with nut (33), the middle part surface of nut (33) sets up threaded rod (32), and the pitch of threaded rod (32) is 1mm, threaded rod (32) aversion poison one side surface is provided with step motor (34).
4. A unit test code generating apparatus according to claim 2, wherein: be provided with glue between device shell (1) and shock attenuation sponge (83), device shell (1) the surface all around of shock attenuation sponge (83) passes through the internal surface fixed connection of glue with device shell (1), be provided with the cross screw between dead lever (81) and device shell (1), the lower extreme surface of dead lever (81) can be dismantled with the lower extreme internal surface of device shell (1) and be connected.
5. A unit test code generating apparatus according to claim 3, wherein: the outer surface of the two sides of the nut (33) is provided with a separation blade, the outer surface of the front end of the separation blade is fixedly connected with the outer surface of the rear end of the device shell (1), a sliding groove is formed between the baffle (35) and the device shell (1), and the outer surface of the baffle (35) is in sliding connection with the outer surface of one side of the device shell (1) through the sliding groove.
6. The unit test code generating apparatus according to claim 1, wherein: the outer surface of the upper end of the circuit board (7) is fixedly connected with a microprocessor, and one side of the microprocessor is provided with a storage module.
7. The unit test code generating apparatus according to claim 1, wherein: the device is characterized in that a charging socket is arranged on the outer surface of the rear end of the device shell (1), and a data output port is arranged on one side of the charging socket.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921459882.2U CN210627173U (en) | 2019-09-04 | 2019-09-04 | Unit test code generation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921459882.2U CN210627173U (en) | 2019-09-04 | 2019-09-04 | Unit test code generation device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210627173U true CN210627173U (en) | 2020-05-26 |
Family
ID=70759060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921459882.2U Active CN210627173U (en) | 2019-09-04 | 2019-09-04 | Unit test code generation device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210627173U (en) |
-
2019
- 2019-09-04 CN CN201921459882.2U patent/CN210627173U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN210466722U (en) | Road license plate recognition system | |
CN210627173U (en) | Unit test code generation device | |
CN209355778U (en) | A kind of reed-type vibration damping retaining mechanism | |
CN207037562U (en) | A kind of computer side casing for reducing dust suction | |
CN209516119U (en) | A kind of urban network wireless adapter convenient to overhaul | |
CN210379776U (en) | Power distribution cabinet with wire bunching function for electric power | |
CN209376082U (en) | A kind of network security controller of computer protection shell being easily installed | |
CN217639253U (en) | High-voltage bushing current on-line monitoring device | |
CN108693932A (en) | A kind of computer dustproof case | |
CN210509899U (en) | Damping mechanism of engine housing | |
CN219874217U (en) | Dustproof shock attenuation slot of computer | |
CN209344582U (en) | A kind of protective device of high-low pressure electronic box | |
CN207801647U (en) | A kind of motor shock absorption seat | |
CN211319502U (en) | Demonstration support frame based on robot is used in teaching | |
CN218158904U (en) | Shockproof computer case for desktop assembled computer | |
CN220290138U (en) | Industrial control expansion board | |
CN212749784U (en) | Make things convenient for anti-falling type bluetooth mouse of dismouting | |
CN220105643U (en) | Storage device installation structure for computer software | |
CN221381453U (en) | Shockproof electric cabinet | |
CN218819507U (en) | Double-bridge cantilever beam type sensor mounting and fixing structure | |
CN213582006U (en) | Internal anti-impact structure of computer host | |
CN212156519U (en) | Computer host protection device | |
CN217533259U (en) | Built-in unmanned aerial vehicle data memory | |
CN215643154U (en) | Chinese language teaching blackboard writing projector for middle-position work | |
CN219678618U (en) | Data acquisition terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518000 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan nine road Haisong building B-1303 Patentee after: Shenzhen smart Micro Intelligent Technology Co., Ltd Address before: 518000 Guangdong city of Shenzhen province Futian District Che Kung Temple Tairan nine road Haisong building B-1303 Patentee before: JWIPC TECHNOLOGY DEVELOPMENT Ltd. |