Example #1
0
        static void Main(string[] args)
        {
            PreproccessFolder();

            var allTableList = ReadAllTables();

            SqlScript.GenerateSqlScript("CreateDeviceSql", allTableList);
            ImportTemplate.GenerateTemplate(allTableList);

            Backend_Devices.GenerateCode(allTableList);
            Frontend_Devices.GenerateCode(allTableList);

            Backend_Retrieval.GenerateCode(allTableList);
            Frontend_Retrieval.GenerateCode(allTableList);

            Backend_Anchors.GenerateCode(allTableList);
            Frontend_Anchors.GenerateCode(allTableList);

            Backend_Statistic.GenerateCode(allTableList);
            Frontend_Statistic.GenerateCode(allTableList);

            Frontend_Api_Url.GenerateCode(allTableList);
        }