From 8331525053186b83d97728d4f9b07c27c92bde39 Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期四, 29 八月 2024 16:06:49 +0800
Subject: [PATCH] 整班优化
---
_Main/BL/Type_WholeShift/Method_IsRoundingOrZeroFilling4.qbl | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/_Main/BL/Type_WholeShift/Method_IsRoundingOrZeroFilling4.qbl b/_Main/BL/Type_WholeShift/Method_IsRoundingOrZeroFilling4.qbl
index f1ba88f..2155752 100644
--- a/_Main/BL/Type_WholeShift/Method_IsRoundingOrZeroFilling4.qbl
+++ b/_Main/BL/Type_WholeShift/Method_IsRoundingOrZeroFilling4.qbl
@@ -10,17 +10,18 @@
[*
traverse ( unit, Lane.LaneLeg.Trip, t ) {
traverse ( t, ProductInTrip, pit, pit.Quantity() > 0.0 ) {
+ info( pit.Product_MP().ParentID() );
// 鑾峰彇浜у搧lotsize鍊嶆暟
lotsize := 1;
- if ( pit.Product_MP().ParentID().Regex( "缂镐綋" ) ) {
+ if ( pit.Product_MP().ParentID().Regex( "ZKG" ) ) {
lotsize := macroPlan.CylinderBlock();
- } else if ( pit.Product_MP().ParentID().Regex( "缂哥洊" ) ) {
+ } else if ( pit.Product_MP().ParentID().Regex( "ZKM" ) ) {
lotsize := macroPlan.CylinderHead();
- } else if ( pit.Product_MP().ParentID().Regex( "杩炴潌" ) ) {
+ } else if ( pit.Product_MP().ParentID().Regex( "PL" ) ) {
lotsize := macroPlan.ConnectingRod();
- } else if ( pit.Product_MP().ParentID().Regex( "鏇茶酱" ) ) {
+ } else if ( pit.Product_MP().ParentID().Regex( "KW" ) ) {
lotsize := macroPlan.Crankshaft();
- } else if ( pit.Product_MP().ParentID().Regex( "鏇茶酱" ) ) {
+ } else if ( pit.Product_MP().ParentID().Regex( "AGW" ) ) {
lotsize := macroPlan.BalanceAxis();
}
--
Gitblit v1.9.3