rts-sim-module/component/mkx.go

35 lines
611 B
Go

package component
import "joylink.club/ecs"
var MkxTag = ecs.NewTag()
var MkxInfoType = ecs.NewComponentType[MkxInfo]()
type MkxInfo struct {
PsdId string
}
var MkxCircuitType = ecs.NewComponentType[MkxCircuit]()
type MkxCircuit struct {
MkxplBtn *ecs.Entry //门控箱旁路按钮
PcbList []*ecs.Entry
Pcbj *ecs.Entry
PobList []*ecs.Entry
Pobj *ecs.Entry
PabList []*ecs.Entry
Pabj *ecs.Entry
}
var MkxCollectionCircuitType = ecs.NewComponentType[MkxCollectionCircuit]()
type MkxCollectionCircuit struct {
PcbXh bool
PobXh bool
PabXh bool
PcbLx bool
PobLx bool
PabLx bool
}