15 lines
336 B
C++
15 lines
336 B
C++
#pragma once
|
|
|
|
#include <asio.hpp>
|
|
#include <json/json.h>
|
|
|
|
class Kirdy {
|
|
private:
|
|
asio::ip::tcp::iostream socket;
|
|
Json::Value command(Json::Value &request);
|
|
public:
|
|
Kirdy(asio::string_view host, asio::string_view service);
|
|
float get_laser_temp();
|
|
void set_tec_current(float milliamps);
|
|
};
|