public override Object Attend() { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); List <String> codecs = driver.GetAvailableVideoCodecs(); return(codecs.ToArray()); }
public override Object Attend() { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); driver.PauseCapture(); return(null); }
public override Object Attend() { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); driver.FrameRate = (float)this.frameRate; return(null); }
public override Object Attend() { if (this.camera != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); return(driver.ImageQuality); } else { throw new Exception("A problem has occurred while trying to get the driver image quality."); } }
public override Object Attend() { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); List <PropertyType> properties = driver.GetAvailableProperties(); List <String> strings = new List <string>(); foreach (PropertyType property in properties) { strings.Add(property.ToString()); } return(strings.ToArray()); }
public override Object Attend() { if (this.path != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); driver.CaptureVideo(this.path, this.video, this.codec, this.time); return(null); } else { throw new Exception("The path is not defined."); } }
public override Object Attend() { if (this.camera != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); driver.GetProperty(this.property).Auto = this.mode; return(null); } else { throw new Exception("The property does not exist."); } }
public override Object Attend() { if (this.camera != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); double min = driver.GetProperty(this.property).MinValue; double max = driver.GetProperty(this.property).MaxValue; return(new Double[] { min, max }); } else { throw new Exception("The property does not exist."); } }
public override Object Attend() { if (this.camera != null) { Console.WriteLine("Property value requested: " + this.property); TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); double value = driver.GetProperty(this.property).Value; return(value); } else { throw new Exception("The property does not exist."); } }
public override Object Attend() { if (this.camera != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); driver.GetProperty(this.property).Value = value; Console.WriteLine("Property " + this.property + " value modified: " + value); return(null); } else { throw new Exception("The property does not exist."); } }
public override Object Attend() { if (this.path != null) { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); if (this.quality < 0) { driver.MakeTimeLapse(frames, path, image, latency); } else { driver.MakeTimeLapse(frames, path, image, latency, quality); } return(null); } else { throw new Exception("The path is not defined."); } }
public override Object Attend() { TISCameraDriver driver = TISCameraManager.GetReference().getDriver(camera); return((Double)(double)driver.FrameRate); }