rts-sim-module/component/iscs_bas_purification.go
2023-12-25 17:31:35 +08:00

19 lines
424 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"
)
// PurificationDevice 净化装置
// 具体异常-启动超时、异常、通信中断
type PurificationDevice struct {
Running bool //true-运行false-停止
Starting bool //true-正在启动
}
const PurificationDeviceStartTime int = 3000 //净化装置启动耗时ms
var (
PurificationDeviceType = ecs.NewComponentType[PurificationDevice]() //净化装置
)