liuwf 1 year ago
parent e8a0b34299
commit cf0a0dcf94

@ -446,8 +446,8 @@ namespace Aucma.Core.PLc
try
{
melsecMcNet.ReceiveTimeOut = 2000;
// 2023-11-14变成同步方法异步心跳导致信号滞后会重复请求重连
OperateResult<bool> read = melsecMcNet.ReadBool(address);
OperateResult<bool> read = await melsecMcNet.ReadBoolAsync(address);
if (read.IsSuccess)
{
IsConnected = true;

Loading…
Cancel
Save