示例#1
0
 private void IconMouseDown(object sender, MouseButtonEventArgs e)
 {
     if (AddressList.Length != 2)
     {
         return;
     }
     if (IntCamera == null)
     {
         IntCamera = new IntellectCamera(AddressList[0], 900, AddressList[1]);
     }
     IntCamera.Connect();
     IntCamera.Play();
     OutputModes = new List <string> {
         "Живое видео", "Просмотр архива"
     };
     CurrentOutputMode = "Живое видео";
     FramePopup.IsOpen = true;
 }
示例#2
0
 private void PlayArchiveFile(object sender, RoutedEventArgs e)
 {
     IntCamera.Play(CurrentArchDay, CurrentArchTime, 1);
 }