jira: [STUDIO-14068] [STUDIO-14330] Change-Id: I6281fbf56f3bf406ef28103998790a2a98c3f5c0 (cherry picked from commit 8ee02ec73076691c482ea6d089a49ea1c99ad10c)
19 lines
445 B
C++
19 lines
445 B
C++
#include <nlohmann/json.hpp>
|
|
#include "DevFilaSystem.h"
|
|
|
|
#include "slic3r/GUI/DeviceManager.hpp"// TODO: remove this include
|
|
#include "DevUtil.h"
|
|
|
|
using namespace nlohmann;
|
|
namespace Slic3r
|
|
{
|
|
|
|
int DevFilaSystem::CtrlAmsReset() const
|
|
{
|
|
json jj_command;
|
|
jj_command["print"]["command"] = "ams_reset";
|
|
jj_command["print"]["sequence_id"] = std::to_string(MachineObject::m_sequence_id++);
|
|
return m_owner->publish_json(jj_command);
|
|
}
|
|
|
|
} |