protected void Page_Load(object sender, EventArgs e)
        {
            loginService.HaveUrlRight();

            //var list = new Monitor_DataLogsServer(true).GetLogNameAndServerIpCache(CacheTimeOption.TenMinutes).Select(p => p.DataLogName).Distinct().ToList();
            //Dictionary<string, string> dic = new Dictionary<string, string>();
            //list.ForEach(p => dic.Add(p, p));
            Dictionary <string, string> dic = Monitor_DataLogsServer.GetDataLogNameDirt();

            HeadControl1.LogNameSource  = dic;
            HeadControl1.HiddenServerIp = true;
            reportTitle   = "日志分布";
            SeriesJsonStr = "[]";
            allList       = new List <Monitor_DataLogs>();
            if (HeadControl1.IsFirstLoad)
            {
                HeadControl1.LogName = "sjqd";
            }
            var temp = new Monitor_DataLogsServer(true).GetLogTransverseCache(HeadControl1.LogName, HeadControl1.BeginTime, HeadControl1.EndTime, CacheTimeOption.TenMinutes);

            if (temp.Count != 0)
            {
                SeriesJsonStr = GetYlineJson(temp);
            }
            else
            {
                reportTitle = "无数据";
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            loginService.HaveUrlRight();

            //设置周期及默认周期
            PeriodSelector1.AddPeriods(
                new net91com.Stat.Core.PeriodOptions[] {
                net91com.Stat.Core.PeriodOptions.Daily,
                net91com.Stat.Core.PeriodOptions.Hours,
                net91com.Stat.Core.PeriodOptions.TimeOfDay
            },
                net91com.Stat.Core.PeriodOptions.Daily);

            Period            = PeriodSelector1.SelectedPeriod;
            inputzhouqi.Value = Period.GetDescription();
            //var list = new Monitor_DataLogsServer(true).GetLogNameAndServerIpCache(CacheTimeOption.TenMinutes).Select(p => p.DataLogName).Distinct().ToList();
            //Dictionary<string, string> dic = new Dictionary<string, string>();
            //list.ForEach(p => dic.Add(p, p));
            Dictionary <string, string> dic = Monitor_DataLogsServer.GetDataLogNameDirt();

            HeadControl1.LogNameSource   = dic;
            HeadControl1.IsHasNoServerIp = true;
            ReportTitle   = "日志曲线图";
            AxisJsonStr   = "{}";
            SeriesJsonStr = "[]";
            allList       = new List <List <Monitor_DataLogs> >();
            if (HeadControl1.IsFirstLoad)
            {
                HeadControl1.LogName = "sjqd";
                if (HeadControl1.IsHasNoServerIp)
                {
                    HeadControl1.ServerIp = "0";
                }
            }
            BindData();
        }