Commit 93dc8fd2 authored by chuxiaoshan's avatar chuxiaoshan

修复称重稳定逻辑

parent 53317202
...@@ -30,7 +30,7 @@ android { ...@@ -30,7 +30,7 @@ android {
} }
} }
group 'com.qmai.android.zqtoolkit' group 'com.qmai.android.zqtoolkit'
version '1.3.9.7' version '1.3.9.9'
gradlePublish { gradlePublish {
......
...@@ -24,7 +24,7 @@ object ZqScaleKit : ScaleBaseKit() { ...@@ -24,7 +24,7 @@ object ZqScaleKit : ScaleBaseKit() {
override val TAG: String override val TAG: String
get() = "ZqScaleKit" get() = "ZqScaleKit"
override val STABLE_COUNT: Int override val STABLE_COUNT: Int
get() = 8 get() = 13
override val CONECT_CHECK_COUNT: Int override val CONECT_CHECK_COUNT: Int
get() = 4 get() = 4
override val SCALE_TYPE: QmScaleBrand override val SCALE_TYPE: QmScaleBrand
......
...@@ -111,6 +111,7 @@ abstract class ScaleBaseKit : ScaleBaseAction, ScaleUpdateAction { ...@@ -111,6 +111,7 @@ abstract class ScaleBaseKit : ScaleBaseAction, ScaleUpdateAction {
else -> stableWeight.add(weight) else -> stableWeight.add(weight)
} }
} else { } else {
stableWeight.clear()
_livingWeight.emit(weight) _livingWeight.emit(weight)
if (weight.isReadErr) if (weight.isReadErr)
when { when {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment