1
0
Fork 0

Compare commits

..

No commits in common. '39d1e0ed6e6e9b44b76aa1ddd4fec8852eef451c' and 'f6f074bfb587e23e55e94e8dfc14d4e9ca5c7f8e' have entirely different histories.

@ -37,7 +37,7 @@ namespace HighWayIot.Plc
IsPersistentConnection = true,
};
var reslt = plc.ConnectServer();
logHelper.Info($"Plc连接 信息:[{reslt.Message}] 是否成功:[{reslt.IsSuccess.ToString()}] 错误代码:[{reslt.ErrorCode}]");
logHelper.Info($"Plc连接 信息:[{reslt.Message}] 是否成功:[{reslt.IsSuccess.ToString()}] 错误代码:[{reslt.ErrorCode}]");
if (!reslt.IsSuccess)
{
logHelper.Info("链接失败:"+reslt.Message);

@ -36,9 +36,6 @@
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="HslCommunication">
<HintPath>..\HighWayIot.Library\HslCommunication.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />

Loading…
Cancel
Save