GetBaseRomTable() public méthode

public GetBaseRomTable ( string tablename, TableMetaData &basetable ) : bool
tablename string
basetable TableMetaData
Résultat bool
Exemple #1
0
        /// <summary>
        /// Handles creation of different table types
        /// Passes XElement to the proper table
        /// </summary>
        /// <param name="xel"></param>
        /// <returns></returns>
        public static TableMetaData CreateTable(XElement xel, string tablename, ECUMetaData def)
        {
            TableMetaData basetable = null;

            if (def.GetBaseRomTable(tablename, out basetable))
            {
                //has a base table!! therefore not a base!
            }
            if (xel.Attribute("address") == null)
            {
                basetable = null;//sure???
            }
            return(CreateTableWithDimension(xel, def, basetable));
        }
Exemple #2
0
        /// <summary>
        /// Handles creation of different table types
        /// Passes XElement to the proper table
        /// </summary>
        /// <param name="xel"></param>
        /// <returns></returns>
        public static TableMetaData CreateTable(XElement xel,string tablename, ECUMetaData def)
        {
            TableMetaData basetable = null;
            if (def.GetBaseRomTable(tablename, out basetable))
            {
                //has a base table!! therefore not a base!

            }
            if (xel.Attribute("address") == null)
                basetable = null;//sure???

            return CreateTableWithDimension(xel, def, basetable);
        }