fix bug of alarm level judge in room view.