コード例 #1
0
        protected override void Init()
        {
            base.Init();

            try
            {
                ListOperationInfos      = new List <OperationInfo>();
                ListCtrolAgentInfos     = new List <CtrolAgent>();
                ListCtrolOrgInfos       = new List <CtrolOrg>();
                ListCtrolQAInfos        = new List <CtrolQA>();
                mListAllObjects         = new List <ObjectItem>();
                mRootItem               = new ObjectItem();
                mListSftpServers        = new List <VoiceCyber.UMP.Common31031.SftpServerInfo>();
                mService03Helper        = new Service03Helper();
                mListDownloadParams     = new List <VoiceCyber.UMP.Common31031.DownloadParamInfo>();
                mListRecordEncryptInfos = new List <VoiceCyber.UMP.Common31031.RecordEncryptInfo>();
                if (Session != null)
                {
                    WriteLog("AppLoad", string.Format("SessionInfo\r\n{0}", Session.LogInfo()));
                }
                //得到操作权限
                InitControledOperations("31", "3106");
                //得到所能管理的部门管理的座席
                InitControledAgentAndOrg("-1");
                InitLanguageInfos();
                LoadSftpServerList();
                SetService03Helper();
                LoadRecordEncryptInfos();
                LoadDownloadParamList();
            }
            catch (Exception ex)
            {
                ShowExceptionMessage(ex.Message);
            }
        }
コード例 #2
0
ファイル: UCPlayBox.xaml.cs プロジェクト: chenmj201601/UMP
        public UCPlayBox()
        {
            InitializeComponent();
            ListSftpServers          = S3106App.mListSftpServers;
            Service03Helper          = S3106App.mService03Helper;
            ListEncryptInfo          = S3106App.mListRecordEncryptInfos;
            ListDownloadParams       = S3106App.mListDownloadParams;
            VoicePlayer.PlayerEvent += VoicePlayer_PlayerEvent;
            Loaded   += UCPlayBox_Loaded;
            Unloaded += UCPlayBox_Unloaded;

            IsAutoPlay = false;
            CircleMode = 0;
        }
コード例 #3
0
ファイル: UCKeyWord.xaml.cs プロジェクト: chenmj201601/UMP
        public UCKeyWord()
        {
            InitializeComponent();
            ListSftpServers             = S3103App.mListSftpServers;
            Service03Helper             = S3103App.mService03Helper;
            ListEncryptInfo             = S3103App.mListRecordEncryptInfos;
            ListDownloadParams          = S3103App.mListDownloadParams;
            mListAllKeyWordItems        = new  List <RecordKeyWordItem>();
            mListObservableKeyWordItems = new ObservableCollection <RecordKeyWordItem>();

            this.Loaded             += UCPlayBox_Loaded;
            Unloaded                += UCPlayBox_Unloaded;
            VoicePlayer.PlayerEvent += VoicePlayer_PlayerEvent;

            IsAutoPlay = false;
            CircleMode = 0;

            ListBoxKeyWordLines.ItemsSource = mListObservableKeyWordItems;
        }