#pragma once
#include "nlohmann/json.hpp"

namespace Slic3r
{

class QDTCrossTalk
{
public:
    QDTCrossTalk() = delete;
    ~QDTCrossTalk() = delete;

public:
    static std::string Crosstalk_DevId(const std::string& str);
    static std::string Crosstalk_DevIP(const std::string& str);
    static std::string Crosstalk_DevName(const std::string& str);
    static std::string Crosstalk_JsonLog(const nlohmann::json& json);

private:
    static std::string Crosstalk_ChannelName(const std::string& str);
};

} // namespace Slic3r