diff --git a/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs b/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs index 7ba4af0..4c2b7bd 100644 --- a/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs +++ b/CoreAgent.Infrastructure/Services/Network/CellularNetworkService.cs @@ -180,8 +180,8 @@ public class CellularNetworkService : ICellularNetworkService return CellularNetworkOperationResult.Success(NetworkStatus.Disconnected); } - // 2. 检查 RAN 退出状态(仅当配置类型为 BothRagAndCore 时) - if (_context.CurrentConfigType == NetworkConfigType.BothRagAndCore) + // 2. 检查 RAN 退出状态(仅当配置类型为 BothRagAndCore 或 RagOnly 时) + if (_context.CurrentConfigType is NetworkConfigType.BothRagAndCore or NetworkConfigType.RagOnly) { var isRanQuit = await _statusMonitor.CheckRanQuitAsync(_context.NetworkIPEndPointManager.GetRanEndPoint()); if (!isRanQuit)