A Method for Judgement of Operation States of Auto Flap Gate