예제 #1
0
파일: WVI.cs 프로젝트: nHapiNET/nHapi
 ///<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");
 }
예제 #2
0
 ///<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");
 }
예제 #3
0
파일: CQ.cs 프로젝트: vyfster/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");
 }
예제 #4
0
파일: DTN.cs 프로젝트: nHapiNET/nHapi
 ///<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");
 }
예제 #5
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");
 }