public void SetOutput(IPixel2D2 device, Dictionary <int, Utility.PixelMap[]> pixelMapping) { if (this.device != null) { throw new ArgumentException("Can only control one device"); } this.device = device; this.pixelWidth = device.PixelWidth; this.pixelHeight = device.PixelHeight; UpdatePixelMapping(pixelMapping); this.sub.LockWhenRunning(device); }
public void SetOutput(IPixel2D2 device, Dictionary<int, Utility.PixelMap[]> pixelMapping) { if (this.device != null) throw new ArgumentException("Can only control one device"); this.device = device; this.pixelWidth = device.PixelWidth; this.pixelHeight = device.PixelHeight; UpdatePixelMapping(pixelMapping); this.sub.LockWhenRunning(device); }