private void AvoidanceAttendanceData(List <DispDailyAttendanceData> displist) { var list = new List <DailyAttendanceData>(); foreach (var item in displist) { var record = new DailyAttendanceData(); record.ConvertToData(item); list.Add(record); } this.AttendanceDataBox.Add(list); }
public List <DispDailyAttendanceData> RefrectionBackNumberCell(List <DispDailyAttendanceData> list) { foreach (var item in list) { var sub = new DailyAttendanceData(); sub.ConvertToData(item); item.PlanMMSS_Start = sub.PlanMMSS_Start; item.PlanMMSS_END = sub.PlanMMSS_END; item.ResultMMSS_Start = sub.ResultMMSS_Start; item.ResultMMSS_END = sub.ResultMMSS_END; } return(list); }