public MQAudioHelper(AudioModel audio)
        {
            this.AudioModel = audio;

            this.PlayStateInterface = new AudioPlayState();

            if (!AudioModel.TextState)
            {
                AudioModel.PlayingTime = DateTime.Now.AddMinutes(0);
                AudioModel.PlayEndTime = DateTime.Now.AddMinutes(5);
            }
        }
Пример #2
0
        public MQTextToAudioHelper(AudioModel audio)
        {
            this.AudioModel = audio;

            this.PlayStateInterface = new AudioPlayState();

            //注释于20181227
            //if (!AudioModel.TextState)
            //{
            //    AudioModel.PlayingTime = DateTime.Now.AddMinutes(1);
            //    AudioModel.PlayEndTime = DateTime.Now.AddMinutes(5);
            //}
        }
Пример #3
0
        public MQAudioHelper(AudioModel audio)
        {
            this.AudioModel = audio;

            this.PlayStateInterface = new AudioPlayState();

            //if (!AudioModel.TextState)
            //{
            //    // AudioModel.PlayingTime = DateTime.Now.AddMinutes(0);
            //    AudioModel.PlayingTime = DateTime.Now.AddSeconds(2);
            //    AudioModel.PlayEndTime = DateTime.Now.AddMinutes(5);
            //}
        }