add
zongzhibin
2024-11-28 093a1f1e49f482a58cb95f6562ab6c890bb03c89
CC/iWareSql/DataAccess/TCSCommon.cs
@@ -47,26 +47,6 @@
            return PlaceType;
        }
        /// <summary>
        /// 根据实际情况转换长和宽
        /// </summary>
        /// <param name="UpiInfo"></param>
        /// <param name="PhysicalLength">物理长度</param>
        /// <param name="PhysicalWidth">物理宽度</param>
        private static void GetPhysicalWidthLength(mes_batchOrderUPI_new UpiInfo, ref double PhysicalLength, ref double PhysicalWidth)
        {
            if (UpiInfo.Rotation > 0)
            {//如果是四面钻,物理长和宽对调
                PhysicalWidth = UpiInfo.Length;
                PhysicalLength = UpiInfo.Width;
            }
            else
            {
                PhysicalLength = UpiInfo.Length;
                PhysicalWidth = UpiInfo.Width;
            }
        }
    }
}