diff --git a/Rs.SkyLine/Commom/NozzleCollection.cs b/Rs.SkyLine/Commom/NozzleCollection.cs
index 9dd3ff8..2ac6592 100644
--- a/Rs.SkyLine/Commom/NozzleCollection.cs
+++ b/Rs.SkyLine/Commom/NozzleCollection.cs
@@ -172,11 +172,19 @@ namespace Rs.MotionPlat.Commom
///
///
///
- public static Nozzle GetIdelNozzle()
+ public static Nozzle GetIdelNozzle(bool disableNozzle1=false)
{
if (nozzles != null && nozzles.Count > 0)
{
- return nozzles.Where(n => n.Status == ENozzleStatus.IDLE).First();
+ if(disableNozzle1)
+ {
+ return nozzles.Where(n => n.Status == ENozzleStatus.IDLE && n.NozzleIndex!=1).First();
+ }
+ else
+ {
+ return nozzles.Where(n => n.Status == ENozzleStatus.IDLE).First();
+ }
+
}
return null;
}