client/src/Iri.Modernisation.Data/Models/VideoChapter.cs
author totetm <>
Wed, 10 Feb 2010 14:56:46 +0100
changeset 41 b51a10574e7f
parent 38 bd33267300aa
permissions -rw-r--r--
LeftClick on an element in BookTimeLine set time at begining of the element.

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
namespace Iri.Modernisation.Data.Models
{
 

    /// <summary>
    /// Chapitre d'un VideoLivre
    /// </summary>
    public class VideoChapter
    {
        /// <summary>
        /// VideoLivre
        /// </summary>
        public VideoBook Book {get;set;}


        /// <summary>
        /// Titre du chapitre
        /// </summary>
        public String Title { get; set; }

        /// <summary>
        /// Liste des index contenu dans le chapitre
        /// </summary>
        public List<SegmentIndex> Index { get; set; }

        /// <summary>
        /// Liste des annotations contenu dans le chapitre
        /// </summary>
        public List<Annotation> Annotations { get; set; }

        /// <summary>
        /// Sequence Vidéo contenu dans le chapitre
        /// </summary>
        public List<VideoSequence> VideoSequences { get; set; }

        public Color Color { get; set; }
        public int IdChap { get; set; }

        /// <summary>
        /// Constructeur
        /// </summary>
        /// <param name="name">Nom du chaptire</param>
        public VideoChapter(VideoBook fromBook, int idChap, String name, Color color)
        {
            Book = fromBook;
            Color = color;
            IdChap = idChap;
            Title = name;
            Index = new List<SegmentIndex>();
            Annotations = new List<Annotation>();
            VideoSequences = new List<VideoSequence>();

        }

      
       
        



    }
}