rts-sim-module/component/dbq.go
walker d3a187e00f 添加创建仿真
完善仿真实体加载
2023-09-28 14:34:00 +08:00

15 lines
301 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"
// 断相保护器标签
var DBQTag = ecs.NewTag()
// 断相保护器控制请求组件
type DBQState struct {
Td bool // 是否通电true通电
Dzkg bool // 电子开关状态true: 开
}
var DBQStateType = ecs.NewComponentType[DBQState]()