For cabinet tracking management, can modify the next state according to the current state of the cabinet, support batch modification state, scan code modification state