private void doDownloadCmd()
        {
            PathSelectWin win = new PathSelectWin();

            if ((bool)win.ShowDialog())
            {
                Download(win.DownPath, true);
            }
        }
Beispiel #2
0
        private void doDownloadCmd()
        {
            PathSelectWin win = new PathSelectWin();

            if ((bool)win.ShowDialog())
            {
                lock (_videoLockObj)
                {
                    string path = win.DownPath;
                    if (_dictVideoVMS.Values.Count > 1)
                    {
                        path = System.IO.Path.Combine(path, $"Time_{PlaySlider.BeginTime:yyyyMMddHHmm}_{PlaySlider.EndTime:yyyyMMddHHmm}");
                    }
                    foreach (VideoControlViewModel vm in _dictVideoVMS.Values)
                    {
                        vm.Download(path);
                    }
                }
            }
        }