/// <summary> /// Creates an instance of the plugin /// </summary> /// <param name="config">configuration information</param> /// <param name="cameraControl">owning camera control</param> public WonwooWCC261(ICameraControlClient client, Transport.ITransport transport) : base(client, transport) { _stopTimer = new Timer((x) => { SendStopCommand(null); }, null, Timeout.Infinite, Timeout.Infinite); BuildIndexingArray(); }
/// <summary> /// Disposes this class, closing the serial port /// </summary> public virtual void Dispose() { if (_transport != null) { _transport.Close(); _transport.Dispose(); _transport = null; } }
/// <summary> /// Creates an instance of this plugin /// </summary> /// <param name="config">configuration information</param> /// <param name="cameraControl">owning camera control</param> public WonwooWCA261(ICameraControlClient client, Transport.ITransport transport) : base(client, transport) { }
/// <summary> /// Creates a new instance of the PelcoD control class /// </summary> /// <param name="cameraControl">parent camera control class that will own this plugin</param> public PelcoD(ICameraControlClient client, Transport.ITransport transport) { Debug.WriteLine("PelcoD constructor"); _client = client; _transport = transport; }