Example #1
0
File: CD.cs Project: liddictm/nHapi
	///<summary>
	/// Creates a CD.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CD(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new WVI(message,"Channel identifier");
		data[1] = new WVS(message,"Waveform source");
		data[2] = new CSU(message,"Channel sensitivity/units");
		data[3] = new CCP(message,"Channel calibration parameters");
		data[4] = new NM(message,"Channel sampling frequency");
		data[5] = new NR(message,"Minimum/maximum data values");
	}
Example #2
0
        /// <summary>   Creates a CD. </summary>
        ///
        /// <param name="message">      The Message to which this Type belongs. </param>
        /// <param name="description">  The description of this type. </param>

        public CD(IMessage message, string description) : base(message, description)
        {
            data    = new IType[6];
            data[0] = new WVI(message, "Channel identifier");
            data[1] = new WVS(message, "Waveform source");
            data[2] = new CSU(message, "Channel sensitivity/units");
            data[3] = new CCP(message, "Channel calibration parameters");
            data[4] = new NM(message, "Channel sampling frequency");
            data[5] = new NR(message, "Minimum/maximum data values");
        }