public string GetActiveUsrDetail(int pageIndex, string type, string dayAccids) { string returnJson = ""; List <int> accids = CommonLib.Helper.JsonDeserializeObject <List <int> >(dayAccids); returnJson = IndexDetail.GetGeneralAccountId(pageIndex, type, accids); return(returnJson); }
public static IndexDetail FromFileNameParts(string[] Parts, bool Detected = true) { var New = new IndexDetail(); New.Index = new Vector(Convert.ToInt32(Parts[0]), Convert.ToInt32(Parts[1])); New.OreType = Parts[2]; New.Detected = Detected; return(New); }
public void RegisterIndex( IndexCompileTimeKey indexKey, IndexDetail indexDetail) { if (indexKey.Visibility == NameAccessModifier.PUBLIC) { moduleIndexes.Add( new ModuleIndexMeta( indexKey.IsNamedWindow, indexKey.InfraName, indexKey.InfraModuleName, indexKey.IndexName, indexKey.InfraModuleName)); } }
public string GetDetailData(int pageIndex, string type, int index, string cnt, string location, string order, string verif, string date, string day, string keyword = "") { string returnJson = ""; ManageUserModel uM = (ManageUserModel)Session["logUser"]; int uid = uM.UserID; switch (type) { case "LoginUser": //登录用户数据 returnJson = IndexDetail.GetLoginAccountId(pageIndex, index, cnt, order); break; case "ActiveUser": //活跃度用户数据 returnJson = IndexDetail.GetActiveAccountId(pageIndex, index, cnt, order); break; case "PaidAll": //获取今日所有付费用户 returnJson = IndexDetail.GetPaidAllAccountId(pageIndex, index, cnt, order); break; case "Location": //获取某个区域店铺列表 returnJson = IndexDetail.GetLocationUsr(pageIndex, location, order); break; case "Filter": //获取筛选器结果用户 returnJson = IndexDetail.GetFilterUsr(pageIndex, verif, order, uid); break; case "NowActiveByLogin": //留存率数据集 returnJson = IndexDetail.GetRetentionUserDetail(pageIndex, index, cnt, date, day, order); break; case "FunnelDetail": //漏斗详情数据 string UidList = Controls.Filtrate.Filtrate.GetAccountList(uid, verif); string activeList = UidList.Substring(UidList.IndexOf(',') + 1); //去除首个0 returnJson = IndexDetail.GetFunnelDetail(pageIndex, keyword, activeList, cnt); break; default: //通用数据 returnJson = IndexDetail.GetGeneralAccountId(pageIndex, type, index, cnt, order); break; } return(returnJson); }
bool GetDataFromClipboard(out IndexDetail Detail) { Detail = IndexDetail.None; string PackedData = null; try { PackedData = Clipboard.GetText(); } catch (Exception) { return(false); } if (PackedData == null || PackedData.Length == 0) { return(false); } try { Detail = JsonConvert.DeserializeObject <IndexDetail>(new UTF8Encoding(false).GetString(Convert.FromBase64String(PackedData))); return(true); } catch (Exception) { return(false); } }
public string GetLocationUsrStatus(string location) { return(IndexDetail.GetLocationUsrStatus(location)); }