blob: 3e1478a7bce0e94f8caddbbc8517bd28dcf5ed22 (
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
29
30
|
#pragma once
#include "XIpmiGlobalAggregateTemperatureMargin.h"
#include "XInternal.h"
namespace vagt
{
namespace encode
{
class XIpmiGlobalAggregateTemperatureMarginImp : public XIpmiGlobalAggregateTemperatureMargin, public XJsonable
{
public:
XIpmiGlobalAggregateTemperatureMarginImp(const XString& ipmiGlobalAggregateTemperatureMarginIdentifier,
XNumber globalAggregateTemperatureMargin);
virtual json toJson() override;
virtual void setIpmiGlobalAggregateTemperatureMarginIdentifier(const XString& ipmiGlobalAggregateTemperatureMarginIdentifier) override;
virtual void setGlobalAggregateTemperatureMargin(XNumber globalAggregateTemperatureMargin) override;
private:
//required
XString ipmiGlobalAggregateTemperatureMarginIdentifier_;
XNumber globalAggregateTemperatureMargin_;
//optional
std::map<std::string, XCommonValue> comVals_;
};
}
}
|