示例#1
0
        public ActionResult getDataflows()
        {
            if (!SessionQueryManager.SessionQueryExistsAndIsValid(HttpContext.ApplicationInstance.Context))
            {
                SessionQuery query = new SessionQuery();
                SessionQueryManager.SaveSessionQuery(HttpContext.ApplicationInstance.Context.Session, query);
            }

            EndPointStructure ep = ISTATSettings.CurrentEndPoint;

            if (NSIClientSettings.Instance.EndPointCenterEnable)
            {
                SetEndPoint(sessionObject.GetSessionQuery(), sessionObject.GetNSIClient(), ISTATSettings.CentralEndPoint);
            }

            var res = CS.ReturnForJQuery(JR.GetTree(sessionObject.GetSessionQuery(), sessionObject.GetNSIClient()));

            if (NSIClientSettings.Instance.EndPointCenterEnable)
            {
                SetEndPoint(sessionObject.GetSessionQuery(), sessionObject.GetNSIClient(), ep);
            }

            return(res);
        }
 public ActionResult Refresh()
 {
     down.Refresh(new DownloadSupport(), sessionObject.GetSessionQuery());
     return(null);
 }
示例#3
0
 public ActionResult getComponents()
 {
     return(CS.ReturnForJQuery(JR.GetComponents(sessionObject.GetSessionQuery())));
 }
示例#4
0
 public ActionResult ResetDisplayMode()
 {
     return(CS.ReturnForJQuery(JR.ResetDisplayMode(sessionObject.GetSessionQuery())));
 }