Révision 4e39035b GES_PAC/Model/Serie.cs
GES_PAC/Model/Serie.cs | ||
---|---|---|
82 | 82 |
if (isAnimalOut) |
83 | 83 |
sa.IsOut = true; |
84 | 84 |
} |
85 |
|
|
86 |
public int GetAnimalCount() |
|
87 |
{ |
|
88 |
return SeriesAnimales.Count(); |
|
89 |
} |
|
90 |
public int GetMeasureCount() |
|
91 |
{ |
|
92 |
return SeriesAnimales.Sum(sa => sa.GetMeasureCount()); |
|
93 |
} |
|
94 |
public int GetBehaviourCount() |
|
95 |
{ |
|
96 |
return SeriesAnimales.Sum(sa => sa.Comportements.Count()); |
|
97 |
} |
|
85 | 98 |
#endregion |
86 | 99 |
} |
87 | 100 |
} |
Formats disponibles : Unified diff