rts-sim-module/component/iscs_bas_fan.go
2023-12-26 17:52:28 +08:00

24 lines
716 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package component
import "joylink.club/ecs"
// FanBypassUnit 风机旁路装置
type FanBypassUnit struct {
Bypass bool //true-风机旁路已开启
}
// FanHighLowSpeedMode 风机双速模式控制
type FanHighLowSpeedMode struct {
HighMode bool //true-风机高速模式false-风机低速模式
}
var (
FanBypassUnitType = ecs.NewComponentType[FanBypassUnit]() //风机旁路装置
FanHighLowSpeedModeType = ecs.NewComponentType[FanHighLowSpeedMode]() //风机双速模式控制
CommonFanTag = ecs.NewTag() //一般风机
FcBypassFanTag = ecs.NewTag() //变频旁路风机
SoftStartFanTag = ecs.NewTag() //软启动风机
HighLowSpeedFanTag = ecs.NewTag() //双速风机
)