internal static bool IsNeedSetup(this FabSubEqp subEqp, string shopID, string stepID, string productID, string prodVer, string ownerType, string ownerID) { var setupTime = subEqp.GetSetupTime(shopID, stepID, productID, prodVer, ownerType, ownerID); if (setupTime > 0) { return(true); } return(false); }
internal static float GetSetupTime(this FabSubEqp subEqp, FabLot lot) { string shopID = lot.CurrentShopID; string stepID = lot.CurrentStepID; string productID = lot.CurrentProductID; string prodVer = lot.CurrentProductVersion; string ownerType = lot.OwnerType; string ownerID = lot.OwnerID; var setupTime = subEqp.GetSetupTime(shopID, stepID, productID, prodVer, ownerType, ownerID); return(setupTime); }