2023-12-11 17:16:51 +08:00
|
|
|
|
package component
|
|
|
|
|
|
2023-12-25 17:31:35 +08:00
|
|
|
|
import "joylink.club/ecs"
|
2023-12-11 17:16:51 +08:00
|
|
|
|
|
2023-12-25 17:31:35 +08:00
|
|
|
|
// FanBypassUnit 风机旁路装置
|
|
|
|
|
type FanBypassUnit struct {
|
|
|
|
|
Bypass bool //true-风机旁路已开启
|
2023-12-11 18:09:28 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-12-25 17:31:35 +08:00
|
|
|
|
// FanHighLowSpeedMode 风机双速模式控制
|
|
|
|
|
type FanHighLowSpeedMode struct {
|
|
|
|
|
HighMode bool //true-风机高速模式;false-风机低速模式
|
|
|
|
|
}
|
2023-12-12 13:08:37 +08:00
|
|
|
|
|
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() //双速风机
|
2023-12-11 17:16:51 +08:00
|
|
|
|
)
|