SunSPOT host API V4.0


com.sun.spot.client.command
Class GetPowerStatsCmd.Result

java.lang.Object
  extended by com.sun.spot.client.command.GetPowerStatsCmd.Result
All Implemented Interfaces:
Serializable
Enclosing class:
GetPowerStatsCmd

public class GetPowerStatsCmd.Result
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GetPowerStatsCmd.Result()
           
 
Method Summary
 String faultAsString(int fault)
           
 int getIcharge()
           
 int getIdischarge()
           
 int getImax()
           
 int getInterruptCode()
           
 String getPctrlVersion()
           
 int getPowerFaultCode()
           
 int getStartuptime()
           
 long getTime()
           
 int getVbatt()
           
 int getVcc()
           
 int getVcore()
           
 int getVext()
           
 int getVusb()
           
 boolean isExternallyPowered()
           
 String statusAsString(int status)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetPowerStatsCmd.Result

public GetPowerStatsCmd.Result()
Method Detail

faultAsString

public String faultAsString(int fault)

statusAsString

public String statusAsString(int status)

toString

public String toString()
Overrides:
toString in class Object

getPctrlVersion

public String getPctrlVersion()

getIcharge

public int getIcharge()

getIdischarge

public int getIdischarge()

getImax

public int getImax()

getVbatt

public int getVbatt()

getVcc

public int getVcc()

getVcore

public int getVcore()

getVext

public int getVext()

getVusb

public int getVusb()

getPowerFaultCode

public int getPowerFaultCode()

getInterruptCode

public int getInterruptCode()

getStartuptime

public int getStartuptime()

getTime

public long getTime()

isExternallyPowered

public boolean isExternallyPowered()

SunSPOT host API V4.0


Copyright � 2006-2008 Sun Microsystems, Inc. All Rights Reserved.