package component // FloodGate 防淹门 type FloodGate struct { State FgState } // FgState 防淹门状态 type FgState = uint8 const ( FgOpen FgState = iota //开启(电机正常、锁锁定) FgPreparingClose //准备关闭(电机正常、锁拔出) FgClosed //已关闭 )