Ejemplo n.º 1
0
Archivo: CD.cs Proyecto: 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");
	}
Ejemplo n.º 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");
        }