Ejemplo n.º 1
0
Archivo: TQ.cs Proyecto: liddictm/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(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 ST(message,"Priority");
		data[6] = new ST(message,"Condition");
		data[7] = new TX(message,"Text (TX)");
		data[8] = new ST(message,"Conjunction");
		data[9] = new CM_OSD(message,"Order sequencing");
	}
Ejemplo n.º 2
0
 ///<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(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 ST(message, "Priority");
     data[6] = new ST(message, "Condition");
     data[7] = new TX(message, "Text (TX)");
     data[8] = new ST(message, "Conjunction");
     data[9] = new CM_OSD(message, "Order sequencing");
 }