示例#1
0
文件: Program.cs 项目: Levrum/Levrum
        public static string runtimeseries(List <string> args)
        {
            TimeSeriesExampleOne test = new TimeSeriesExampleOne();

            test.BuildDemoData();

            return(JsonConvert.SerializeObject(test.RunAggregatorTest()));
        }
示例#2
0
文件: Program.cs 项目: Levrum/Levrum
        public static string runtimeseriesthree(List <string> args)
        {
            TimeSeriesExampleOne test = new TimeSeriesExampleOne();

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

            return(JsonConvert.SerializeObject(data));
        }
示例#3
0
文件: Program.cs 项目: Levrum/Levrum
        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));
        }