| author | totetm <> |
| Fri, 12 Feb 2010 16:22:57 +0100 | |
| changeset 47 | 9b26023b8c83 |
| parent 38 | bd33267300aa |
| permissions | -rw-r--r-- |
| 0 | 1 |
using System; |
2 |
using System.Net; |
|
3 |
using System.Windows; |
|
4 |
using System.Windows.Controls; |
|
5 |
using System.Windows.Documents; |
|
6 |
using System.Windows.Ink; |
|
7 |
using System.Windows.Input; |
|
8 |
using System.Windows.Media; |
|
9 |
using System.Windows.Media.Animation; |
|
10 |
using System.Windows.Shapes; |
|
11 |
using System.Collections.Generic; |
|
12 |
namespace Iri.Modernisation.Data.Models |
|
13 |
{ |
|
| 36 | 14 |
|
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
15 |
|
| 0 | 16 |
/// <summary> |
17 |
/// Chapitre d'un VideoLivre |
|
18 |
/// </summary> |
|
19 |
public class VideoChapter |
|
20 |
{ |
|
21 |
/// <summary> |
|
22 |
/// VideoLivre |
|
23 |
/// </summary> |
|
24 |
public VideoBook Book {get;set;} |
|
25 |
||
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
26 |
|
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
27 |
/// <summary> |
| 0 | 28 |
/// Titre du chapitre |
29 |
/// </summary> |
|
30 |
public String Title { get; set; } |
|
31 |
||
32 |
/// <summary> |
|
33 |
/// Liste des index contenu dans le chapitre |
|
34 |
/// </summary> |
|
35 |
public List<SegmentIndex> Index { get; set; } |
|
36 |
||
37 |
/// <summary> |
|
38 |
/// Liste des annotations contenu dans le chapitre |
|
39 |
/// </summary> |
|
40 |
public List<Annotation> Annotations { get; set; } |
|
41 |
||
42 |
/// <summary> |
|
43 |
/// Sequence Vidéo contenu dans le chapitre |
|
44 |
/// </summary> |
|
45 |
public List<VideoSequence> VideoSequences { get; set; } |
|
46 |
||
| 27 | 47 |
public Color Color { get; set; } |
48 |
public int IdChap { get; set; } |
|
49 |
||
| 0 | 50 |
/// <summary> |
51 |
/// Constructeur |
|
52 |
/// </summary> |
|
53 |
/// <param name="name">Nom du chaptire</param> |
|
| 27 | 54 |
public VideoChapter(VideoBook fromBook, int idChap, String name, Color color) |
| 0 | 55 |
{ |
56 |
Book = fromBook; |
|
| 27 | 57 |
Color = color; |
58 |
IdChap = idChap; |
|
| 0 | 59 |
Title = name; |
60 |
Index = new List<SegmentIndex>(); |
|
61 |
Annotations = new List<Annotation>(); |
|
62 |
VideoSequences = new List<VideoSequence>(); |
|
| 27 | 63 |
|
| 0 | 64 |
} |
| 38 | 65 |
|
66 |
|
|
| 0 | 67 |
|
68 |
|
|
69 |
||
70 |
||
71 |
||
72 |
} |
|
73 |
} |