public abstract class AbstractSensors extends Object implements Sensors
| Constructor and Description |
|---|
AbstractSensors() |
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getCpuTemperature()
CPU Temperature
|
abstract double |
getCpuVoltage()
CPU Voltage
|
abstract int[] |
getFanSpeeds()
Fan speeds
|
javax.json.JsonObject |
toJSON()
Creates a compact JSON string containing the information for this class
|
public abstract double getCpuTemperature()
getCpuTemperature in interface Sensorspublic abstract int[] getFanSpeeds()
getFanSpeeds in interface Sensorspublic abstract double getCpuVoltage()
getCpuVoltage in interface Sensorspublic javax.json.JsonObject toJSON()
toJSON in interface OshiJsonObjectCopyright © 2010–2016 com.github.dblock. All rights reserved.