rts-sim-module/component/iscs_bas_plc.go

17 lines
353 B
Go

package component
import (
"joylink.club/ecs"
"joylink.club/rtsssimulation/consts"
)
// PlcController PLC控制器
type PlcController struct {
Normal bool //true-正常
Exception consts.DeviceExceptionEnum //具体异常-通信中断、故障、异常
}
var (
PlcControllerType = ecs.NewComponentType[PlcController]()
)