///<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, 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"); }
///<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, 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"); }
///<summary> /// Creates a CM_MOC. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_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 CM_MOC. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CM_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"); }