private void readModel(string url, ExcelStateObj table)
        {
            if (string.IsNullOrEmpty(url))
            {
                return;
            }
            table.ModelName = System.IO.Path.GetFileNameWithoutExtension(url);
            FileInfo fi      = new FileInfo(url);
            string   content = ExcelFunction.LoadFileStr(url);

            switch (fi.Extension)
            {
            case ".xml":
            case ".XML":
            case ".Xml":
                readModelXmlFile(content, table);
                break;

            case ".json":
            case ".JSON":
            case ".Json":
                readModelJsonFile(content, table);
                break;
            }
        }