Behavior of Prop "Power" if a device cannot be switched on/off
Currently, AFAIK the consent is to throw an exception in the PowerSetAction
and in the PowerGetAction
@a.walter / @b.peter suggested to instead return ON
in the PowerGetAction
instead in that case. Since if there is no option to set otherwise, that should be the default expected by the control system.
Note that the returned value of Setting properties always should reflect the "last value which was requested via Property" value, which is not related to the actual hardware state. (E.g. the Status property still could report POWER_OFF because of some broken wire or similar)
Original PPOS Issue: https://git.acc.gsi.de/awalter/FESA-API-Comments/pulls/1#issuecomment-21306