Exemple #1
0
        static void Main(string[] args)
        {
            Radiator radiator = new Radiator();
            radiator.On = true;
            radiator.Off = false;
            radiator.Power = 5;
            radiator.RoomTemp = 22;
            radiator.PrintData();

            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Radiator radiator = new Radiator();

            radiator.On       = true;
            radiator.Off      = false;
            radiator.Power    = 5;
            radiator.RoomTemp = 22;
            radiator.PrintData();

            Console.ReadLine();
        }