调整winform所有的窗体背景色,更新hslcommunication组件,完成网络通信引擎。

This commit is contained in:
dathlin
2018-05-26 13:17:58 +08:00
parent 7ff21ff8f7
commit c4e8bd0ee8
58 changed files with 403 additions and 1047 deletions

View File

@@ -46,11 +46,11 @@ namespace HslCommunicationNetTestTool
string name = $"{m.IpAddress} [{m.IpPort}]";
TreeNode node = new TreeNode(name);
node.Tag = new HslCommunication.Enthernet.NetSimplifyClient(
new System.Net.IPEndPoint(System.Net.IPAddress.Parse(m.IpAddress),
int.Parse(m.IpPort)))
m.IpAddress,
int.Parse(m.IpPort))
{
ConnectTimeout = int.Parse(m.TimeOut),
KeyToken = new Guid(m.Token),
ConnectTimeOut = int.Parse(m.TimeOut),
Token = new Guid(m.Token),
};
node.ToolTipText = m.Guid;