diff --git a/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs b/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs index b4950a5..3f1e5d7 100644 --- a/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs +++ b/余坯替代——中板/SlabHandle/SlabHandle/SlabControler.cs @@ -4739,7 +4739,7 @@ namespace SlabHandle //成材率 //tBPlateGrpMany.RATE = ConverDataToDecimal((Math.Round(tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_THK / 1000 * p.ORD_WID / 1000 * p.ORD_LEN / 1000 * ConverDataToDecimal(7.85)) / tBPlateGrpMany.MAX_WGT, 2))); //判断实际长度,特别长取消计算 - if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) >= tBPlateGrpMany.CUT_MAXLEN / 1000) + if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) > tBPlateGrpMany.CUT_MAXLEN / 1000) { tBPlateGrpMany.CRU_PIEs_ACT.Clear(); } @@ -6538,7 +6538,7 @@ namespace SlabHandle tBPlateGrpMany.RATE = ConverDataToDecimal((Math.Round(tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_THK / 1000 * p.ORD_WID / 1000 * p.ORD_LEN / 1000 * ConverDataToDecimal(7.85)) / tBPlateGrpMany.MAX_WGT, 4))); } //判断实际长度,特别长取消计算 - if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) >= tBPlateGrpMany.CUT_MAXLEN / 1000) + if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) > tBPlateGrpMany.CUT_MAXLEN / 1000) { tBPlateGrpMany.CRU_PIEs_ACT.Clear(); } @@ -8154,7 +8154,7 @@ namespace SlabHandle tBPlateGrpMany.RATE = ConverDataToDecimal((Math.Round(tBPlateGrpMany.CRU_PIEs_ACT.Sum(p => p.ORD_THK / 1000 * p.ORD_WID / 1000 * p.ORD_LEN / 1000 * ConverDataToDecimal(7.85)) / tBPlateGrpMany.MAX_WGT, 4))); } //判断实际长度,特别长取消计算 - if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) >= tBPlateGrpMany.CUT_MAXLEN / 1000) + if (Math.Round((TSCopy.THK / 1000) * (tBPlateGrpMany.SLAB_LEN / 1000) * (TSCopy.WID / 1000) / ((tBPlateGrpMany.CAL_THK / 1000) * (tBPlateGrpMany.CAL_WID / 1000)), 3) > tBPlateGrpMany.CUT_MAXLEN / 1000) { tBPlateGrpMany.CRU_PIEs_ACT.Clear(); } diff --git a/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe b/余坯替代——中板/SlabHandle/SlabHandle/bin/Debug/SlabHandle.exe index 7ff5669..ef704bd 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 93b5b51..a94e22e 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 7ff5669..ef704bd 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 93b5b51..a94e22e 100644 Binary files a/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb and b/余坯替代——中板/SlabHandle/SlabHandle/obj/Debug/SlabHandle.pdb differ