23 lines
503 B
C#
23 lines
503 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ModBus.Net
|
|
{
|
|
public abstract class ComProtocalLinker : ProtocalLinker
|
|
{
|
|
protected ComProtocalLinker()
|
|
{
|
|
//初始化连对象
|
|
_baseConnector = new ComConnector(ConfigurationManager.COM);
|
|
}
|
|
|
|
protected ComProtocalLinker(string com)
|
|
{
|
|
_baseConnector = new ComConnector(com);
|
|
}
|
|
}
|
|
}
|