diff --git a/src/CncService/Impl/WorkerService.cs b/src/CncService/Impl/WorkerService.cs
index 62ee668..5222310 100644
--- a/src/CncService/Impl/WorkerService.cs
+++ b/src/CncService/Impl/WorkerService.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using CncService.Interface;
using CncModels.Dto;
+using CncModels.Dto.Machine;
using CncModels.Dto.Worker;
using CncModels.Entity;
using CncModels.Constants;
@@ -215,8 +216,8 @@ namespace CncService.Impl
///
public List GetAvailableMachines()
{
- // 获取所有在线且启用的机床,排除已绑定的
- var allMachines = _machineRepository.GetEnabledOnline();
+ // 获取所有机床(不限在线状态),排除已绑定的
+ var allMachines = _machineRepository.GetList(new MachineQuery { PageSize = 9999 }).Items;
var result = new List();
foreach (var m in allMachines)
{