Commit 62a0914a 张东亮

测高总厚度问题

1 个父辈 6c23f80f
...@@ -598,6 +598,12 @@ namespace OnlineStore.DeviceLibrary ...@@ -598,6 +598,12 @@ namespace OnlineStore.DeviceLibrary
if (height <= 12) if (height <= 12)
{ {
LastHeight = 8; LastHeight = 8;
LastTotalHeight = 8;
}
else if (height > 12 && height <= 16)
{
LastHeight = 12;
LastTotalHeight = 12;
} }
else if (height >= 35) else if (height >= 35)
{ {
...@@ -613,7 +619,6 @@ namespace OnlineStore.DeviceLibrary ...@@ -613,7 +619,6 @@ namespace OnlineStore.DeviceLibrary
if (width >= 13) if (width >= 13)
{ {
height = height - 2; height = height - 2;
LastTotalHeight = LastTotalHeight - 2;
LogUtil.info($"检测为13寸高度-2={height}"); LogUtil.info($"检测为13寸高度-2={height}");
} }
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<add key="ConfigPath_DrawerPosition" value="\Config\DrawerPosition.csv"/> <add key="ConfigPath_DrawerPosition" value="\Config\DrawerPosition.csv"/>
<add key="ConfigPath_TrayList" value="\LineConfig\TrayList.data"/> <add key="ConfigPath_TrayList" value="\LineConfig\TrayList.data"/>
<add key="ConfigPath_PosDebugInfo" value="\Config\PosDebugInfo.json"/> <add key="ConfigPath_PosDebugInfo" value="\Config\PosDebugInfo.json"/>
<add key="Line_CID" value="05"/> <add key="Line_CID" value="04"/>
<add key="ImagePath" value="\Images\"/> <add key="ImagePath" value="\Images\"/>
<!--end one store config--> <!--end one store config-->
<!--二维码类型列表配置,用#分割,一维码=Barcode 二维码: QR Code#Data Matrix ECC 200#Micro QR Code--> <!--二维码类型列表配置,用#分割,一维码=Barcode 二维码: QR Code#Data Matrix ECC 200#Micro QR Code-->
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!