So the below logic does two things. Both can be used or use one of the two options.1. If the curVal don't match, then it'll trigger an alarm.2. OR If the writeLevel changes, which happens when commanding the point, then it'll trigger an alarm.