25 lines
633 B
Go
25 lines
633 B
Go
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]()
|