rts-sim-module/component/iscs_bas_water_closed_container.go

19 lines
545 B
Go
Raw Normal View History

package component
import (
"joylink.club/ecs"
"joylink.club/rtsssimulation/consts"
)
// WaterClosedContainer 水封闭式容器,如冷却塔、水处理器
type WaterClosedContainer struct {
Running bool //true-正常运行false-停止
Exception consts.DeviceExceptionEnum //具体异常-故障、异常、通信中断
}
var (
WaterClosedContainerType = ecs.NewComponentType[WaterClosedContainer]()
CoolingTowerTag = ecs.NewTag() //冷却塔
WaterProcessorTag = ecs.NewTag() //水处理器
)