Exemple #1
0
 public virtual void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_SUCCESS, success.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_RESPONSE_TIME, responseTime.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_ACCURACY, accuracy.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_IS_RED, isRed.ToString(), ref elem);
 }
Exemple #2
0
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_GUESS_TIMELIMIT, guessTimeLimit.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_RESPONSE_TIMELIMIT, responseTimeLimit.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_DURATION, duration.ToString(), ref elem);
 }
Exemple #3
0
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public virtual void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_DELAY, delay.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_POSX, positionX.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_POSY, positionY.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_IS_RED, isRed.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_IS_RANDOM, isRandom.ToString(), ref elem);
 }
Exemple #4
0
 public void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_Y_MAX, yMax.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_Y_MIN, yMin.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_X_MAX, xMax.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_X_MIN, xMin.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_SHUFFLE, shuffleTrials.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_GAMETYPE, gameType.ToString(), ref elem);
 }
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(AzzaranoData.ATTRIBUTE_DURATION, duration.ToString(), ref elem);
     XMLUtil.CreateAttribute(AzzaranoData.ATTRIBUTE_POSITION, position.ToString(), ref elem);
     XMLUtil.CreateAttribute(AzzaranoData.ATTRIBUTE_POSITIONX, positionX.ToString(), ref elem);
     XMLUtil.CreateAttribute(AzzaranoData.ATTRIBUTE_POSITIONY, positionY.ToString(), ref elem);
     XMLUtil.CreateAttribute(AzzaranoData.ATTRIBUTE_RED, red.ToString(), ref elem);
 }
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public virtual void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_DELAY, delay.ToString(), ref elem);
 }
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(TippingPointData.ATTRIBUTE_SIDE, duration.ToString(), ref elem);
 }
Exemple #8
0
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public virtual void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_POSITION, (x + " " + y).ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_IS_RED, isRed.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_DELAY, delay.ToString(), ref elem);
 }
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_KEYCORRECT, keyCorrect.ToString(), ref elem);         //Add attribute for key status
     XMLUtil.CreateAttribute(ATTRIBUTE_SIDE, ((TippingPointTrial)trial).side, ref elem);     //Add attribute for what side the square was on
 }
Exemple #10
0
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(HORIZONTAL_SCALE, horizontalScale.ToString(), ref elem);
     XMLUtil.CreateAttribute(MARKER_SPEED, markerSpeed.ToString(), ref elem);
 }
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public override void WriteOutputData(ref XElement elem)
 {
     base.WriteOutputData(ref elem);
     XMLUtil.CreateAttribute(ReactDataRed.ATTRIBUTE_DURATION, duration.ToString(), ref elem);
 }
Exemple #12
0
 /// <summary>
 /// Writes any tracked variables to the given XElement.
 /// </summary>
 public virtual void WriteOutputData(ref XElement elem)
 {
     XMLUtil.CreateAttribute(ATTRIBUTE_DELAY, delay.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_ISRED, isRed.ToString(), ref elem);
     XMLUtil.CreateAttribute(ATTRIBUTE_RANDOMPOSITION, isRandomPosition.ToString(), ref elem);
 }