Esempio n. 1
0
	///<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");
	}
Esempio n. 2
0
File: CD.cs Progetto: nHapiNET/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");
 }