|
|
@@ -0,0 +1,37 @@
|
|
|
+using FietsClient.JSONObjecten;
|
|
|
+using System;
|
|
|
+using System.Collections.Generic;
|
|
|
+using System.Linq;
|
|
|
+using System.Text;
|
|
|
+using System.Threading.Tasks;
|
|
|
+
|
|
|
+namespace FietsClient
|
|
|
+{
|
|
|
+ class CurrentData
|
|
|
+ {
|
|
|
+ private string userID;
|
|
|
+ private List<Session> testResult;
|
|
|
+
|
|
|
+
|
|
|
+ public CurrentData(string id)
|
|
|
+ {
|
|
|
+ this.userID = id;
|
|
|
+ testResult = new List<Session>();
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSessionList(List<Session> tests)
|
|
|
+ {
|
|
|
+ testResult = tests;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<Session> GetSessions()
|
|
|
+ {
|
|
|
+ return testResult;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSession(Session s)
|
|
|
+ {
|
|
|
+ testResult.Add(s);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|