rts-sim-module/component/iscs_bas_purification.go

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