rts-sim-module/component/dbq.go

25 lines
633 B
Go
Raw Normal View History

package component
import (
"joylink.club/ecs"
"joylink.club/rtsssimulation/component/component_data"
"joylink.club/rtsssimulation/component/relation"
)
// 断相保护器标签
var (
DBQTag = ecs.NewTag()
// 断相保护器模型数据引用组件类型
DbqModelRelaType = relation.DbqModelRelaType
// 断相保护器状态组件类型
DbqStateType = ecs.NewComponentType[component_data.DbqState]()
)
// // 断相保护器控制请求组件
// type DBQState struct {
// Td bool // 是否通电true通电
// Dzkg bool // 电子开关状态true: 开
// }
// var DBQStateType = ecs.NewComponentType[DBQState]()