diff options
author | 2019-09-10 13:50:31 +0800 | |
---|---|---|
committer | 2019-09-10 13:50:31 +0800 | |
commit | be6db99ca9b99a3b72b71a8fb1f5fcd9fc8aaf8f (patch) | |
tree | 6bbb90f07e03f4b90886391e859884898604ae05 /veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp | |
parent | 6c27d22ac7af3d1379a5448eef5894083bcae9ec (diff) |
Contribute C++ implement of VES spec 7.0.1 to ONAP/vnfsdk:
Part3: encode library
Issue-ID: VNFSDK-466
Signed-off-by: Yatian XU <yatian.xu@nokia-sbell.com>
Change-Id: I2bf21e61e9027385ec9b604206ba81a3acea99c5
Diffstat (limited to 'veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp')
-rwxr-xr-x | veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp b/veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp new file mode 100755 index 0000000..3fb3a12 --- /dev/null +++ b/veslibrary/ves_cpplibrary/src/lib/encode/XIpmiPowerSupply.cpp @@ -0,0 +1,31 @@ +#include "XIpmiPowerSupply.h"
+#include "XIpmiPowerSupplyImp.h"
+
+vagt::encode::XIpmiPowerSupply::XIpmiPowerSupply()
+{
+}
+
+vagt::encode::XIpmiPowerSupply::XIpmiPowerSupply(const XString & powerSupplyIdentifier):
+ imp_(make_shared<XIpmiPowerSupplyImp>(powerSupplyIdentifier))
+{
+}
+
+void vagt::encode::XIpmiPowerSupply::setPowerSupplyInputPower(XNumber powerSupplyInputPower)
+{
+ return imp_->setPowerSupplyInputPower(powerSupplyInputPower);
+}
+
+void vagt::encode::XIpmiPowerSupply::setPowerSupplyCurrentOutputPercent(XNumber powerSupplyCurrentOutputPercent)
+{
+ return imp_->setPowerSupplyCurrentOutputPercent(powerSupplyCurrentOutputPercent);
+}
+
+void vagt::encode::XIpmiPowerSupply::setPowerSupplyIdentifier(const XString & powerSupplyIdentifier)
+{
+ return imp_->setPowerSupplyIdentifier(powerSupplyIdentifier);
+}
+
+void vagt::encode::XIpmiPowerSupply::setPowerSupplyTemperature(XNumber powerSupplyTemperature)
+{
+ return imp_->setPowerSupplyTemperature(powerSupplyTemperature);
+}
|