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[12];
		data[0] = new CQ(message,"Quantity");
		data[1] = new 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");
		data[8] = new ID(message, 472,"Conjunction");
		data[9] = new OSD(message,"Order Sequencing");
		data[10] = new CE(message,"Occurrence Duration");
		data[11] = new NM(message,"Total Occurrences");
	}
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[12];
     data[0]  = new CQ(message, "Quantity");
     data[1]  = new 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");
     data[8]  = new ID(message, 472, "Conjunction");
     data[9]  = new OSD(message, "Order Sequencing");
     data[10] = new CE(message, "Occurrence Duration");
     data[11] = new NM(message, "Total Occurrences");
 }