Пример #1
0
        public static string runtimeseries(List <string> args)
        {
            TimeSeriesExampleOne test = new TimeSeriesExampleOne();

            test.BuildDemoData();

            return(JsonConvert.SerializeObject(test.RunAggregatorTest()));
        }
Пример #2
0
        public static string runtimeseriesthree(List <string> args)
        {
            TimeSeriesExampleOne test = new TimeSeriesExampleOne();

            test.BuildDemoData();
            var data = test.RunGroupByTest();

            return(JsonConvert.SerializeObject(data));
        }
Пример #3
0
        public static string runtimeseriestwo(List <string> args)
        {
            TimeSeriesExampleOne test = new TimeSeriesExampleOne();

            test.BuildDemoData();
            List <AggregatedData <IncidentData> > data = (List <AggregatedData <IncidentData> >)test.RunGetAggregatedDataTest();

            data.Sort();
            return(JsonConvert.SerializeObject(data));
        }