| Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 1 | <node> | 
|  | 2 | <interface name="org.openbmc.SensorInteger"> | 
| Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame^] | 3 | <method name="init"/> | 
| Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 4 | <method name="getValue"> | 
|  | 5 | <arg name="value" type="i" direction="out"/> | 
|  | 6 | </method> | 
|  | 7 | <method name="setValue"> | 
|  | 8 | <arg name="value" type="i" direction="in"/> | 
|  | 9 | </method> | 
|  | 10 | <method name="getUnits"> | 
|  | 11 | <arg name="units" type="s" direction="out"/> | 
|  | 12 | </method> | 
|  | 13 | <method name="setPollInterval"> | 
|  | 14 | <arg name="poll_interval" type="i" direction="in"/> | 
|  | 15 | </method> | 
|  | 16 | <method name="setConfigData"> | 
|  | 17 | <arg name="config" type="as" direction="in"/> | 
|  | 18 | </method> | 
|  | 19 |  | 
|  | 20 | <property name="value" type="i" access="read"/> | 
|  | 21 | <property name="units" type="s" access="read"/> | 
|  | 22 |  | 
|  | 23 | <property name="poll_interval" type="i" access="read"/> | 
|  | 24 | <property name="config_data" type="as" access="read"/> | 
|  | 25 |  | 
|  | 26 | <property name="heatbeat" type="i" access="read"/> | 
|  | 27 |  | 
|  | 28 | <signal name="Changed"> | 
|  | 29 | <arg name="value" type="i"/> | 
|  | 30 | </signal> | 
|  | 31 | <signal name="Heartbeat"> | 
|  | 32 | <arg name="bus_name" type="s"/> | 
|  | 33 | </signal> | 
|  | 34 | </interface> | 
|  | 35 | <interface name="org.openbmc.SensorString"> | 
|  | 36 | <method name="getValue"> | 
|  | 37 | <arg name="value" type="s" direction="out"/> | 
|  | 38 | </method> | 
|  | 39 | <method name="getUnits"> | 
|  | 40 | <arg name="units" type="s" direction="out"/> | 
|  | 41 | </method> | 
|  | 42 | <property name="value" type="i" access="read"/> | 
|  | 43 | <property name="units" type="s" access="read"/> | 
|  | 44 | <signal name="Changed"> | 
|  | 45 | <arg name="value" type="s"/> | 
|  | 46 | </signal> | 
|  | 47 | </interface> | 
|  | 48 | <interface name="org.openbmc.SensorIntegerThreshold"> | 
|  | 49 | <method name="set"> | 
|  | 50 | <arg name="lower_critical" type="i" direction="in"/> | 
|  | 51 | <arg name="lower_warning"  type="i" direction="in"/> | 
|  | 52 | <arg name="upper_warning"  type="i" direction="in"/> | 
|  | 53 | <arg name="upper_critical" type="i" direction="in"/> | 
|  | 54 | </method> | 
|  | 55 | <method name="getState"> | 
|  | 56 | <arg name="state" type="i" direction="out"/> | 
|  | 57 | </method> | 
|  | 58 |  | 
| Norman James | ce46e3e | 2015-08-30 22:25:55 -0500 | [diff] [blame^] | 59 | <property name="lower_critical" type="i" access="readwrite"/> | 
|  | 60 | <property name="lower_warning"  type="i" access="readwrite"/> | 
|  | 61 | <property name="upper_warning"  type="i" access="readwrite"/> | 
|  | 62 | <property name="upper_critical" type="i" access="readwrite"/> | 
| Norman James | dc95ef7 | 2015-08-27 21:27:03 -0500 | [diff] [blame] | 63 | <property name="state" type="i" access="read"/> | 
|  | 64 |  | 
|  | 65 | <signal name="Warning"/> | 
|  | 66 | <signal name="Critical"/> | 
|  | 67 | </interface> | 
|  | 68 | </node> |