类的使用
com.darra.ethercat.master.EtherCATMaster.BuildResult
-
com.darra.ethercat.master中EtherCATMaster.BuildResult的使用
修饰符和类型方法说明EtherCATMaster.build()构建并初始化主站 (终结方法) 对应 C# Build()EtherCATMaster.Deconstruct()解构赋值 (对应 C# Deconstruct)返回变量类型为EtherCATMaster.BuildResult的类型的com.darra.ethercat.master中的方法修饰符和类型方法说明EtherCATMaster.buildAsync()EtherCATMaster.buildAsync(Consumer<String> progress) EtherCATMaster.build()的异步变体: 把整条 验证→加载 ENI→扫描→自动配置 同步流程 放本主站串行闸的后台单线程跑, 调用方拿 future 不堵。