using System; using System.Collections.Generic; using SIASUN.Autopilot.Model; namespace SIASUN.Autopilot.Device { public interface IOpcHelper { /// /// OPC初始化 /// void Opc_Init(List mlist); /// /// OPC断开连接 /// void Opc_disConnect(); /// /// 添加事件通知 /// /// /// bool Opc_AddNotification(string command); /// /// 删除事件通知 /// /// bool Opc_DelNotification(string command); /// /// 向opc发送数据 /// void SetOpcSend(string nodeName, string value); /// /// 从opc接收数据 /// string GetOpcRecv(string nodeName, out Type _type); /// /// 获取opc状态 /// /// bool OpcConnectState(); } }