示例#1
0
文件: CD.cs 项目: 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");
	}
示例#2
0
文件: CD.cs 项目: erdemsarigh/nhapi
        /// <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");
        }