Example #1
0
        public void impl(string express, int wl1, int wl2)
        {
            //string express = "wl1 + wl";
            Formula f = new Formula(0,
                                    DateTime.Parse("2000-1-1"),
                                    DateTime.Parse("2000-12-31"),
                                    express);

            float flux = f.CalcInstantFlux(wl1, wl2);

            string s = string.Format("Express: {0}\r\n", express);

            s += string.Format("wl1: {0}, wl2: {1}\r\n", wl1, wl2);
            s += string.Format("flux: {0}\r\n", flux);

            //Console.WriteLine(express + ":" + flux);
            Console.Write(s);
        }