예제 #1
0
        static void Main(string[] args)
        {
            //ClimateMonitor monitor = new ClimateMonitor(new FileLogger("MyLog.txt"));
            ClimateMonitor monitor = new ClimateMonitor(new ConsoleLogger());

            monitor.start();
        }
예제 #2
0
        static void Main(string[] args)
        {
            ClimateMonitor monitor = new ClimateMonitor(
                new ConsoleLogger()
                );

            monitor.start();
        }