1. 1. 优化下榜称重逻辑,重量差超过45kg称重。

main
baocm 8 months ago
parent e665002c6f
commit 1799c1c712

@ -524,7 +524,7 @@ void PublisherApp::run()
DEBUG("license_no " << license_no); DEBUG("license_no " << license_no);
DEBUG("stable_weight2 " << stable_weight); DEBUG("stable_weight2 " << stable_weight);
stable_weight2 = stable_weight; stable_weight2 = stable_weight;
if (stable_weight2 < stable_weight1) if ((stable_weight1 - stable_weight2) > 45)
{ {
weigh_state = WEIGH_SEND; weigh_state = WEIGH_SEND;
} }

Loading…
Cancel
Save