看一下我的博文,里面有一篇是专门讲OPCEnum的,
https://blog.csdn.net/kkus123/article/details/78994114
https://blog.csdn.net/kkus123/article/details/80296466
https://blog.csdn.net/kkus123/article/details/80296468
https://blog.csdn.net/kkus123/article/details/80474854