The SwtControl was modified at the end of May 2016 to correct some deficiencies and get it to work better in QSTS calculations.


The Normal property was added to define the normal state of the switch after a mode change or other reset. It defaults to the Action value defined during the initial New command if it is not specifically defined. (Some users have been defining the initial state with Action).


The State property was added to get or set the present state.


The Lock property was added to better control locking of the switch state. For example, you may not want the switch to change states when changing solution modes from snapshot to Daily. You have to unlock (Lock=NO) before an Action will take place.


State and Reset force the switch position.