rts-sim-module/component/iscs_bas_water_closed_container.go

19 lines
545 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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() //水处理器
)