blob: a139ac1ef7d6c7e33ce725c13d3c3838a15e9ff3 (
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 "XIpmiBaseboardVoltageRegulator.h"
#include "XInternal.h"
namespace vagt
{
namespace encode
{
class XIpmiBaseboardVoltageRegulatorImp : public XIpmiBaseboardVoltageRegulator, public XJsonable
{
public:
XIpmiBaseboardVoltageRegulatorImp(const XString& baseboardVoltageRegulatorIdentifier);
virtual json toJson() override;
virtual void setBaseboardVoltageRegulatorIdentifier(const XString& baseboardVoltageRegulatorIdentifier) override;
virtual void setVoltageRegulatorTemperature(XNumber voltageRegulatorTemperature) override;
private:
//required
XString baseboardVoltageRegulatorIdentifier_;
//optional
std::map<std::string, XCommonValue> comVals_;
};
}
}
|