1. 修改mqtt重打抬头。

main
baocm 8 months ago
parent 73ec10e18a
commit 19339f541b

@ -449,7 +449,7 @@ void PublisherApp::run(std::shared_ptr<mqtt::async_client> dev)
{ {
print_msg.clear(); print_msg.clear();
print_msg["Title"] = "过衡单"; print_msg["Title"] = "五彩湾";
print_msg["GrossDeviceID"] = std::to_string(info.GrossDeviceID()); print_msg["GrossDeviceID"] = std::to_string(info.GrossDeviceID());
print_msg["GrossDeviceName"] = info.GrossDeviceName(); print_msg["GrossDeviceName"] = info.GrossDeviceName();
print_msg["TareDeviceID"] = std::to_string(info.TareDeviceID()); print_msg["TareDeviceID"] = std::to_string(info.TareDeviceID());

Loading…
Cancel
Save