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