public SignalTable(InformationResponse information) { if (information == null) throw new ArgumentNullException("information"); this.m_information = information; this.m_booleanSignalsByAddress = new NodeSignal[information.Booleans]; this.m_numericSignalsByAddress = new NodeSignal[information.Numerics]; this.BooleanAddressBits = bitsPerAddress(information.Booleans - 1); this.NumericAddressBits = bitsPerAddress(information.Numerics - 1); }
public SignalTable(InformationResponse information) { if (information == null) { throw new ArgumentNullException("information"); } this.m_information = information; this.m_booleanSignalsByAddress = new NodeSignal[information.Booleans]; this.m_numericSignalsByAddress = new NodeSignal[information.Numerics]; this.BooleanAddressBits = bitsPerAddress(information.Booleans - 1); this.NumericAddressBits = bitsPerAddress(information.Numerics - 1); }