mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +00:00
feat: add TcpIpServer case to CreateCommForDevice method
This commit is contained in:
@@ -104,6 +104,12 @@ namespace PepperDash.Essentials.Core
|
|||||||
comm = secureTcp;
|
comm = secureTcp;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case eControlMethod.TcpIpServer:
|
||||||
|
{
|
||||||
|
var tcpServer = new GenericTcpIpServer(deviceConfig.Key + "-tcpServer", c.Address, c.Port, c.BufferSize);
|
||||||
|
comm = tcpServer;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user