fix(shelf): 实现负漂移抑制以提高重量显示准确性

- 在ShelfV3Activity中针对-5克以内的负读数做归零处理,避免误导显示
- 修改获取重量逻辑,保证显示重量与真实重量区分
- 在ShelfV3Adapter中对空秤零点附近的小负重量做归零处理
- 优化重量单位显示逻辑,根据负漂移抑制后的值显示克或千克
- 更新local.properties中SDK路径配置
This commit is contained in:
mazengfei
2026-07-13 18:26:16 +08:00
parent 7ab8e09a46
commit 23d211bfdb
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Jun 26 09:17:18 CST 2026
sdk.dir=D\:\\Android\\sdk
#Thu Jul 02 16:04:28 CST 2026
sdk.dir=C\:\\Users\\MZF\\AppData\\Local\\Android\\Sdk