public double CalculateWork()
 {
     return(Frame == null ? Duration : Frame.CalculateWork(this));
 }