You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
317 lines
11 KiB
317 lines
11 KiB
/*
|
|
每天的数据
|
|
活跃
|
|
新增
|
|
付费
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.IO;
|
|
using System.Text;
|
|
|
|
|
|
namespace bill_statistics
|
|
{
|
|
public partial class BillInfoEveryDay
|
|
{
|
|
public DateTime BillDate { get; set; }
|
|
|
|
|
|
public Dictionary<int, UserInfo> m_newUser = new Dictionary<int, UserInfo>();
|
|
|
|
|
|
//活跃
|
|
public Dictionary<int, UserInfo> m_activeUser = new Dictionary<int, UserInfo>();
|
|
|
|
|
|
|
|
//IOS新增
|
|
//public Dictionary<int, UserInfo> m_IOSNewUser = new Dictionary<int, UserInfo>();
|
|
|
|
//IOS活跃
|
|
//public Dictionary<int, UserInfo> m_IOSActiveUser = new Dictionary<int, UserInfo>();
|
|
|
|
|
|
//活跃,简要
|
|
public Dictionary<int, UserInfoLongKeep> m_activeUserLongKeep = new Dictionary<int, UserInfoLongKeep>();
|
|
//新增,简要
|
|
public Dictionary<int, UserInfoLongKeep> m_newUserLongKeep = new Dictionary<int, UserInfoLongKeep>();
|
|
|
|
|
|
public Dictionary<int, int> m_ShareFBTypeCount = new Dictionary<int, int>();
|
|
|
|
|
|
//玩牌
|
|
private Dictionary<int, int> m_roundUser = new Dictionary<int, int>();
|
|
|
|
//新用户玩牌次数
|
|
private Dictionary<int, int> m_roundNewUser = new Dictionary<int, int>();
|
|
|
|
//首次充值
|
|
private Dictionary<int, int> m_rechargeUser = new Dictionary<int, int>();
|
|
|
|
// 新进用户累积充值
|
|
public float m_newUserRechargeMoney1;
|
|
public long m_newUserRechargeCount1;
|
|
public float m_newUserRechargeMoney2;
|
|
public long m_newUserRechargeCount2;
|
|
public float m_newUserRechargeMoney3;
|
|
public long m_newUserRechargeCount3;
|
|
public float m_newUserRechargeMoney7;
|
|
public long m_newUserRechargeCount7;
|
|
public float m_newUserRechargeMoney14;
|
|
public long m_newUserRechargeCount14;
|
|
public float m_newUserRechargeMoney30;
|
|
public long m_newUserRechargeCount30;
|
|
public float m_newUserRechargeMoney60;
|
|
public long m_newUserRechargeCount60;
|
|
public float m_newUserRechargeMoney90;
|
|
public long m_newUserRechargeCount90;
|
|
public float m_newUserRechargeMoney120;
|
|
public long m_newUserRechargeCount120;
|
|
public float m_newUserRechargeMoney150;
|
|
public long m_newUserRechargeCount150;
|
|
public float m_newUserRechargeMoney180;
|
|
public long m_newUserRechargeCount180;
|
|
|
|
|
|
//月支付用户,自然月
|
|
public Dictionary<int, int> m_payUserMonth = new Dictionary<int, int>();
|
|
//月活跃
|
|
public Dictionary<int, int> m_activeUserMonth = new Dictionary<int, int>();
|
|
|
|
//月新进
|
|
public Dictionary<int, int> m_newUserMonth = new Dictionary<int, int>();
|
|
|
|
public int MaxOnline;
|
|
public int AvgOnlineADay;
|
|
private int m_onlineBillCount;
|
|
private int m_onlineBillTotal;
|
|
private int[] m_onlineUser = new int[24];
|
|
private int[] m_onlineCnt = new int[24];
|
|
|
|
public int InviteFBFriendCount; //邀请fb好友数量
|
|
|
|
|
|
public long newFriendBeginCount = 0;
|
|
|
|
//在线时间统计
|
|
private int m_OnlineTimeSum = 0;
|
|
private int m_newUserOnlineTimeSum = 0;
|
|
|
|
private int m_OnlineTimeCount = 0;
|
|
|
|
|
|
//private int m_ShareFacebook = 0;
|
|
private int m_FocusFacebook = 0;
|
|
|
|
//GooglePay 支付订单 按订单统计
|
|
public Dictionary<int, PayGoogleSuccessRes> m_PayGoogleSuccessResUser = new Dictionary<int, PayGoogleSuccessRes>();
|
|
|
|
public Dictionary<string, int> m_PayGoogleSuccCount = new Dictionary<string, int>();
|
|
|
|
|
|
//uid chip
|
|
|
|
// public Dictionary<int, int> m_DiamondChipExchangeTable = new Dictionary<int, int>(DiamondChipExchangeDescMgr.Instance.ItemTable.Count);
|
|
|
|
//分类型的产出
|
|
public Dictionary<string, long> m_getChipReasonDict = new Dictionary<string, long>();
|
|
|
|
public Dictionary<string, long> m_getItemReasonDict = new Dictionary<string, long>();
|
|
//活动产出
|
|
public Dictionary<int, long> m_getChipActivityDict = new Dictionary<int, long>();
|
|
public Dictionary<int, long> m_getMailChipTypeDict = new Dictionary<int, long>();
|
|
public Dictionary<string, long> m_getDiamondReasonDict = new Dictionary<string, long>();
|
|
public Dictionary<int, long> m_getMailDiamondTypeDict = new Dictionary<int, long>();
|
|
|
|
public Int64 ChipGet;
|
|
public Int64 ChipConsume;
|
|
public long ChipSendPlayerMail;//赠送金币
|
|
public long ChipSendPlayerMailTax;//赠送金币手续费
|
|
|
|
public Int64 DiamondGet;
|
|
public Int64 DiamondConsume;
|
|
public Int64 DiamondConsumeMatchFee;//比赛报名
|
|
public Int64 DiamondConsumeExchange;//换金币
|
|
|
|
public long ChipTrans; //金钱流转
|
|
|
|
public long PlayerWinRobot;
|
|
public long RobotWinPlayer;
|
|
|
|
public long yuxiaxieBet;
|
|
public long HorseBet; //跑马押注
|
|
|
|
public long TreasureDrawConsume;
|
|
public Dictionary<long, int> m_tmpTreasureUser = new Dictionary<long, int>();//临时,一天数据读完计算结果后会删除
|
|
public int TreasureUserCount;//m_tmpTreasureUser.count
|
|
public int[] m_treasureItemDrawCount = new int[15];
|
|
public Dictionary<int, int>[] m_treasureItemDrawUserCount = new Dictionary<int, int>[15];
|
|
|
|
public Dictionary<long, int> m_robotLoseChipInfo = new Dictionary<long, int>();
|
|
public Dictionary<long, int> m_robotWinChipInfo = new Dictionary<long, int>();
|
|
|
|
// 新用户产出消耗
|
|
public Dictionary<string, long> m_getNewUserChipReasonDict = new Dictionary<string, long>();
|
|
|
|
public long newUserChipGet;
|
|
public long newUserChipConsume;
|
|
public long newUserGuessCardBet;
|
|
public Dictionary<int, int[]> newUserEveryRoom = new Dictionary<int, int[]>(); //新手玩家第一天在各房间玩的次数
|
|
|
|
public Dictionary<long, int> newFriendPlayerDict = new Dictionary<long, int>();
|
|
|
|
public NewFriendInfo newFriendInfo = new NewFriendInfo();
|
|
//游戏用户
|
|
|
|
//uid,gamecount
|
|
public Dictionary<int, int[]> m_GameUser = new Dictionary<int, int[]>();
|
|
|
|
public List<ExchangeCouponDbResInfo> m_ExchangeCouponDbResUserList = new List<ExchangeCouponDbResInfo>();
|
|
|
|
public int m_RecvFriendChipCount;
|
|
public int m_giveFriendChipCount;
|
|
|
|
public int m_newUserGiveFriendChipCount;
|
|
public int m_newUserRecvFriendChipCount;
|
|
|
|
public int m_winCount;
|
|
public int m_newUserWinCount;
|
|
public double m_winTotalTimes;
|
|
public double m_newUserWinTotalTimes;
|
|
|
|
|
|
//活跃用户数量
|
|
public int ActiveUser { get; set; }
|
|
//新进用户数量
|
|
public int NewUser { get; set; }
|
|
|
|
//新进IOS用户数量
|
|
public int IOSNewUser { get; set; }
|
|
|
|
//活跃IOS用户数量
|
|
public int IOSActiveUser { get; set; }
|
|
|
|
|
|
public int NewUserMinus_CPE { get; set; }
|
|
|
|
public int ActiveUserMinus_CPE { get; set; }
|
|
public int NewUserFB { get; set; }
|
|
public int ActivePayUser;
|
|
//新进用户留存
|
|
public NewUserRetentionInfo m_newUserRetentionInfo = new NewUserRetentionInfo();
|
|
public Dictionary<string, UserChannelInfo> m_userChannelInfo = new Dictionary<string, UserChannelInfo>();
|
|
|
|
|
|
//活跃用户留存
|
|
public int ActRetention1 { get; set; }
|
|
public int ActRetention2 { get; set; }
|
|
public int ActRetention3 { get; set; }
|
|
public int ActRetention4 { get; set; }
|
|
public int ActRetention5 { get; set; }
|
|
public int ActRetention6 { get; set; }
|
|
public int ActRetention7 { get; set; }
|
|
public int ActRetention15 { get; set; }
|
|
public int ActRetention30 { get; set; }
|
|
|
|
//支付用户留存
|
|
public int PayRetention1 { get; set; }
|
|
public int PayRetention2 { get; set; }
|
|
public int PayRetention3 { get; set; }
|
|
public int PayRetention4 { get; set; }
|
|
public int PayRetention5 { get; set; }
|
|
public int PayRetention6 { get; set; }
|
|
public int PayRetention7 { get; set; }
|
|
public int PayRetention15 { get; set; }
|
|
public int PayRetention30 { get; set; }
|
|
|
|
//比赛用户留存
|
|
public int ArenaRetention1 { get; set; }
|
|
public int ArenaRetention2 { get; set; }
|
|
public int ArenaRetention3 { get; set; }
|
|
public int ArenaRetention4 { get; set; }
|
|
public int ArenaRetention5 { get; set; }
|
|
public int ArenaRetention6 { get; set; }
|
|
public int ArenaRetention7 { get; set; }
|
|
public int ArenaRetention15 { get; set; }
|
|
public int ArenaRetention30 { get; set; }
|
|
|
|
//新进比赛用户留存
|
|
public int ArenaNewRetention1 { get; set; }
|
|
public int ArenaNewRetention2 { get; set; }
|
|
public int ArenaNewRetention3 { get; set; }
|
|
public int ArenaNewRetention4 { get; set; }
|
|
public int ArenaNewRetention5 { get; set; }
|
|
public int ArenaNewRetention6 { get; set; }
|
|
public int ArenaNewRetention7 { get; set; }
|
|
public int ArenaNewRetention15 { get; set; }
|
|
public int ArenaNewRetention30 { get; set; }
|
|
|
|
//IOS新进用户留存
|
|
public int IOSNewRetention1 { get; set; }
|
|
public int IOSNewRetention2 { get; set; }
|
|
public int IOSNewRetention3 { get; set; }
|
|
public int IOSNewRetention4 { get; set; }
|
|
public int IOSNewRetention5 { get; set; }
|
|
public int IOSNewRetention6 { get; set; }
|
|
public int IOSNewRetention7 { get; set; }
|
|
public int IOSNewRetention15 { get; set; }
|
|
public int IOSNewRetention30 { get; set; }
|
|
|
|
//IOS活跃用户留存
|
|
public int IOSActiveRetention1 { get; set; }
|
|
public int IOSActiveRetention2 { get; set; }
|
|
public int IOSActiveRetention3 { get; set; }
|
|
public int IOSActiveRetention4 { get; set; }
|
|
public int IOSActiveRetention5 { get; set; }
|
|
public int IOSActiveRetention6 { get; set; }
|
|
public int IOSActiveRetention7 { get; set; }
|
|
public int IOSActiveRetention15 { get; set; }
|
|
public int IOSActiveRetention30 { get; set; }
|
|
|
|
//破产后次日流失用户(1次破产,2次破产,3次破产)
|
|
public int BrokenLostNextDayCount1;
|
|
public int BrokenLostNextDayCount2;
|
|
public int BrokenLostNextDayCount3;
|
|
public int BrokenLostNextDayCount4;
|
|
|
|
public int RoundCount { get; set; }
|
|
public int RoundUser { get; set; }
|
|
public int RobotCount { get; set; }
|
|
|
|
|
|
public int PayCount { get; set; }
|
|
|
|
public int FirstPay { get; set; }
|
|
public int PayMoney { get; set; }
|
|
|
|
public int IOSPayMoney{ get; set; }
|
|
|
|
public int IOSPayCount { get; set; }
|
|
//渗透率
|
|
public double PayUserPer { get; set; }
|
|
public double MoneyUSD { get; set; }
|
|
|
|
public double IOSMoneyUSD { get; set; }
|
|
public double ARPPU { get; set; }
|
|
public double ARPU { get; set; }
|
|
|
|
|
|
//月付费
|
|
public int PayCountMon { get; set; }
|
|
public int PayMoneyMon { get; set; }
|
|
//渗透率
|
|
public double PayUserPerMon { get; set; }
|
|
public double MoneyUSDMon { get; set; }
|
|
public double ARPPUMon { get; set; }
|
|
public double ARPUMon { get; set; }
|
|
|
|
public List<SendCardInfo> m_SendCardList = new List<SendCardInfo>();
|
|
|
|
public Dictionary<int, optimizetionResult> optimizedata= new Dictionary<int, optimizetionResult>();
|
|
}
|
|
}
|
|
|