using System.Configuration;
namespace Modbus.Net.OPC
{
///
/// Opc UA协议连接器
///
public class OpcUaProtocolLinker : OpcProtocolLinker
{
///
/// 构造函数
///
/// 是否开启正则匹配
public OpcUaProtocolLinker(bool isRegexOn) : this(ConfigurationManager.AppSettings["OpcUaHost"], isRegexOn)
{
}
///
/// 构造函数
///
/// Opc UA服务地址
/// 是否开启正则匹配
public OpcUaProtocolLinker(string host, bool isRegexOn)
{
BaseConnector = OpcUaConnector.Instance(host, isRegexOn);
}
}
}