client/src/Iri.Modernisation.Data/Ldt/Readers.cs
changeset 28 2d4ec5ab2a40
parent 10 12515e11b357
child 30 644e3cd48034
equal deleted inserted replaced
27:f292db96b050 28:2d4ec5ab2a40
    90                             Title = LDTE.Title,
    90                             Title = LDTE.Title,
    91                             Description = LDTE.Abstract,
    91                             Description = LDTE.Abstract,
    92                             Tags = LDTE.Tags,
    92                             Tags = LDTE.Tags,
    93                             TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
    93                             TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
    94                             Duration = new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur+5000)),
    94                             Duration = new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur+5000)),
    95                             Type = PolemicElementType.Polemic
    95                             Type = FactoryVideoLivre.AnnotationDescriptions[0]
    96                         });
    96                         });
    97                        // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur)));
    97                        // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)(LDTE.Dur)));
    98                     }
    98                     }
    99                       foreach (LDTElement LDTE in LDTAC.Content[1].Elements)
    99                       foreach (LDTElement LDTE in LDTAC.Content[1].Elements)
   100                       {
   100                       {
   103                               Title = LDTE.Title,
   103                               Title = LDTE.Title,
   104                               Description = LDTE.Abstract,
   104                               Description = LDTE.Abstract,
   105                               Tags = LDTE.Tags,
   105                               Tags = LDTE.Tags,
   106                               TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
   106                               TimerIn = new TimeSpan(0, 0, 0, 0, (int)LDTE.Begin),
   107                               Duration = new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur),
   107                               Duration = new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur),
   108                               Type = PolemicElementType.Reference
   108                               Type = FactoryVideoLivre.AnnotationDescriptions[1]
   109                           });
   109                           });
   110                          // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur));
   110                          // _videoBook.Duration = _videoBook.Duration.Add(new TimeSpan(0, 0, 0, 0, (int)LDTE.Dur));
   111                       }
   111                       }
   112 
   112 
   113                 }
   113                 }