@ -210,7 +210,7 @@ public class StopDeviceRuntimeCommandHandler : IRequestHandler<StopDeviceRuntime
ErrorMessage = "设备运行时状态不存在"
};
}
deviceRuntime.Stop();
// 创建运行时详情
var detail = CellularDeviceRuntimeDetail.Create(
deviceCode,
@ -72,4 +72,9 @@ public class CellularDeviceRuntime : BaseEntity
NetworkStackCode = networkStackCode;
RuntimeCode = runtimeCode;
public void Stop()
{
RuntimeStatus = DeviceRuntimeStatus.Stopping;