using FietsClient.JSONObjecten; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FietsClient { public class CurrentData { private string userID; public bool isDoctor { set; get; } private List testResult; public CurrentData(string id) { this.userID = id; testResult = new List(); } public void setSessionList(List tests) { testResult = tests; } public List GetSessions() { return testResult; } public void setSession(Session s) { testResult.Add(s); } public void SetMeasurment(Measurement measurment) { testResult.Last().AddMeasurement(measurment); } } }