rts-sim-module/component/iscs_bas_door.go

17 lines
380 B
Go
Raw Normal View History

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]()
)