Ejemplo n.º 1
0
 public FitActivity(ActivityMesg msg)
 {
     Event          = msg.GetEvent();
     EventGroup     = msg.GetEventGroup();
     EventType      = msg.GetEventType();
     LocalTimestamp = msg.GetLocalTimestamp();
     NumSessions    = msg.GetNumSessions();
     Timestamp      = FitFile.GetDateTime(msg.GetTimestamp());
     TotalTimerTime = FitFile.GetTimeSpan(msg.GetTotalTimerTime());
     Type           = msg.GetType();
 }