dsturrock Posted September 25, 2017 Share Posted September 25, 2017 Ever want to track statistics periodically, like by hour, shift, day, or week? I created this pair of objects for a customer about a year ago, then forgot to do anything with it. Perhaps others will find this to be useful. The solution is two objects, one for states and one for tallies, that allow you to flexibly designate periodic statistics on any interval, can skip periods (like off shift times), provides an optional plot, and provides the choice of logging or output file. I frankly don't recall how complete this was when I left it, but I'm sharing it in the hopes that others can benefit from this work and possibly even complete/improve it and reshare with others. Enjoy! PeriodStatisticObjects.spfx Link to comment Share on other sites More sharing options...
tulach Posted November 1, 2017 Share Posted November 1, 2017 This is very usefull, (didn't test it, but I use simillar approach without using new object. It is a good idea to crate an object for this. Link to comment Share on other sites More sharing options...
Arun Kumar Thandapani Posted April 24, 2020 Share Posted April 24, 2020 I think this will be very useful as well. I am looking at production output statistics and would like to see periodic statistics. I am going to try this out. Hope it works. Thank you so much Link to comment Share on other sites More sharing options...
Recommended Posts