00001 using System;
00002 using CodePlex.MicrosoftProject.mpFx.AdminWebService;
00003
00004 namespace CodePlex.MicrosoftProject.mpFx
00005 {
00006 public class Status
00007 {
00008 public Status(ProjectServer parent)
00009 {
00010 if (parent == null)
00011 {
00012 throw new ArgumentNullException("parent");
00013 }
00014
00015 Parent = parent;
00016 }
00017
00018 public ProjectServer Parent { get; set; }
00019
00020 public TimesheetLineClassDataSet GetTimesheetClassifications(LineClassType type, LineClassState state)
00021 {
00022 return Parent.WebServices.Admin.ReadLineClasses(type, state);
00023 }
00024
00025 public void UpdateTimesheetClassifications(TimesheetLineClassDataSet classifications)
00026 {
00027 Parent.WebServices.Admin.UpdateLineClasses(classifications);
00028 }
00029 }
00030 }