blob: fc3d5f32cb91f50865976d1a385f3272ef2ebd8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "XIpmiFan.h"
#include "XInternal.h"
namespace vagt
{
namespace encode
{
class XIpmiFanImp : public XIpmiFan, public XJsonable
{
public:
XIpmiFanImp(const XString& fanIdentifier);
virtual json toJson() override;
virtual void setFanSpeed(XNumber fanSpeed) override;
virtual void setFanIdentifier(const XString& fanIdentifier) override;
private:
//required
XString fanIdentifier_;
//optional
std::map<std::string, XCommonValue> comVals_;
};
}
}
|