Пример #1
0
 /// <summary>
 /// 获取程序集名称
 /// </summary>
 /// <returns></returns>
 public static string GetAppName()
 {
     return(AppSetingHelper.GetValue("AppName"));
 }
Пример #2
0
 /// <summary>
 /// 设置系统名称
 /// </summary>
 /// <param name="systemName"></param>
 /// <returns></returns>
 public static bool SetSystemName(string systemName)
 {
     return(AppSetingHelper.SetValue("SystemName", systemName));
 }
Пример #3
0
 /// <summary>
 /// 设置系统ID
 /// </summary>
 /// <param name="systemId">系统ID</param>
 /// <returns></returns>
 public static bool SetSystemId(Guid systemId)
 {
     return(AppSetingHelper.SetValue("SystemId", systemId.ToString()));
 }
Пример #4
0
 /// <summary>
 /// 获取系统名称
 /// </summary>
 /// <returns></returns>
 public static string GetSystemName()
 {
     return(AppSetingHelper.GetValue("SystemName"));
 }
Пример #5
0
 /// <summary>
 /// 获取系统ID
 /// </summary>
 /// <returns></returns>
 public static Guid GetSystemId()
 {
     return(DxPublic.GetObjGUID(AppSetingHelper.GetValue("SystemId")));
 }