2017-02-06 update 1 Add AddressHelper and comments, reformat code.

This commit is contained in:
parallelbgls
2017-02-06 17:15:54 +08:00
parent f2ed8ac72b
commit 0d19567038
55 changed files with 2190 additions and 1821 deletions

View File

@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text;
namespace Modbus.Net.OPC
{
@@ -10,12 +6,11 @@ namespace Modbus.Net.OPC
{
public OpcDaProtocalLinker() : this(ConfigurationManager.OpcDaHost)
{
}
public OpcDaProtocalLinker(string host)
{
_baseConnector = OpcDaConnector.Instance(host);
BaseConnector = OpcDaConnector.Instance(host);
}
public override bool? CheckRight(byte[] content)
@@ -27,4 +22,4 @@ namespace Modbus.Net.OPC
return base.CheckRight(content);
}
}
}
}