Hi, I am getting the time in particular states in this way:
- double FLHRS = 0;
- Object FL = Group("name")[INDEX];
- FLHRS += FL.as(Object).stats.state().getTotalTimeAt("travel empty");
- FLHRS += FL.as(Object).stats.state().getTotalTimeAt("travel loaded");
Is there a way to do this using a query?