Commit 18e9fd0b 张东亮

1,7×16归类到7×20,现在归类错了,归类到7×12了

2,13寸超过28mm料盘,直接ng,
1 个父辈 3f0286f7
...@@ -642,11 +642,6 @@ namespace OnlineStore.DeviceLibrary ...@@ -642,11 +642,6 @@ namespace OnlineStore.DeviceLibrary
if (LastHeight <= 8) { LastHeight = 8; } if (LastHeight <= 8) { LastHeight = 8; }
if (width == 7) if (width == 7)
{ {
if(LastHeight == 16)
{
LastHeight = 20;
LogUtil.info($"归类高度是16,改为高度归类为20");
}
var height24MinActualHeight = ConfigHelper.Config.Get($"7寸高度归类为24mm的最小实际高度", 20); var height24MinActualHeight = ConfigHelper.Config.Get($"7寸高度归类为24mm的最小实际高度", 20);
var height24MaxActualHeight = ConfigHelper.Config.Get($"7寸高度归类为24mm的最大实际高度", 24); var height24MaxActualHeight = ConfigHelper.Config.Get($"7寸高度归类为24mm的最大实际高度", 24);
if (LastTotalHeight >= height24MinActualHeight && LastTotalHeight <= height24MaxActualHeight) if (LastTotalHeight >= height24MinActualHeight && LastTotalHeight <= height24MaxActualHeight)
...@@ -659,8 +654,9 @@ namespace OnlineStore.DeviceLibrary ...@@ -659,8 +654,9 @@ namespace OnlineStore.DeviceLibrary
var height20MaxActualHeight = ConfigHelper.Config.Get($"7寸高度归类为20mm的最大实际高度", 20); var height20MaxActualHeight = ConfigHelper.Config.Get($"7寸高度归类为20mm的最大实际高度", 20);
if (LastTotalHeight >= height20MinActualHeight && LastTotalHeight <= height20MaxActualHeight) if (LastTotalHeight >= height20MinActualHeight && LastTotalHeight <= height20MaxActualHeight)
{ {
LastHeight = 20;
LastTotalHeight = 20; LastTotalHeight = 20;
LogUtil.info($"实际高度在{height20MinActualHeight}与{height20MaxActualHeight},实际高度归类为20"); LogUtil.info($"实际高度在{height20MinActualHeight}与{height20MaxActualHeight},实际高度归类为20,改为高度归类为20");
} }
} }
else if (width > 7) else if (width > 7)
...@@ -669,7 +665,8 @@ namespace OnlineStore.DeviceLibrary ...@@ -669,7 +665,8 @@ namespace OnlineStore.DeviceLibrary
var height28MaxActualHeight = ConfigHelper.Config.Get($"13寸高度归类为28mm的最大实际高度", 32); var height28MaxActualHeight = ConfigHelper.Config.Get($"13寸高度归类为28mm的最大实际高度", 32);
if (LastTotalHeight >= height28MinActualHeight && LastTotalHeight <= height28MaxActualHeight) if (LastTotalHeight >= height28MinActualHeight && LastTotalHeight <= height28MaxActualHeight)
{ {
LastTotalHeight = 28; LastHeight = 32;
LastTotalHeight = 32;
LogUtil.info($"实际高度在{height28MinActualHeight}与{height28MaxActualHeight},实际高度归类为28"); LogUtil.info($"实际高度在{height28MinActualHeight}与{height28MaxActualHeight},实际高度归类为28");
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!