Beispiel #1
0
        private void SetPlayMessage(PlayMessageInfo playMessage)
        {
            _playMessage = playMessage;
            SetControlerState(false, true);
            ShareUtils.ShareInfo = _playMessage.ShareInfo;

            xChannelTitleTextBlock.Text = playMessage.Title;
            xPlayerControler.SetProgramButtonState(playMessage.HasPreProgram, playMessage.HasNextProgram);
            xPlayerControler.InitBitrates(playMessage.PlayInfos);
            if (playMessage.CurrentPlayInfo != null)
                xPlayerControler.InitCurrentFileType((PlayFileType)playMessage.CurrentPlayInfo.ft);
        }
Beispiel #2
0
 protected void InitInformation()
 {
     _beginTime = DateTime.Now;
     _dacPlayInfo = new DACPlayInfo();
     _playMessage = new PlayMessageInfo();
 }