17 lines
421 B
Go
17 lines
421 B
Go
package component
|
||
|
||
import "joylink.club/ecs"
|
||
|
||
// AirConditioning 空调
|
||
type AirConditioning struct {
|
||
Running bool //true-运行正常;false-停止
|
||
}
|
||
|
||
var (
|
||
AirConditioningType = ecs.NewComponentType[AirConditioning]() //空调
|
||
|
||
CombinationAirConditionerTag = ecs.NewTag() //组合式空调
|
||
AirConditioningGroupTag = ecs.NewTag() //空调群控系统
|
||
AirConditionerTag = ecs.NewTag() //空调器
|
||
)
|