Esempio n. 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);
        }
Esempio n. 2
0
 protected void InitInformation()
 {
     _beginTime = DateTime.Now;
     _dacPlayInfo = new DACPlayInfo();
     _playMessage = new PlayMessageInfo();
 }