fleet-contractor/Site/Chart.aspx.cs
2023-04-28 12:22:26 +08:00

45 lines
1.1 KiB
C#

using FI.FIC;
using IronIntel.Contractor;
using IronIntel.Contractor.Site;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class FIC : WorkspaceBasePage
{
protected string _sessionID;
protected string _userID;
protected string _userIID;
protected string _chartIID;
protected string _chartName;
protected void Page_Load(object sender, EventArgs e)
{
if (CheckLoginSession())
{
// nothing but just check
if (FICHostEnvironment.FICHost == null)
{
// init ironintel host
IronIntelHost.Init();
}
var session = GetCurrentLoginSession();
_sessionID = session.SessionID;
if (session.User != null)
{
_userID = session.User.ID;
_userIID = session.User.UID;
}
_chartIID = Request.QueryString["iid"];
_chartName = Request.QueryString["n"];
this.Title = PageTitle;
}
}
}