| |
- ACSImpl.DevIO.DevIO
-
- CurrentDevIO
class CurrentDevIO(ACSImpl.DevIO.DevIO) |
|
A readwrite BACI double property DevIO implementation for the
"current" property of the PS::PowerSupply IDL interface. This
particular implementation mimics the C++ acsexmplPowerSupplyCurrentImpl.h
header which:
writes out the value being written to it (when being set) to the
"readback" readonly BACI double property also of the PS::PowerSupply
IDL interface.
As an example, this is quite useful as it shows how to mimic the C++
PowerSupply example precisely without ever coding a full component
implementation. |
|
Methods defined here:
- __init__(self, comp_ref)
- Constructor
Parameters:
comp_ref - a reference to the component which is creating
"us"
Returns: Nothing
Raises: Nothing
- write(self, value)
- Overridden.
Calls the super implementation and sets the "current" readonly
BACI double property to value.
Methods inherited from ACSImpl.DevIO.DevIO:
- read(self)
- Method to read a value. Can/should be overriden by subclasses.
Parameters: None
Returns: device value
Raises: Nothing
| |