Patent ID: 8223501

Claim:
A server, comprising: a substrate with a fixing pole extending outward thereof, the fixing pole comprising a post, a head and a neck between the post and the head, the neck narrower than the head and the post; a locking device comprising: a frame with a pin extending outward thereof, the pin comprising a main body and a hood wider than the main body; and a sliding member defining a latching groove and a sliding groove therein, the latch groove comprising a circular hole facing the sliding groove and a slit communicating with the circular hole, the circular hole being wider than the head of the fixing pole, the slit being narrower than the head of the fixing pole but not smaller than the neck of the fixing pole, the sliding groove comprising an opening facing the latch groove and a split communicating with the opening, the opening being wider than the hood of the pin, the split being narrower than the hood of the pin but not narrower than the main body of the pin, the hood of the pin extended through the opening of the sliding groove, the sliding member moving relative to the frame along a first direction to cause the main body of the pin to engage in the split of the sliding groove, the head of the fixing pin extending through the circular hole of the latching groove, the sliding member moving relative to the frame along a second direction opposite to the first direction to cause the neck of the fixing pole to engage in the slit of the latching groove; and a circuit board fixed on the flame of the locking device; wherein the sliding member further defines a locking groove therein, the latching groove and the locking groove are respectively formed at opposite ends of the sliding member, the sliding groove is located between the latching groove and the locking groove, the locking groove is narrower than the head of the fixing pole but not narrower than the neck of the fixing pole, and the substrate has another fixing pole with the neck thereof engaged in the locking groove when the neck of the fixing pole is engaged in the slit of the latching groove.