Package org.myls.powersupply
Class SimplePowerSupply
java.lang.Object
org.myls.powersupply.SimplePowerSupply
- All Implemented Interfaces:
IPowerSupply
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
on
protected boolean on
-
-
Constructor Details
-
SimplePowerSupply
public SimplePowerSupply()
-
-
Method Details
-
getOn
public boolean getOn()- Specified by:
getOnin interfaceIPowerSupply- Returns:
- True is the psu is on
-
setOn
public void setOn(boolean on) - Specified by:
setOnin interfaceIPowerSupply- Parameters:
on-
-
toString
-