2023-10-13 18:20:15 +08:00
|
|
|
package component
|
|
|
|
|
|
|
|
import "joylink.club/ecs"
|
|
|
|
|
2023-10-17 10:26:31 +08:00
|
|
|
var MkxTag = ecs.NewTag()
|
2023-10-19 17:09:47 +08:00
|
|
|
|
|
|
|
var MkxInfoType = ecs.NewComponentType[MkxInfo]()
|
|
|
|
|
|
|
|
type MkxInfo struct {
|
2023-10-20 16:12:42 +08:00
|
|
|
PsdId string
|
2023-10-19 17:09:47 +08:00
|
|
|
}
|
|
|
|
|
2023-10-13 18:20:15 +08:00
|
|
|
var MkxCircuitType = ecs.NewComponentType[MkxCircuit]()
|
|
|
|
|
|
|
|
type MkxCircuit struct {
|
2023-10-23 17:35:57 +08:00
|
|
|
MkxplBtn *ecs.Entry //门控箱旁路按钮
|
|
|
|
PcbList []*ecs.Entry
|
|
|
|
Pcbj *ecs.Entry
|
|
|
|
PobList []*ecs.Entry
|
|
|
|
Pobj *ecs.Entry
|
|
|
|
PabList []*ecs.Entry
|
|
|
|
Pabj *ecs.Entry
|
2023-10-13 18:20:15 +08:00
|
|
|
}
|
2023-10-19 17:09:47 +08:00
|
|
|
|
|
|
|
var MkxCollectionCircuitType = ecs.NewComponentType[MkxCollectionCircuit]()
|
|
|
|
|
|
|
|
type MkxCollectionCircuit struct {
|
2023-10-23 17:35:57 +08:00
|
|
|
PcbXh bool
|
|
|
|
PobXh bool
|
|
|
|
PabXh bool
|
|
|
|
PcbLx bool
|
|
|
|
PobLx bool
|
|
|
|
PabLx bool
|
2023-10-19 17:09:47 +08:00
|
|
|
}
|