예제 #1
0
파일: CM_MOC.cs 프로젝트: snosrap/nhapi
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new MO(message,"Dollar amount");
     data[1] = new CE(message,"Charge code");
 }
예제 #2
0
파일: CP.cs 프로젝트: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CP(Message message, string description) : base(message, description)
 {
     data    = new Type[6];
     data[0] = new MO(message, "Price");
     data[1] = new ID(message, 0, "Price type");
     data[2] = new NM(message, "From value");
     data[3] = new NM(message, "To value");
     data[4] = new CE(message, "Range units");
     data[5] = new ID(message, 0, "Range type");
 }
예제 #3
0
파일: CP.cs 프로젝트: snosrap/nhapi
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CP(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new MO(message,"Price");
     data[1] = new ID(message, 0,"Price type");
     data[2] = new NM(message,"From value");
     data[3] = new NM(message,"To value");
     data[4] = new CE(message,"Range units");
     data[5] = new ID(message, 0,"Range type");
 }
예제 #4
0
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new MO(message, "Dollar amount");
     data[1] = new CE(message, "Charge code");
 }