Beispiel #1
0
        public object GetValue(int tag)
        {
            FIXField field = this.GetField(tag);

            if (field != null)
            {
                return(field.GetValue());
            }
            else
            {
                return(null);
            }
        }
Beispiel #2
0
        public static void LoadFIXGroups(IDbConnection connection, FIXGroupList groups, string table)
        {
            IDbCommand command = connection.CreateCommand();

            command.CommandText = string.Format("command 12234", (object)table);
            IDataReader dataReader = command.ExecuteReader();

            while (dataReader.Read())
            {
                dataReader.GetInt32(0);
                dataReader.GetInt32(1);
                int    int32_1 = dataReader.GetInt32(2);
                int    int32_2 = dataReader.GetInt32(3);
                int    int32_3 = dataReader.GetInt32(4);
                string @string = dataReader.GetString(5);
                if (int32_3 != -1 && int32_3 != 55)
                {
                    FIXField field = FIXField.Field((FIXType)int32_2, int32_3, @string, true);
                    groups.GetById(int32_1).AddField(field);
                }
            }
            dataReader.Close();
            command.Dispose();
        }
Beispiel #3
0
 public void AddField(FIXField field)
 {
     lock (this.oncZo3Ix5)
         this.fields[field.Tag] = field;
 }
		public FIXFieldPropertyDescriptor(FIXField field, string category)
      : base(EFIXField.ToString((int)field.Tag), (Attribute[])null)
		{
			this.field = field;
			this.category = category;
		}
Beispiel #5
0
		public void AddField(FIXField field)
		{
			lock (this.oncZo3Ix5)
				this.fields[field.Tag] = field;
		}