管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2024-09-04 dbed0354a00fde9db87862b9f03db0fbf0d3aabc
DataLoader/CS/NtstWeb.cs
@@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using DataLoader.CS;
using System;
namespace DataLoader.CS
namespace DataLoader.Model
{
    public class NtstWeb
    {
@@ -21,13 +17,14 @@
        {
            if (uid > 0 && !string.IsNullOrEmpty(token))
            {
                Main.UserId = uid;
                Main.Uname = uname;
                Main.Token = token;
                CommonProp.UserId = uid;
                CommonProp.Uname = uname;
                CommonProp.Token = token;
                CommonProp.Depcode = DBHelper.SelectDepCodeByUid(uid);
                owner.Dispatcher.Invoke(new Action(delegate
                {
                    Main.Owner.SetLoginInfo();
                    CommonProp.Owner.SetLoginInfo();
                }));
            }
        }