Patent ID: 8867195

Claim:
An attachment/detachment mechanism for an electronics unit mounted on a casing in an attachable/detachable manner, comprising: a position-keeping type switch configured to switch between first and second states of the electronics unit; a lever configured to switch between a securing state where the electronics unit is secured to the casing and an attachable/detachable state where the electronics unit is made attachable/detachable to/from the casing; a first restricting member configured to switch between a restricting state where state-switching of the lever is restricted and a permitting state where the state-switching of the lever is permitted; and a second restricting member configured to travel between a first position where the state-switching of the first restricting member is restricted and the state-switching of the position-keeping type switch is permitted, and a second position where the state-switching of the first restricting member is permitted and the state-switching of the position-keeping type switch from the first state to the second state is restricted.