@ -1472,7 +1472,7 @@ namespace SlabHandle
try
{
//OM423070031 004 005
if ( iPlateGrp . CRU_PIEs . Where ( p = > p . ORD_NO = = "OM A24010014" & & p . ORD_ITEM = = "008 ") . Count ( ) > 0 )
if ( iPlateGrp . CRU_PIEs . Where ( p = > p . ORD_NO = = "OM Z25030001" & & p . ORD_ITEM = = "004 ") . Count ( ) > 0 )
{
//return;
}
@ -1678,10 +1678,10 @@ namespace SlabHandle
if ( tSlab . OVER_FL = = "2" | | tSlab . OVER_FL = = "3" | | tSlab . OVER_FL = = "5" | | tSlab . OVER_FL = = "6" | | tSlab . OVER_FL = = "10" | | tSlab . OVER_FL = = "11"
| | tSlab . OVER_FL = = "22" | | tSlab . OVER_FL = = "33" )
{
if ( iPlateFic . ORD_WID > = 2400 & & iPlateFic . Order . XY_FLG = = "0" )
{
continue ;
}
//if (iPlateFic.ORD_WID >= 2400 && iPlateFic.Order.XY_FLG == "0" )
// {
// continue;
// }
}
////指定订单 TODO:指定订单代码
//if (gltTBSlabAppointsubstitute.Where(p => p.SLAB_NO == tSlab.SLAB_NO).Count() > 0)
@ -11268,9 +11268,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -11306,9 +11306,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -11352,9 +11352,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11400,9 +11400,9 @@ namespace SlabHandle
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11439,9 +11439,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11490,9 +11490,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11525,9 +11525,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11565,9 +11565,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11611,9 +11611,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -11648,9 +11648,9 @@ namespace SlabHandle
& & p . CRU_PIEs_ACT . Count ( ) > 0
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -11693,9 +11693,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11740,9 +11740,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11778,9 +11778,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11828,9 +11828,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11862,21 +11862,10 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 ) | | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) ) | | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
( iSlab . REM_LEN > = p . SLAB_LEN
& & iSlab . REM_LEN - p . SLAB_LEN < = 80 )
| | ( iSlab . REM_LEN < = p . SLAB_LEN
& & iSlab . REM_LEN - p . SLAB_LEN > = - 3 )
| |
( ( ( ( ( iSlab . REM_LEN = = iSlab . ORD_WID & & iSlab . REM_LEN > 2400 & & iSlab . WID > 2400 ) ? iSlab . WID : iSlab . REM_LEN ) - p . SLAB_LEN > = 1050 & & iSlab . WID > = 2050 )
| | ( ( ( iSlab . REM_LEN = = iSlab . ORD_WID & & iSlab . REM_LEN > 2400 & & iSlab . WID > 2400 ) ? iSlab . WID : iSlab . REM_LEN ) - p . SLAB_LEN > = 2050 & & iSlab . WID > = 1050 ) ) )
//|| (((iSlab.REM_LEN == iSlab.ORD_WID && iSlab.XY_FLG =="1") ? iSlab.WID : iSlab.REM_LEN) -p.SLAB_CAL_LEN <= 250 )
)
& & ( ( iSlab . REM_LEN > = p . SLAB_LEN & & iSlab . REM_LEN - p . SLAB_LEN < = 80 ) | | ( iSlab . REM_LEN < = p . SLAB_LEN & & iSlab . REM_LEN - p . SLAB_LEN > = - 3 ) | | ( ( ( ( ( iSlab . REM_LEN = = iSlab . ORD_WID & & iSlab . REM_LEN > 2400 & & iSlab . WID > 2400 ) ? iSlab . WID : iSlab . REM_LEN ) - p . SLAB_LEN > = 1050 & & iSlab . WID > = 2050 ) | | ( ( ( iSlab . REM_LEN = = iSlab . ORD_WID & & iSlab . REM_LEN > 2400 & & iSlab . WID > 2400 ) ? iSlab . WID : iSlab . REM_LEN ) - p . SLAB_LEN > = 2050 & & iSlab . WID > = 1050 ) ) ) )
& & p . CUST_DEL_TO_DATE ! = null
& & ChkDoublCut ( iSlab , p . SLAB_LEN , p . THK )
& & ( ( ltNiLast . Contains ( iSlab . STEEL_GRD_DETAIL ) & & ConverDataToDecimal ( p . RATE ) > = ConverDataToDecimal ( 0.78 ) )
@ -11901,9 +11890,9 @@ namespace SlabHandle
& & p . CRU_PIEs_ACT . Count ( ) > 0
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -11956,9 +11945,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -11995,9 +11984,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -12040,9 +12029,9 @@ namespace SlabHandle
& & p . CRU_PIEs_ACT . Count ( ) > 0
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12093,9 +12082,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12133,9 +12122,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12179,9 +12168,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > ! ltSpdLast . Contains ( q . STLGRD ) ) . Count ( ) > 0 //钢种不包含Q235B
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12217,9 +12206,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12266,9 +12255,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . CUST_DEL_TO_DATE ! = null
@ -12322,9 +12311,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -12364,9 +12353,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -12412,9 +12401,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12453,9 +12442,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12498,9 +12487,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12542,9 +12531,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12592,9 +12581,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12633,9 +12622,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -12689,9 +12678,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -12741,9 +12730,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12787,9 +12776,9 @@ namespace SlabHandle
// && p.SLAB_LEN < 5500
// && p.SLAB_CAL_LEN >= (iSlab.THK <= 180 ? 860 : 1010)
// && p.USE_FLG == "1"
// && ((p.SLAB_LEN > iSlab.WID && ((p.SLAB_LEN >= 2680 && p.WID >= iSlab.WID - 85 && p.WID <= iSlab.WID - 60)
// && ((p.SLAB_LEN > = iSlab.WID && ((p.SLAB_LEN >= 2680 && p.WID >= iSlab.WID - 85 && p.WID <= iSlab.WID - 60)
// || (p.SLAB_LEN < 2680 && p.WID >= iSlab.WID - 85)))
// || (p.SLAB_LEN < iSlab.WID && ((iSlab.WID > 2680 && p.WID >= p.SLAB_LEN - 85 && p.WID <= p.SLAB_LEN - 60) || (iSlab.WID < 2680 && p.WID >= p.SLAB_LEN - 60))))
// || (p.SLAB_LEN < = iSlab.WID && ((iSlab.WID > 2680 && p.WID >= p.SLAB_LEN - 85 && p.WID <= p.SLAB_LEN - 60) || (iSlab.WID < 2680 && p.WID >= p.SLAB_LEN - 60))))
// && ChkBroadSingle(p.CAL_WID, p.CAL_THK, "C3", p.SLAB_WID > p.SLAB_LEN ? p.SLAB_LEN : p.SLAB_WID, iSlab, p.MAX_LEN)
// && ((p.SLAB_LEN >= 1000 && p.SLAB_WID >= 2050) || (p.SLAB_LEN >= 2050 && p.SLAB_WID >= 1000))
// && p.SLAB_LEN > 2400
@ -12828,9 +12817,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12873,9 +12862,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & p . CRU_PIEs_ACT . Where ( q = > q . STLGRD = = iSlab . STLGRD ) . Count ( ) > 0 //同钢种检测
@ -12932,9 +12921,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . VAC_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = iSlab . REM_LEN / 2 + 300 ) //计算二切
@ -12978,9 +12967,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . VAC_FLG = = "1"
& & p . WID < = 1900 //宽度小于1900
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -13020,9 +13009,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . VAC_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -13070,9 +13059,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . THK < 8
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & ( p . CUST_DEL_TO_DATE ! = null
@ -13110,9 +13099,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
//&& p.THK < 8
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & ( p . CUST_DEL_TO_DATE ! = null
@ -13150,9 +13139,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . THK < 8
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & (
@ -13186,9 +13175,9 @@ namespace SlabHandle
// && p.CRU_PIEs_ACT.Count() > 0
// && p.SLAB_LEN < 5500
// && p.CRU_PIEs_ACT.Where(e => gltTBAPPOINTORDER.Where(f => f.ORD_NO == e.ORD_NO && f.ORD_ITEM == e.ORD_ITEM).Count() > 0).Count() >0 //指定订单存在的情况
// && ((p.SLAB_LEN > iSlab.WID && ((p.SLAB_LEN >= 2680 && p.WID >= iSlab.WID - 85 && p.WID <= iSlab.WID - 60)
// && ((p.SLAB_LEN > = iSlab.WID && ((p.SLAB_LEN >= 2680 && p.WID >= iSlab.WID - 85 && p.WID <= iSlab.WID - 60)
// || (p.SLAB_LEN < 2680 && p.WID >= iSlab.WID - 85)))
// || (p.SLAB_LEN < iSlab.WID && ((iSlab.WID > 2680 && p.WID >= p.SLAB_LEN - 85 && p.WID <= p.SLAB_LEN - 60) || (iSlab.WID < 2680 && p.WID >= p.SLAB_LEN - 60))))
// || (p.SLAB_LEN < = iSlab.WID && ((iSlab.WID > 2680 && p.WID >= p.SLAB_LEN - 85 && p.WID <= p.SLAB_LEN - 60) || (iSlab.WID < 2680 && p.WID >= p.SLAB_LEN - 60))))
// && ChkBroadSingle(p.CAL_WID, p.CAL_THK, "C3", p.SLAB_WID > p.SLAB_LEN ? p.SLAB_LEN : p.SLAB_WID, iSlab)
// && ((p.SLAB_LEN >= 850 && p.SLAB_WID >= 2050) || (p.SLAB_LEN >= 2050 && p.SLAB_WID >= 850))
// && (
@ -13231,9 +13220,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & (
@ -13282,9 +13271,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & (
@ -13329,9 +13318,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . THK < 8
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 850 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 850 ) )
& & (
@ -13381,9 +13370,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 3 - 100 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13417,9 +13406,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13456,9 +13445,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13491,9 +13480,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13531,9 +13520,9 @@ namespace SlabHandle
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13572,9 +13561,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -13607,9 +13596,9 @@ namespace SlabHandle
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & p . CRU_PIEs_ACT . Where ( e = > gltTBAPPOINTORDER . Where ( f = > f . ORD_NO = = e . ORD_NO & & f . ORD_ITEM = = e . ORD_ITEM & & f . XY_FLG . Contains ( "XYB" ) ) . Count ( ) > 0 ) . Count ( ) > 0 //指定订单存在的情况
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -13645,9 +13634,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 3 - 100 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13680,9 +13669,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = iSlab . REM_LEN / 2 - 100 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13718,9 +13707,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13752,9 +13741,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13791,9 +13780,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . USE_FLG = = "1"
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ( p . SLAB_LEN > = 2050 & & p . SLAB_LEN < = 2680 )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
@ -13831,9 +13820,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (
@ -13865,9 +13854,9 @@ namespace SlabHandle
& & p . SLAB_LEN < 5500
& & p . SLAB_CAL_LEN > = ( iSlab . THK < = 180 ? 860 : 1010 )
& & p . USE_FLG = = "1"
& & ( ( p . SLAB_LEN > iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
& & ( ( p . SLAB_LEN > = iSlab . WID & & ( ( p . SLAB_LEN > = 2680 & & p . WID > = iSlab . WID - 85 & & p . WID < = iSlab . WID - 60 )
| | ( p . SLAB_LEN < 2680 & & p . WID > = iSlab . WID - 85 ) ) )
| | ( p . SLAB_LEN < iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
| | ( p . SLAB_LEN < = iSlab . WID & & ( ( iSlab . WID > 2680 & & p . WID > = p . SLAB_LEN - 85 & & p . WID < = p . SLAB_LEN - 60 ) | | ( iSlab . WID < 2680 & & p . WID > = p . SLAB_LEN - 60 ) ) ) )
& & ChkBroadSingle ( p . CAL_WID , p . CAL_THK , "C3" , p . SLAB_WID > p . SLAB_LEN ? p . SLAB_LEN : p . SLAB_WID , iSlab , p . MAX_LEN )
& & ( ( p . SLAB_LEN > = 1000 & & p . SLAB_WID > = 2050 ) | | ( p . SLAB_LEN > = 2050 & & p . SLAB_WID > = 1000 ) )
& & (