コード例 #1
0
ファイル: TQ.cs プロジェクト: RickIsWright/nHapi
	///<summary>
	/// Creates a TQ.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public TQ(IMessage message, string description) : base(message, description){
		data = new IType[10];
		data[0] = new CQ_QUANTITY(message,"Quantity");
		data[1] = new CM_RI(message,"Interval");
		data[2] = new ST(message,"Duration");
		data[3] = new TS(message,"Start date/time");
		data[4] = new TS(message,"End date/time");
		data[5] = new ID(message, 0,"Priority");
		data[6] = new ST(message,"Condition");
		data[7] = new TX(message,"Text (TX)");
		data[8] = new ID(message, 0,"Conjunction");
		data[9] = new ST(message,"Order sequencing");
	}
コード例 #2
0
ファイル: TQ.cs プロジェクト: nHapiNET/nHapi
 ///<summary>
 /// Creates a TQ.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public TQ(IMessage message, string description) : base(message, description)
 {
     data    = new IType[10];
     data[0] = new CQ_QUANTITY(message, "Quantity");
     data[1] = new CM_RI(message, "Interval");
     data[2] = new ST(message, "Duration");
     data[3] = new TS(message, "Start date/time");
     data[4] = new TS(message, "End date/time");
     data[5] = new ID(message, 0, "Priority");
     data[6] = new ST(message, "Condition");
     data[7] = new TX(message, "Text (TX)");
     data[8] = new ID(message, 0, "Conjunction");
     data[9] = new ST(message, "Order sequencing");
 }