类的使用
com.darra.ethercat.sugar.MasterScope
使用MasterScope的程序包
-
com.darra.ethercat.sugar中MasterScope的使用
修饰符和类型方法说明static MasterScopeMasterScope.of(EtherCATMaster master) 包装一个已经 build 完成的 master.MasterScope.resetToInitOnClose()退出 scope 时把 master 切回 INIT 状态 (推荐 — 硬件干净退出).MasterScope.stopBeforeClose(boolean stop) 关闭前是否先 stop() PDO.