JIRA: [STUDIO-13609] Change-Id: I591de7033360b9570600006cfbce2148a8d031d5 (cherry picked from commit e9c774be8f4c89b8dafa14ef56913612fb68bd0c)
30 lines
604 B
C++
30 lines
604 B
C++
#pragma once
|
|
#include <nlohmann/json.hpp>
|
|
#include "slic3r/Utils/json_diff.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
class MachineObject;
|
|
|
|
class DevBed
|
|
{
|
|
public:
|
|
DevBed(MachineObject *obj) : m_owner(obj), bed_temp(0.0f), bed_temp_target(0.0f) {}
|
|
|
|
float GetBedTemp() { return bed_temp; };
|
|
float GetBedTempTarget() { return bed_temp_target; };
|
|
|
|
public:
|
|
|
|
static void ParseV1_0(const json &print_json, DevBed *system);
|
|
static void ParseV2_0(const json &print_json, DevBed *system);
|
|
|
|
private:
|
|
|
|
float bed_temp;
|
|
float bed_temp_target;
|
|
|
|
MachineObject* m_owner = nullptr;
|
|
};
|
|
|
|
} // namespace Slic3r
|