/// <summary> /// This function is for the percentage at the top of the Overview bar. First, it updates the date range, datacenter, network, /// and farm of the Reliability model object then calculates the Overview Bar percentage for all pipelines. /// </summary> /// <returns>JSON Object with all pipeline names and their percentage reliability</returns> public string getOverviewHeader() { rel.ChangeDate(Convert.ToDateTime(Request.QueryString["start"]), Convert.ToDateTime(Request.QueryString["end"])); rel.ChangeDataCenter(Request.QueryString["datacen"]); rel.ChangeNetworkID(Convert.ToInt32(Request.QueryString["network"])); rel.ChangeFarmID(Convert.ToInt32(Request.QueryString["farm"])); return(JsonConvert.SerializeObject(rel.CalculateOverviewBar("Overview"))); }