private LearningSession(string vid, string uid) { this.mSessionID = Guid.NewGuid().ToString(); this.mVideoID = vid; this.mUserID = uid; this.mStartTime = CustomTime.ConvertDateTimeToTimeStamp(DateTime.Now); }
public PeriodEvent(string sid, CustomTime startTS, CustomTime endTS, PeriodEventType type) { this.mSessionID = sid; this.mStartTS = startTS; this.mEndTS = endTS; this.mType = type; }
public MomentEvent(string sid, CustomTime happenTS, MomentEventType type) { this.mSessionID = sid; this.mHappenTS = happenTS; this.mType = type; }
public void closeSession() { this.mEndTime = CustomTime.ConvertDateTimeToTimeStamp(DateTime.Now); }
public void setStartTime(CustomTime startTS) { this.mStartTS = startTS; }
public void setFinishTime(CustomTime endTS) { this.mEndTS = endTS; }