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() //双速风机 )