Beispiel #1
0
        static void Main(string[] args)
        {
            //TestCountStepInSection();
            //TestMessage();
            //DBService dbServ = new DBService();
            //dbServ.SaveDbFlats();
            //AnalizSectionsSteps();
            //BankSectionsStatistics();
            //BankSectionsStatisticsShortType();
            //StatisticsSectionsByFlatsCount();
            //StatisticCoefficientK1K2();
            //GenerateImagesBankSection();
            TestPreviewScheme();
            Console.ReadKey();
            return;

            TextWriterTraceListener writer = new TextWriterTraceListener(Console.Out);

            Debug.Listeners.Add(writer);

            TestProjectScheme Test = new TestProjectScheme();

            Test.TestTotalHouses();

            Console.WriteLine("Press any key...");
            Console.ReadKey();
        }
Beispiel #2
0
        /// <summary>
        /// Тест - предпросмотр схемы инсоляции
        /// </summary>
        private static void TestPreviewScheme()
        {
            var opt = TestProjectScheme.GetSpotInformation();

            opt.PathInsolation = @"c:\temp\Жуки_Картинка\Test.xlsx";
            var projectShema = new ProjectScheme(opt);

            projectShema.ReadScheme();
            Image imPreview = projectShema.GetPreview();

            imPreview.Save(@"c:\temp\Жуки_Картинка\Test.png");
            ProjectScheme.ShowPreview(imPreview);
        }