///<summary> /// Creates a MO. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public MO(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Quantity"); data[1] = new ID(message, 0, "Denomination"); }
///<summary> /// Creates a CQ. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public CQ(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Quantity"); data[1] = new CWE(message, "Units"); }
///<summary> /// Creates a WVI. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public WVI(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Channel Number"); data[1] = new ST(message, "Channel Name"); }
///<summary> /// Creates a NR. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public NR(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new NM(message, "Low Value"); data[1] = new NM(message, "High Value"); }
///<summary> /// Creates a DTN. /// <param name="message">The Message to which this Type belongs</param> /// <param name="description">The description of this type</param> ///</summary> public DTN(IMessage message, string description) : base(message, description) { data = new IType[2]; data[0] = new IS(message, 149, "Day Type"); data[1] = new NM(message, "Number of Days"); }