Пример #1
0
 public GetMemberActivityOutput GetMemberActivity()
 {
     return(new GetMemberActivityOutput
            (
                DashboardRandomDataGenerator.GenerateMemberActivities()
            ));
 }
Пример #2
0
 public GetGeneralStatsOutput GetGeneralStats(GetGeneralStatsInput input)
 {
     return(new GetGeneralStatsOutput
     {
         TransactionPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
         NewVisitPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
         BouncePercent = DashboardRandomDataGenerator.GetRandomInt(10, 100)
     });
 }
Пример #3
0
 public GetServerStatsOutput GetServerStats(GetServerStatsInput input)
 {
     return(new GetServerStatsOutput
     {
         NetworkLoad = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15),
         CpuLoad = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15),
         LoadRate = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15)
     });
 }
Пример #4
0
        public GetDashboardDataOutput GetDashboardData(GetDashboardDataInput input)
        {
            var output = new GetDashboardDataOutput
            {
                TotalProfit        = DashboardRandomDataGenerator.GetRandomInt(5000, 9000),
                NewFeedbacks       = DashboardRandomDataGenerator.GetRandomInt(1000, 5000),
                NewOrders          = DashboardRandomDataGenerator.GetRandomInt(100, 900),
                NewUsers           = DashboardRandomDataGenerator.GetRandomInt(50, 500),
                SalesSummary       = DashboardRandomDataGenerator.GenerateSalesSummaryData(input.SalesSummaryDatePeriod),
                Expenses           = DashboardRandomDataGenerator.GetRandomInt(5000, 10000),
                Growth             = DashboardRandomDataGenerator.GetRandomInt(5000, 10000),
                Revenue            = DashboardRandomDataGenerator.GetRandomInt(1000, 9000),
                TotalSales         = DashboardRandomDataGenerator.GetRandomInt(10000, 90000),
                TransactionPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                NewVisitPercent    = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                BouncePercent      = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                NetworkLoad        = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15),
                CpuLoad            = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15),
                LoadRate           = DashboardRandomDataGenerator.GetRandomArray(20, 8, 15),
                TimeLineItems      = DashboardRandomDataGenerator.GenerateTimeLineItems()
            };

            return(output);
        }
Пример #5
0
 public GetWorldMapOutput GetWorldMap(GetWorldMapInput input)
 {
     return(new GetWorldMapOutput(DashboardRandomDataGenerator.GenerateWorldMapCountries()));
 }
Пример #6
0
 public GetSalesSummaryOutput GetSalesSummary(GetSalesSummaryInput input)
 {
     return(new GetSalesSummaryOutput(DashboardRandomDataGenerator.GenerateSalesSummaryData(input.SalesSummaryDatePeriod)));
 }