try {
$instance = Loader::controller(
$controller,
$config['url_controller_layer'],
$config['controller_suffix'],
$config['empty_controller']
);
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
$vars = [];
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
TD_MIO _8AI煤矿用总线扩展IO模块(8AI)
技术特点:高可靠性、高性能的煤矿用总线扩展 O 模块;支持 CANopen 、
ModbusRTU 从站通讯协议;支持8路4-20mA信号采集;所有状态映射至
IEC61131-3编程环境,无需额外编程;坚固外壳、体积小巧、高0密度;高性价比(*需要与 TD _MF7控制器配合使用)
try {
$instance = Loader::controller(
$controller,
$config['url_controller_layer'],
$config['controller_suffix'],
$config['empty_controller']
);
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
$vars = [];
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];