Package gda.org.myls.powersupply
Class GDAPowerSupply
java.lang.Object
gda.org.myls.powersupply.CorbarisablePowerSupplyBase
gda.org.myls.powersupply.GDAPowerSupply
- All Implemented Interfaces:
Findable,gda.observable.IObservable,ICorbarisable,ICorbarisablePowerSupply,IObservablePowerSupply,IPowerSupply
-
Field Summary
Fields inherited from class gda.org.myls.powersupply.CorbarisablePowerSupplyBase
name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetOn()voidsetOn(boolean on) voidsetPowerSupply(IPowerSupply powerSupply) toString()Methods inherited from class gda.org.myls.powersupply.CorbarisablePowerSupplyBase
addIObserver, deleteIObserver, deleteIObservers, getName, notifyObservers, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
GDAPowerSupply
public GDAPowerSupply()
-
-
Method Details
-
setPowerSupply
- Parameters:
powerSupply-
-
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
-