Пример #1
0
 public void SetProperties(List <object> props)
 {
     if (props.Count > 0)
     {
         Source = new NewTek.NDI.Source((string)props[0], (string)props[1]);//_finder.Sources.Where(x => x.Name == (string)props[0] && x.IpAddress == (string)props[1]).FirstOrDefault();
     }
 }
Пример #2
0
 public void SetProperties(List <object> props)
 {
     if (props != null && props.Count > 0)
     {
         Source = new NewTek.NDI.Source((string)props[0], (string)props[1]);//_finder.Sources.Where(x => x.Name == (string)props[0] && x.IpAddress == (string)props[1]).FirstOrDefault();
         //8in, 14in, legacy
         if (props.Count >= 3)
         {
             MultiViewLayout = (byte)props[2];
         }
         //wide, normal, anamorphic
         if (props.Count >= 4)
         {
             AspectRatio = (byte)props[3];
         }
     }
 }