2024-03-08 17:11:53 +08:00
|
|
|
package component
|
|
|
|
|
|
|
|
import (
|
|
|
|
"joylink.club/ecs"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
XcjTag = ecs.NewTag()
|
2024-04-02 14:09:41 +08:00
|
|
|
XcjFaultTag = ecs.NewTag()
|
2024-03-08 17:11:53 +08:00
|
|
|
XcjCircuitType = ecs.NewComponentType[XcjCircuit]()
|
|
|
|
)
|
|
|
|
|
|
|
|
type XcjCircuit struct {
|
|
|
|
//联锁驱动的继电器
|
2024-04-02 14:09:41 +08:00
|
|
|
XQJ *ecs.Entry //洗车请求
|
|
|
|
TWJList []*ecs.Entry //停稳继电器
|
|
|
|
TGQJ *ecs.Entry //通过请求
|
|
|
|
XCJXJ *ecs.Entry //洗车就绪
|
|
|
|
XCYXJ *ecs.Entry //洗车允许
|
|
|
|
CFJList []*ecs.Entry //移动允许继电器
|
|
|
|
JTJ *ecs.Entry //紧急停车
|
|
|
|
TGYXJ *ecs.Entry //通过允许
|
2024-03-08 17:11:53 +08:00
|
|
|
}
|