rts-sim-module/component/iscs_bas_door.go

17 lines
380 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"
)
// CivilDefenseDoor 人防门
type CivilDefenseDoor struct {
Open bool //true-开false-关
Exception consts.DeviceExceptionEnum //具体异常-通信中断、故障、报警、异常
}
var (
CivilDefenseDoorType = ecs.NewComponentType[CivilDefenseDoor]()
)