mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-07-02 10:38:16 +00:00
feat: add TcpIpServer case to CreateCommForDevice method
This commit is contained in:
parent
dd5d1457d2
commit
563de96e7c
1 changed files with 6 additions and 0 deletions
|
|
@ -104,6 +104,12 @@ namespace PepperDash.Essentials.Core
|
|||
comm = secureTcp;
|
||||
break;
|
||||
}
|
||||
case eControlMethod.TcpIpServer:
|
||||
{
|
||||
var tcpServer = new GenericTcpIpServer(deviceConfig.Key + "-tcpServer", c.Address, c.Port, c.BufferSize);
|
||||
comm = tcpServer;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue