using System; using System.Collections.Generic; using System.Linq; using System.Text; using CoreFS.SA06; namespace Core.LZMes.Client.UIM.tools { class UserInfoExt { public static string Get_UserOrder(CoreUserInfo userInfo) { string userOrder = string.Empty; if (userInfo != null) { switch (userInfo.GetUserOrder()) { case "0": userOrder = "常白"; break; case "1": userOrder = "早"; break; case "2": userOrder = "中"; break; case "3": userOrder = "晚"; break; } } return userOrder; } public static string Get_UserGroup(CoreUserInfo userInfo) { string userGroup = string.Empty; if (userInfo != null) { switch (userInfo.GetUserGroup()) { case "0": userGroup = "常白"; break; case "1": userGroup = "甲"; break; case "2": userGroup = "乙"; break; case "3": userGroup = "丙"; break; case "4": userGroup = "丁"; break; } } return userGroup; } } }