|
|
@@ -104,21 +104,23 @@ namespace PunkHPX8_RT.Modules.PlatingCell
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ string firstCurrentStep = _cellEntities[0].CurrentStepState;
|
|
|
+ string secondCurrentStep = _cellEntities[1].CurrentStepState;
|
|
|
bool hasDoubleProductionWafer = firstWafer.WaferType == secondWafer.WaferType;
|
|
|
if (hasDoubleProductionWafer)
|
|
|
{
|
|
|
- string firstCurrentStep = _cellEntities[0].CurrentStepState;
|
|
|
- foreach (var item in _cellEntities)
|
|
|
- {
|
|
|
- if (item.CurrentStepState != firstCurrentStep)
|
|
|
- {
|
|
|
- return false;
|
|
|
- }
|
|
|
- }
|
|
|
+ return firstCurrentStep == secondCurrentStep;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
-
|
|
|
+ if (secondCurrentStep.StartsWith("Reclaim") || secondCurrentStep.StartsWith("Rinse") || secondCurrentStep.StartsWith("Dry"))
|
|
|
+ {
|
|
|
+ return firstCurrentStep==secondCurrentStep;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
}
|
|
|
return true;
|
|
|
}
|