public VmIVRMenuElementVoiceMessageRecorder(IVRMenuElementVoiceMessageRecorder model)
     : base(model)
 {
     Icon = "/OPSIVRSystem;component/Resources/voicerecorder.png";
     PostIntroduction = model.PostIntroduction;
     PostIntroductionAudio = model.PostIntroductionAudio;
 }
 public override IVRMenuElementBase GetModel()
 {
     var res = new IVRMenuElementVoiceMessageRecorder();
     InitModelCommonFields(res);
     res.PostIntroduction = PostIntroduction;
     res.PostIntroductionAudio = PostIntroductionAudio;
     return res;
 }
Example #3
0
 private IVRMenuElementBase GetIVRMenuFromConfig(IVRMenuBaseConfig menu)
 {
     IVRMenuElementBase result;
     if (menu is IVRMenuCallTransferConfig)
     {
         result = new IVRMenuElementCallTransfer((IVRMenuCallTransferConfig)menu);
     }
     else if (menu is IVRMenuInfoReaderConfig)
     {
         result = new IVRMenuElementInfoReader((IVRMenuInfoReaderConfig)menu);
     }
     else
     {
         result = new IVRMenuElementVoiceMessageRecorder((IVRMenuVoiceMessageRecorderConfig)menu);
     }
     return result;
 }
Example #4
0
 private IVRMenuElementVoiceMessageRecorder(IVRMenuElementVoiceMessageRecorder original)
     : base(original)
 {
     PostIntroduction      = original.PostIntroduction;
     PostIntroductionAudio = original.PostIntroduction;
 }
 private IVRMenuElementVoiceMessageRecorder(IVRMenuElementVoiceMessageRecorder original)
     : base(original)
 {
     PostIntroduction = original.PostIntroduction;
     PostIntroductionAudio = original.PostIntroduction;
 }