iscs FG防淹门系统
This commit is contained in:
parent
b45db2b229
commit
9e6b16ead8
15
component/iscs_fg.go
Normal file
15
component/iscs_fg.go
Normal file
@ -0,0 +1,15 @@
|
||||
package component
|
||||
|
||||
// FloodGate 防淹门
|
||||
type FloodGate struct {
|
||||
State FgState
|
||||
}
|
||||
|
||||
// FgState 防淹门状态
|
||||
type FgState = uint8
|
||||
|
||||
const (
|
||||
FgOpen FgState = iota //开启(电机正常、锁锁定)
|
||||
FgPreparingClose //准备关闭(电机正常、锁拔出)
|
||||
FgClosed //已关闭
|
||||
)
|
Loading…
Reference in New Issue
Block a user