iscs FG防淹门系统

This commit is contained in:
xzb 2023-12-18 10:22:36 +08:00
parent b45db2b229
commit 9e6b16ead8

15
component/iscs_fg.go Normal file
View File

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