예제 #1
0
파일: MOC.cs 프로젝트: snosrap/nhapi
 ///<summary>
 /// Creates a MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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
 ///<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, 205, "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, 298, "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, 205,"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, 298,"Range type");
 }
예제 #4
0
 ///<summary>
 /// Creates a MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public 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");
 }