Example #1
0
 ///<summary>
 /// Creates a MO.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public MO(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new NM(message, "Quantity");
     data[1] = new ID(message, 913, "Denomination");
 }
Example #2
0
 ///<summary>
 /// Creates a WVI.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public WVI(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new NM(message, "Channel Number");
     data[1] = new ST(message, "Channel Name");
 }
Example #3
0
File: NR.cs Project: nHapiNET/nHapi
 ///<summary>
 /// Creates a NR.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public NR(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new NM(message, "Low Value");
     data[1] = new NM(message, "High Value");
 }
Example #4
0
File: CQ.cs Project: nHapiNET/nHapi
 ///<summary>
 /// Creates a CQ.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CQ(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new NM(message, "Quantity");
     data[1] = new CWE(message, "Units");
 }
Example #5
0
 ///<summary>
 /// Creates a DTN.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DTN(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CWE(message, "Day Type");
     data[1] = new NM(message, "Number of Days");
 }