From c142bad42daefbd961e4507c7b4933ad1c4b6ad3 Mon Sep 17 00:00:00 2001 From: baocm Date: Thu, 29 Jan 2026 11:36:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E7=A7=B0=E9=87=8D=E5=8D=95=E4=BD=8D?= =?UTF-8?q?=E6=94=B9=E6=88=90kg=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weigh/Publisher.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weigh/Publisher.cxx b/weigh/Publisher.cxx index 99615b5..a138c50 100644 --- a/weigh/Publisher.cxx +++ b/weigh/Publisher.cxx @@ -253,13 +253,13 @@ void PublisherApp::run(std::shared_ptr handler) if (detector.isStable()) { info.WeightOK() = true; - info.Value() = weight/1000; - info.StableValue() = weight/1000; + info.Value() = weight; + info.StableValue() = weight; } else { info.WeightOK() = false; - info.Value() = weight/1000; + info.Value() = weight; info.StableValue() = 0; }