/// <summary> /// Insert new Experiment graph to DB /// </summary> /// <returns>ID assigned to graph</returns> public int InsertExperimentGraph(string graph_xml) { return(AccessLayer.InsertExperimentGraph(graph_xml)); }
/// <summary> /// Insert the actions the Participant performed to the DB /// </summary> public bool InsertIntoExperimentActions(int ExperimentID, int PersonID, string VertexID, string Color, DateTime EventTime) { return(AccessLayer.InsertIntoExperimentActions(ExperimentID, PersonID, VertexID, Color, EventTime)); }
/// <summary> /// Add a new particepant to the DB /// </summary> /// <returns>ID assigned to participant</returns> public int AddParticipant(Object turkID) { string id = turkID as string; return(AccessLayer.AddParticipant(id)); }
/// <summary> /// Checks if this experiment is defined to show a solution window for the experiment marked as "Current" /// </summary> /// <returns>Time before show solution</returns> public string GetUseSolutionGraph() { return(AccessLayer.GetUseSolutionGraph()); }
/// <summary> /// Get the Id of the experiment marked as "Current" /// </summary> /// <returns>Experiment ID</returns> public int GetCurrentExperimentID() { return(AccessLayer.GetCurrentExperimentID()); }
/// <summary> /// Get Solution Graph of the experiment marked as "Current" /// </summary> /// <returns>Current Solution Graph</returns> public byte[] GetSolutionGraph() { return(AccessLayer.GetSolutionGraph()); }
/// <summary> /// Get the XML Graph of the experiment marked as "Current" /// </summary> /// <returns>Current Experiment Graph</returns> public string GetExperimentGraph() { return(AccessLayer.GetExperimentGraph()); }
public bool PerformBulkCopy() { return(AccessLayer.PerformBulkCopy()); }
/// <summary> /// Inserts partial Experiment Results /// </summary> public bool SolutionAcceptancePartial(int ParticipantID, int ExperimentID, DateTime Date, bool AcceptedSolution) { return(AccessLayer.SolutionAcceptancePartial(ParticipantID, ExperimentID, Date, AcceptedSolution)); }
/// <summary> /// Update Experiment Results for the experiment marked as "Current" with the participant's response /// </summary> public bool SolvedProblemGraph(int ParticipantID, bool Solved, DateTime SolvedTime) { return(AccessLayer.SolvedProblemGraph(ParticipantID, Solved, SolvedTime)); }