|
|
|
@ -253,13 +253,13 @@ void PublisherApp::run(std::shared_ptr<MsgHandler> handler)
|
|
|
|
if (detector.isStable())
|
|
|
|
if (detector.isStable())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
info.WeightOK() = true;
|
|
|
|
info.WeightOK() = true;
|
|
|
|
info.Value() = weight/1000;
|
|
|
|
info.Value() = weight;
|
|
|
|
info.StableValue() = weight/1000;
|
|
|
|
info.StableValue() = weight;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
info.WeightOK() = false;
|
|
|
|
info.WeightOK() = false;
|
|
|
|
info.Value() = weight/1000;
|
|
|
|
info.Value() = weight;
|
|
|
|
info.StableValue() = 0;
|
|
|
|
info.StableValue() = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|