Patent ID: 7131301

Claim:
A locking device for a cabinet that has a door, a cabinet body and a hook defined in the cabinet body and facing to the door, the locking device for being mounted on the door, comprising a body having a case having a top surface, two side surfaces, a bottom surface, a front opening, an inner rear wall, an inner edge, a card slot defined in the top surface of the case, and a breach defined in one of the side surfaces of the case, a cap mounted on the front opening of the case and having a horizontal slot defined in the cap, and a through hole defined in the cap beside the horizontal slot, and a controlling device mounted inside the case, and having a plate mounted on the inner rear wall of the case and having a front surface, a rear surface, a receiving holder defined on the rear surface of the plate and communicating to the card slot in the case, an upper housing mounted on the front surface of the plate, a lower housing mounted on the front surface of the plate opposite the upper housing, multiple channels respectively defined in the housings through the plate and facing to each other, and a keyway defined between the two housings, multiple holding blocks respectively received inside the corresponding channels, each holding block having an outer surface, an inner end, an outer end, and a sliding groove defined in the outer surface of the holding block, wherein the sliding grooves in the holding blocks are not aligned with each other when the inner end abuts a recess in the case, a sliding plate mounted inside the case and having a tongue having two side edges, and a distal end, and two lips formed respectively on the side edges of the tongue at the distal end and engaging at least one of the holding blocks, a cylinder adapted for mounting on the door, having a cylinder body extending from the through hole in the cap, having an inner end, an outer end, a keyhole defined in the outer end of the cylinder body, and a key inserted inside the keyhole, and a rotating plate pivotally mounted inside the case at the inner end of the cylinder body and connecting to the sliding plate, having a top edge, a bottom edge, an arm formed on the top edge of the rotating plate and adapted for engaging with the hook, and a card inserted into the card slot in the case and having multiple through holes defined in the card and corresponding to the sliding groove in the holding blocks.