skeleton: Rewrite setValue() method for Dbus object /org/openbmc/sensors/host/PowerCap

obmc uses dbus interface 'org.openbmc.SensorValue' of the object
'/org/openbmc/sensors/host/PowerCap' to set Host PowerCap.
Rewrite the setValue() method to set PowerCap via the
"/sys/class/hwmon/hwmonX/user_powercap" OCC-HWMON sysfs attribute.
BMC will sends a "Set User PowerCap" command to OCC.

Signed-off-by: Yi Li <adamliyi@msn.com>
2 files changed
tree: 63d98b094aac7f8246ce7c1319608a6225d6e7ed
  1. bin/
  2. includes/
  3. interfaces/
  4. objects/
  5. xml/
  6. codegen
  7. Makefile