示例#1
0
 /// <summary> Creates a XAD.</summary>
 /// <param name="message">the Message to which this Type belongs
 /// </param>
 public XAD(Message message) : base(message)
 {
     data     = new Type[14];
     data[0]  = new SAD(message);
     data[1]  = new ST(message);
     data[2]  = new ST(message);
     data[3]  = new ST(message);
     data[4]  = new ST(message);
     data[5]  = new ID(message, 399);
     data[6]  = new ID(message, 190);
     data[7]  = new ST(message);
     data[8]  = new IS(message, 289);
     data[9]  = new IS(message, 288);
     data[10] = new ID(message, 465);
     data[11] = new DR(message);
     data[12] = new TS(message);
     data[13] = new TS(message);
 }
示例#2
0
		/// <summary> Creates a XAD.</summary>
		/// <param name="message">the Message to which this Type belongs
		/// </param>
		public XAD(Message message):base(message)
		{
			data = new Type[14];
			data[0] = new SAD(message);
			data[1] = new ST(message);
			data[2] = new ST(message);
			data[3] = new ST(message);
			data[4] = new ST(message);
			data[5] = new ID(message, 399);
			data[6] = new ID(message, 190);
			data[7] = new ST(message);
			data[8] = new IS(message, 289);
			data[9] = new IS(message, 288);
			data[10] = new ID(message, 465);
			data[11] = new DR(message);
			data[12] = new TS(message);
			data[13] = new TS(message);
		}