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