diff --git a/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs b/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs index 4c2b7bd..edd5623 100644 --- a/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs +++ b/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs @@ -216,7 +216,7 @@ public class CellularNetworkService : ICellularNetworkService // 6. 检查网络端点连接状态 _logger.LogInformation("开始检查所有网络端点的连接状态"); var statusCheckResult = await _statusMonitor.CheckAllEndPointsStatusAsync(endPoints, _context.CurrentConfigType, isStartOperation:false); - if (statusCheckResult.IsSuccess) + if (!statusCheckResult.IsSuccess) { _logger.LogWarning("网络端点仍然处于连接状态,停止操作失败"); return CellularNetworkOperationResult.Failure("网络端点仍然处于连接状态,停止操作失败");