rts-sim-module/component/dbq.go

15 lines
286 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 DBQ struct {
Td bool // 是否通电true通电
Dzkg bool // 电子开关状态true: 开
}
var DBQType = ecs.NewComponentType[DBQ]()