rts-sim-module/component/iscs_bas_purification.go

19 lines
424 B
Go
Raw Normal View History

package component
import (
"joylink.club/ecs"
)
// PurificationDevice 净化装置
2023-12-19 11:11:27 +08:00
// 具体异常-启动超时、异常、通信中断
type PurificationDevice struct {
2023-12-19 11:11:27 +08:00
Running bool //true-运行false-停止
Starting bool //true-正在启动
}
const PurificationDeviceStartTime int = 3000 //净化装置启动耗时ms
var (
2023-12-25 17:31:35 +08:00
PurificationDeviceType = ecs.NewComponentType[PurificationDevice]() //净化装置
)