public WebMiniEPG(Channel ch) { if (ch == null) { return; } this.idChannel = ch.IdChannel; this.name = ch.DisplayName; this.isWebStream = ch.IsWebstream(); epgNow = new WebShortProgram(ch.CurrentProgram); epgNext = new WebShortProgram(ch.NextProgram); }
public WebMiniEPG(Channel ch) { if (ch == null) return; this.idChannel = ch.IdChannel; this.name = ch.DisplayName; this.isWebStream = ch.IsWebstream(); epgNow = new WebShortProgram(ch.CurrentProgram); epgNext=new WebShortProgram(ch.NextProgram); }