EPLAN_PROD_Plugin/Sinvo.EplanHpD.Plugin.Service/PluginServices.cs

18 lines
468 B
C#
Raw Permalink Normal View History

using Sinvo.EplanHpD.Plugin.DynaClient;
using Sinvo.EplanHpD.Plugin.Service.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sinvo.EplanHpD.Plugin.Service
{
public class PluginServices
{
public static UserInfo user;
public static bool IsLogin => user != null && !string.IsNullOrEmpty(user.GUID) && DynaServerClient.GetClient().IsLoginExpired();
}
}