2023-12-13 14:54:23 +08:00
|
|
|
|
package component
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"joylink.club/ecs"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// WaterClosedContainer 水封闭式容器,如冷却塔、水处理器
|
2023-12-19 11:11:27 +08:00
|
|
|
|
// 具体异常-故障、异常、通信中断
|
2023-12-13 14:54:23 +08:00
|
|
|
|
type WaterClosedContainer struct {
|
2023-12-19 11:11:27 +08:00
|
|
|
|
Running bool //true-正常运行;false-停止
|
2023-12-13 14:54:23 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
WaterClosedContainerType = ecs.NewComponentType[WaterClosedContainer]()
|
|
|
|
|
CoolingTowerTag = ecs.NewTag() //冷却塔
|
|
|
|
|
WaterProcessorTag = ecs.NewTag() //水处理器
|
|
|
|
|
)
|