管道基础大数据平台系统开发-【CS】-ExportMap
OK
13693261870
2024-09-27 566e0d21293a5fe6423fd7a16541bce00eeb2e38
DataLoader/CS/NtstWeb.cs
对比新文件
@@ -0,0 +1,32 @@
锘縰sing DataLoader.CS;
using System;
namespace DataLoader.Model
{
    public class NtstWeb
    {
        public static string ObjName = "ntst";
        public LoginWin owner;
        public NtstWeb()
        {
        }
        public void setLogin(int uid, string uname, string token)
        {
            if (uid > 0 && !string.IsNullOrEmpty(token))
            {
                CommonProp.UserId = uid;
                CommonProp.Uname = uname;
                CommonProp.Token = token;
                CommonProp.Depcode = DBHelper.SelectDepCodeByUid(uid);
                owner.Dispatcher.Invoke(new Action(delegate
                {
                    CommonProp.Owner.SetLoginInfo();
                }));
            }
        }
    }
}