using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EnVisage.Reports { public class Utils { public static List> Pers { get { List> result = new List>(); result.Add(new Tuple("Total", "0")); result.Add(new Tuple("Month", "1")); result.Add(new Tuple("Week", "2")); return result; } } public static List> SortColumn { get { List> result = new List>(); result.Add(new Tuple("First Name", "FirstName")); result.Add(new Tuple("Last Name", "LastName")); result.Add(new Tuple("Capacity", "AvailableHours")); result.Add(new Tuple("Project Allocation", "AllocatedHours")); result.Add(new Tuple("Non-project Time", "NonProjectTimeHours")); result.Add(new Tuple("Available Hours", "ResourceAvailability")); return result; } } public static List> SortColumnDirection { get { List> result = new List>(); result.Add(new Tuple("Ascending", Telerik.Reporting.SortDirection.Asc.GetHashCode().ToString())); result.Add(new Tuple("Descending", Telerik.Reporting.SortDirection.Desc.GetHashCode().ToString())); return result; } } } }