rts-sim-module/component/iscs_bas_fan.go

24 lines
716 B
Go
Raw Normal View History

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