[longomatch] Associate timers with teams



commit d0ac17e68c72ce18926d9b9221c8a8474dedd517
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Fri Sep 19 20:11:37 2014 +0200

    Associate timers with teams

 LongoMatch.Core/Store/Timer.cs |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Core/Store/Timer.cs b/LongoMatch.Core/Store/Timer.cs
index bcd6653..c7ca9d3 100644
--- a/LongoMatch.Core/Store/Timer.cs
+++ b/LongoMatch.Core/Store/Timer.cs
@@ -20,6 +20,7 @@ using System.Linq;
 using LongoMatch.Core.Store;
 using System.Collections.Generic;
 using Newtonsoft.Json;
+using LongoMatch.Core.Common;
 
 namespace LongoMatch.Core.Store
 {
@@ -29,6 +30,7 @@ namespace LongoMatch.Core.Store
                public Timer ()
                {
                        Nodes = new List<TimeNode>();
+                       Team = Team.NONE;
                }
 
                public string Name {
@@ -40,6 +42,11 @@ namespace LongoMatch.Core.Store
                        get;
                        set;
                }
+
+               public Team Team {
+                       get;
+                       set;
+               }
                
                [JsonIgnore]
                public Time TotalTime {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]