/* 每天的数据 活跃 新增 付费 */ 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 m_newUser = new Dictionary(); //活跃 public Dictionary m_activeUser = new Dictionary(); //IOS新增 //public Dictionary m_IOSNewUser = new Dictionary(); //IOS活跃 //public Dictionary m_IOSActiveUser = new Dictionary(); //活跃,简要 public Dictionary m_activeUserLongKeep = new Dictionary(); //新增,简要 public Dictionary m_newUserLongKeep = new Dictionary(); public Dictionary m_ShareFBTypeCount = new Dictionary(); //玩牌 private Dictionary m_roundUser = new Dictionary(); //新用户玩牌次数 private Dictionary m_roundNewUser = new Dictionary(); //首次充值 private Dictionary m_rechargeUser = new Dictionary(); // 新进用户累积充值 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 m_payUserMonth = new Dictionary(); //月活跃 public Dictionary m_activeUserMonth = new Dictionary(); //月新进 public Dictionary m_newUserMonth = new Dictionary(); 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 m_PayGoogleSuccessResUser = new Dictionary(); public Dictionary m_PayGoogleSuccCount = new Dictionary(); //uid chip // public Dictionary m_DiamondChipExchangeTable = new Dictionary(DiamondChipExchangeDescMgr.Instance.ItemTable.Count); //分类型的产出 public Dictionary m_getChipReasonDict = new Dictionary(); public Dictionary m_getItemReasonDict = new Dictionary(); //活动产出 public Dictionary m_getChipActivityDict = new Dictionary(); public Dictionary m_getMailChipTypeDict = new Dictionary(); public Dictionary m_getDiamondReasonDict = new Dictionary(); public Dictionary m_getMailDiamondTypeDict = new Dictionary(); 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 m_tmpTreasureUser = new Dictionary();//临时,一天数据读完计算结果后会删除 public int TreasureUserCount;//m_tmpTreasureUser.count public int[] m_treasureItemDrawCount = new int[15]; public Dictionary[] m_treasureItemDrawUserCount = new Dictionary[15]; public Dictionary m_robotLoseChipInfo = new Dictionary(); public Dictionary m_robotWinChipInfo = new Dictionary(); // 新用户产出消耗 public Dictionary m_getNewUserChipReasonDict = new Dictionary(); public long newUserChipGet; public long newUserChipConsume; public long newUserGuessCardBet; public Dictionary newUserEveryRoom = new Dictionary(); //新手玩家第一天在各房间玩的次数 public Dictionary newFriendPlayerDict = new Dictionary(); public NewFriendInfo newFriendInfo = new NewFriendInfo(); //游戏用户 //uid,gamecount public Dictionary m_GameUser = new Dictionary(); public List m_ExchangeCouponDbResUserList = new List(); 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 m_userChannelInfo = new Dictionary(); //活跃用户留存 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 m_SendCardList = new List(); public Dictionary optimizedata= new Dictionary(); } }