diff --git a/余坯替代——中板/SlabHandle/.vs/SlabHandle/v17/.suo b/余坯替代——中板/SlabHandle/.vs/SlabHandle/v17/.suo index af53260..c3ec5d9 100644 Binary files a/余坯替代——中板/SlabHandle/.vs/SlabHandle/v17/.suo and b/余坯替代——中板/SlabHandle/.vs/SlabHandle/v17/.suo differ diff --git a/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs b/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs index 3f1e5d7..05c6895 100644 --- a/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs +++ b/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs @@ -3890,7 +3890,7 @@ namespace SlabHandle if (tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count() > 0) { //平均分 等分 - decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 40 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); + decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 50 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); if (decAdd > 0) { @@ -4588,7 +4588,7 @@ namespace SlabHandle if (tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count() > 0) { //平均分 等分 - decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 40 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); + decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 50 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); if (decAdd > 0) { @@ -7959,7 +7959,7 @@ namespace SlabHandle if (tBPlateGrpMany.CRU_PIEs_TMP.Where(p => p.Order.SIZE_KND == "02").Count() > 0) { //平均分 等分 - decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_TMP.Sum(p => p.ORD_LEN + cutLoss) - 40 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_TMP.Where(p => p.Order.SIZE_KND == "02").Count()); + decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_TMP.Sum(p => p.ORD_LEN + cutLoss) - 50 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_TMP.Where(p => p.Order.SIZE_KND == "02").Count()); if (decAdd > 0) { @@ -9576,7 +9576,7 @@ namespace SlabHandle if (tBPlateGrpMany.CRU_PIEs_TMP.Where(p => p.Order.SIZE_KND == "02").Count() > 0) { //平均分 等分 - decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 40 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); + decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 50 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); if (decAdd > 0) { @@ -10773,7 +10773,7 @@ namespace SlabHandle if (tBPlateGrpMany.CRU_PIEs_TMP.Where(p => p.Order.SIZE_KND == "02").Count() > 0) { //平均分 等分 - decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 40 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); + decimal decAdd = Math.Floor((Len - tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_LEN + cutLoss) - 50 - tBPlateGrpMany.SAMP_LEN) / tBPlateGrpMany.CRU_PIEs_ACT.Where(p => p.Order.SIZE_KND == "02").Count()); if (decAdd > 0) { diff --git a/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe b/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe index ef704bd..51ccf17 100644 Binary files a/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe and b/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe differ diff --git a/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.pdb b/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.pdb index a94e22e..09ab2bb 100644 Binary files a/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.pdb and b/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.pdb differ diff --git a/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.exe b/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.exe index ef704bd..51ccf17 100644 Binary files a/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.exe and b/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.exe differ diff --git a/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb b/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb index a94e22e..09ab2bb 100644 Binary files a/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb and b/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb differ