In twx watcher 7.4, I was able to get ThingState in following way:
ThingState thingState = thingwatcher.monitor(timedValue);
I recently installed Thingworx watcher 8.0 and found Thingwatcher.monitor returns void.
How to access ThingState here?
Can you have a look at Does anyone know how to use java api to achieve anomaly detection with Thingwatcher8.0? , there is a sample java program that should help you.
Thank you Christophe. Link provided by you helped me to start in right direction.
Retrieving data ...