Exemplo n.º 1
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");
 }
Exemplo n.º 2
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");
 }
Exemplo n.º 3
0
Arquivo: CQ.cs Projeto: 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");
 }
Exemplo n.º 4
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");
 }