public static String GetDescription(AttendanceUnit unit)
 {
     switch (unit)
     {
         case AttendanceUnit.Hour:
             return "小时";
         case AttendanceUnit.Minute:
             return "分";
         case AttendanceUnit.WorkDay:
             return "工作日";
         default:
             return string.Empty;
     }
 }
        public static String GetDescription(AttendanceUnit unit)
        {
            switch (unit)
            {
            case AttendanceUnit.Hour:
                return("小时");

            case AttendanceUnit.Minute:
                return("分");

            case AttendanceUnit.WorkDay:
                return("工作日");

            default:
                return(string.Empty);
            }
        }