public JsonResult GetTreeMemoryInfo() { string type = System.Web.HttpContext.Current.Request.Params["type"]; string busstype = System.Web.HttpContext.Current.Request.Params["busstype"]; TreeMemoryEntity treeMemoryEntity = proxy.GetTreeMemory(GetTreeMemoryType(type), string.IsNullOrEmpty(busstype) ? "all" : busstype); return(this.Json(treeMemoryEntity, JsonRequestBehavior.AllowGet)); }