Pārlūkot izejas kodu

Modify WaferInfo present related to CassettePlaced;

niuyx 3 dienas atpakaļ
vecāks
revīzija
2a9faaf95a

+ 9 - 9
CyberX8_MainPages/ViewModels/JobOperationViewModel.cs

@@ -145,15 +145,15 @@ namespace CyberX8_MainPages.ViewModels
         /// <summary>
         /// LP1 Docked
         /// </summary>
-        private bool _isLP1Docked;
+        private bool _isLP1CassettePlaced;
         /// <summary>
         /// LP2 Docked
         /// </summary>
-        private bool _isLP2Docked;
+        private bool _isLP2CassettePlaced;
         /// <summary>
         /// LP3 Docked
         /// </summary>
-        private bool _isLP3Docked;
+        private bool _isLP3CassettePlaced;
         #endregion
 
         #region 属性 
@@ -569,8 +569,8 @@ namespace CyberX8_MainPages.ViewModels
             LP2WaferCount = LP2WaferAssociation.ModuleData.WaferManager.Wafers.Where(x => x.WaferStatus != 0).Count();
             LP3WaferCount = LP3WaferAssociation.ModuleData.WaferManager.Wafers.Where(x => x.WaferStatus != 0).Count();
 
-            _isLP1Docked = CommonFunction.GetValue<bool>(RtDataValues, "LP1.IsDocked");
-            if (!_isLP1Docked && LP1WaferCount == 0)
+            _isLP1CassettePlaced = CommonFunction.GetValue<bool>(RtDataValues, "LP1.CassettePlaced");
+            if (!_isLP1CassettePlaced && LP1WaferCount == 0)
             {
                 LP1WaferAssociation.SlotFrom = 1;
                 LP1WaferAssociation.SlotTo = 25;
@@ -583,8 +583,8 @@ namespace CyberX8_MainPages.ViewModels
                 AssociateSequence(LP1WaferAssociation, false);
 
             }
-            _isLP2Docked = CommonFunction.GetValue<bool>(RtDataValues, "LP2.IsDocked");
-            if (!_isLP2Docked && LP2WaferCount == 0)
+            _isLP2CassettePlaced = CommonFunction.GetValue<bool>(RtDataValues, "LP2.CassettePlaced");
+            if (!_isLP2CassettePlaced && LP2WaferCount == 0)
             {
                 LP2WaferAssociation.SlotFrom = 1;
                 LP2WaferAssociation.SlotTo = 25;
@@ -597,8 +597,8 @@ namespace CyberX8_MainPages.ViewModels
                 AssociateSequence(LP2WaferAssociation, false);
 
             }
-            _isLP3Docked = CommonFunction.GetValue<bool>(RtDataValues, "LP3.IsDocked");
-            if (!_isLP3Docked && LP3WaferCount == 0)
+            _isLP3CassettePlaced = CommonFunction.GetValue<bool>(RtDataValues, "LP3.CassettePlaced");
+            if (!_isLP3CassettePlaced && LP3WaferCount == 0)
             {
                 LP3WaferAssociation.SlotFrom = 1;
                 LP3WaferAssociation.SlotTo = 25;