/// <summary> /// Associate the sensor and the network /// </summary> /// <param name="network">Instance of <see cref="OneWireNetwork"/></param> public virtual void Connect(OneWireNetwork network) { if (network == null) { throw new ArgumentNullException("network"); } this._network = network; }
/// <summary> /// Remove association between sensor and the network /// </summary> public virtual void Disconnect() { this._network = null; }