03 2018 档案

关于软元件开发说明
摘要:开发步骤如下 1 新建一个类项目引用接口库DeviceInterface.dll 2在项目属性中的生成选项卡中勾先允许不安全代码 3在类中继承DeviceInterface.ElementIProtocol并实现这个接口 例子 using System;using System.Collection 阅读全文

posted @ 2018-03-18 22:13 xingbeiSoftware 阅读(312) 评论(0) 推荐(0)

关于反射参数序列化找不到****程序集问题
摘要:当dll通过Assembly类动态加载时,dll 内的结构体需要序列化保存进,在反序列化时就会,弹出提示,无法找到程序集的问题 解决方法: 1 加载dll fsinfo.FullName:dll路径 assembly = Assembly.LoadFile(fsinfo.FullName); //确 阅读全文

posted @ 2018-03-17 21:14 xingbeiSoftware 阅读(519) 评论(0) 推荐(0)

关于OPC UA Helper 命名空间中的OpcUaClient 类中的订阅函数的更改
摘要:原函数是opcUaClient.MonitorValue("ns=4;s=MAIN.d", new Action<double, Action>(MonitorTestValueFloat)); 由于订阅函的的回调函的类型是 using System;using System.Collections 阅读全文

posted @ 2018-03-05 15:57 xingbeiSoftware 阅读(7252) 评论(1) 推荐(1)

导航