///<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 CE(message,"Range units"); data[5] = new ID(message, 298,"Range type"); }
/// <summary> Creates a CP. </summary> /// /// <param name="message"> The Message to which this Type belongs. </param> /// <param name="description"> The description of this type. </param> 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 CE(message, "Range units"); data[5] = new ID(message, 298, "Range type"); }
/// <summary> Creates a MOC. </summary> /// /// <param name="message"> The Message to which this Type belongs. </param> /// <param name="description"> The description of this type. </param> public MOC(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new MO(message, "Dollar amount"); data[1] = new CE(message, "Charge code"); }
///<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,"Dollar amount"); data[1] = new CE(message,"Charge code"); }