| author | Matthieu Totet |
| Mon, 04 Jan 2010 10:29:39 +0100 | |
| changeset 27 | f292db96b050 |
| parent 18 | 66911d0f0eb6 |
| child 36 | b6df6fce6e5d |
| 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 |
{ |
|
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
14 |
public enum VideoChapterType |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
15 |
{ |
| 18 | 16 |
Modernisation = 0, |
17 |
Modernite=1, |
|
18 |
Postmodernite=2, |
|
19 |
Ouverture=3 |
|
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
20 |
} |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
21 |
|
| 0 | 22 |
/// <summary> |
23 |
/// Chapitre d'un VideoLivre |
|
24 |
/// </summary> |
|
25 |
public class VideoChapter |
|
26 |
{ |
|
27 |
/// <summary> |
|
28 |
/// VideoLivre |
|
29 |
/// </summary> |
|
30 |
public VideoBook Book {get;set;} |
|
31 |
||
32 |
/// <summary> |
|
|
10
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
33 |
/// Chapitre |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
34 |
/// </summary> |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
35 |
public VideoChapterType Type { get; set; } |
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
36 |
|
|
12515e11b357
Update PolemicElement View : Can Display Correct Color of VideoChapter
Matthieu Totet
parents:
0
diff
changeset
|
37 |
/// <summary> |
| 0 | 38 |
/// Titre du chapitre |
39 |
/// </summary> |
|
40 |
public String Title { get; set; } |
|
41 |
||
42 |
/// <summary> |
|
43 |
/// Liste des index contenu dans le chapitre |
|
44 |
/// </summary> |
|
45 |
public List<SegmentIndex> Index { get; set; } |
|
46 |
||
47 |
/// <summary> |
|
48 |
/// Liste des annotations contenu dans le chapitre |
|
49 |
/// </summary> |
|
50 |
public List<Annotation> Annotations { get; set; } |
|
51 |
||
52 |
/// <summary> |
|
53 |
/// Sequence Vidéo contenu dans le chapitre |
|
54 |
/// </summary> |
|
55 |
public List<VideoSequence> VideoSequences { get; set; } |
|
56 |
||
| 27 | 57 |
public Color Color { get; set; } |
58 |
public int IdChap { get; set; } |
|
59 |
||
| 0 | 60 |
/// <summary> |
61 |
/// Constructeur |
|
62 |
/// </summary> |
|
63 |
/// <param name="name">Nom du chaptire</param> |
|
| 27 | 64 |
public VideoChapter(VideoBook fromBook, int idChap, String name, Color color) |
| 0 | 65 |
{ |
66 |
Book = fromBook; |
|
| 27 | 67 |
Color = color; |
68 |
IdChap = idChap; |
|
| 0 | 69 |
Title = name; |
70 |
Index = new List<SegmentIndex>(); |
|
71 |
Annotations = new List<Annotation>(); |
|
72 |
VideoSequences = new List<VideoSequence>(); |
|
| 27 | 73 |
|
| 0 | 74 |
} |
75 |
|
|
76 |
|
|
77 |
||
78 |
||
79 |
||
80 |
} |
|
81 |
} |