The ProgramSelector – com.prosyst.mbs.services.da.items.whitegoods.ProgramSelector, represents a program selector for the appliances known by different names like white goods, major appliances and domestic appliances. The control and monitoring are realized with two program types:
targetProgram property. This program represents the selected program on the appliance. It has to be started to become the current program. Normally, the target program does not change the appliance activity.currentProgram property. There is no setter for this property. It is automatically set and updated by the appliance when the program is executed.The Program (com.prosyst.mbs.services.da.items.whitegoods.Program) represents an appliance program. Usually, it is a specific set of appliance instructions. Each program has:
The properties and the operations are described in the following tables:
Property |
Access |
Property Class |
Description |
|---|---|---|---|
targetProgram |
RWE |
|
Property for the target program identifier. This program represents the selected program on the appliance. It has to be started to become current program. Normally, the target program does not change the appliance activity. |
currentProgram |
RE |
|
Property for the current program identifier. This property is automatically set and updated by the appliance when the program is executed. |
programs |
RE |
|
Property for all supported programs. Each program has a unique identifier in the scope of this item. |
Operation |
Parameters |
Description |
|---|---|---|
getProgramById |
String – the program identifier |
Returns the program, which is matched by the specified identifier. |