PumpAdaptor
Injects Insulin into the patient with the specified dose. This managed object acts as an interface to the real pump.
Part of the Ponder2 tutorial
Operation | Description |
create: aName patient: aPatient |
Creates an instance of the adaptor with name aName belonging to aPatient. The RMI name used will be "aPatient_aName" |
Operation | Return | Description |
inject: aDose |
self |
injects aDose (integer) ml of Insulin into the patient |