2014-08-27 update 2 Rename Class
This commit is contained in:
22
NA200H/ModBus.Net/RtuProtocalLinker.cs
Normal file
22
NA200H/ModBus.Net/RtuProtocalLinker.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ModBus.Net
|
||||
{
|
||||
public abstract class RtuProtocalLinker : ProtocalLinker
|
||||
{
|
||||
protected RtuProtocalLinker()
|
||||
{
|
||||
//初始化连对象
|
||||
_baseConnector = new ComConnector(ConfigurationManager.COM);
|
||||
}
|
||||
|
||||
protected RtuProtocalLinker(string com)
|
||||
{
|
||||
_baseConnector = new ComConnector(com);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user