Classes for Task manager UI
Visit here for code and more information of Task manager UI
There are classes which is not defined above link. class definition are as below:
public class TaskViewModel
{
public string TimeLeft { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public double ProgressValue { get; set; }
public string Progress { get; set; }
public string Status { get; set; }
}
public class TrackActivityViewModel
{
public string Time { get; set; }
public string Comment { get; set; }
public ImageSource Img { get; set; }
}
public class TrackActivityModel
{
public List<TaskViewModel> GetTask()
{
List<TaskViewModel> list = new List<TaskViewModel>();
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Forget Password", ProgressValue = 0.5, Progress = "50%", Status = "In Progress", TimeLeft = "2 Days left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Dashboard New Design", ProgressValue = 0.8, Progress = "80%", Status = "In Progress", TimeLeft = "4 Days left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Mobile App Design", ProgressValue = 0.9, Progress = "90%", Status = "In Progress", TimeLeft = "1 week left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Mobile App Testing", ProgressValue = 0.4, Progress = "40%", Status = "In Progress", TimeLeft = "2 week left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Login Page Design", ProgressValue = 0.2, Progress = "20%", Status = "In Progress", TimeLeft = "1 week left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Budget Calculation", ProgressValue = 1.0, Progress = "100%", Status = "Completed", TimeLeft = "Done" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "New Bug on Budget", ProgressValue = 0.6, Progress = "60%", Status = "In Progress", TimeLeft = "1 week left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Add New Item Page", ProgressValue = 0.1, Progress = "10%", Status = "In Progress", TimeLeft = "1 week left" });
list.Add(new TaskViewModel { Description = "dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes.", Name = "Delete existing item", ProgressValue = 0.3, Progress = "30%", Status = "In Progress", TimeLeft = "1 week left" });
return list;
}
public List<TrackActivityViewModel> Get()
{
List<TrackActivityViewModel> list = new List<TrackActivityViewModel>();
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Email Setup done", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTmNdSL0wetARyMZVIRgtl2yPZyzXSJQx4EzA" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Login Module Pending", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRij6dtiHizH96qpCOe8WeXXP3yLyQJkPdGVg" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Login Module Completed", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8FuEJbKwDdaz1h387130xmYkAIQbZpahhbQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Register Page - Having Query", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSgiTaPDDZOp2cOxHgPLLRAQTeusZBraYz-tQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Register Page Completed", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTmNdSL0wetARyMZVIRgtl2yPZyzXSJQx4EzA" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Dashboard ongoing", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRij6dtiHizH96qpCOe8WeXXP3yLyQJkPdGVg" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Meeting of Report", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8FuEJbKwDdaz1h387130xmYkAIQbZpahhbQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Report Discussion", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSgiTaPDDZOp2cOxHgPLLRAQTeusZBraYz-tQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "RDLC Report Completed", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8FuEJbKwDdaz1h387130xmYkAIQbZpahhbQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Mobile App Design Completed", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSgiTaPDDZOp2cOxHgPLLRAQTeusZBraYz-tQ" });
list.Add(new TrackActivityViewModel { Time = "10-12-2012 11:00 am", Comment = "Mobile App Testing", Img = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTmNdSL0wetARyMZVIRgtl2yPZyzXSJQx4EzA" });
return list;
}
}
Comments
Post a Comment