Пример #1
0
 ///<summary>
 /// Creates a DDI.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DDI(IMessage message, string description) : base(message, description)
 {
     data    = new IType[3];
     data[0] = new NM(message, "Delay Days");
     data[1] = new MO(message, "Monetary Amount");
     data[2] = new NM(message, "Number of Days");
 }
Пример #2
0
 ///<summary>
 /// Creates a UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public UVC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[4];
     data[0] = new CWE(message, "Value Code");
     data[1] = new MO(message, "Value Amount");
     data[2] = new NM(message, "Non-Monetary Value Amount / Quantity");
     data[3] = new CWE(message, "Non-Monetary Value Amount / Units");
 }
Пример #3
0
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[6];
     data[0] = new MO(message, "Price");
     data[1] = new ID(message, 205, "Price Type");
     data[2] = new NM(message, "From Value");
     data[3] = new NM(message, "To Value");
     data[4] = new CWE(message, "Range Units");
     data[5] = new ID(message, 298, "Range Type");
 }
Пример #4
0
 ///<summary>
 /// Creates a MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public MOC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new MO(message, "Monetary Amount");
     data[1] = new CWE(message, "Charge Code");
 }