Esempio n. 1
0
        public RemoteControl()
        {
            onCommands = new Command[7];
            offCommands = new Command[7];

            Command noCommand = new NoCommand();

            for (int i = 0; i < 7; i++)
            {
                onCommands[i] = noCommand;
                offCommands[i] = noCommand;
            }
        }
Esempio n. 2
0
        public RemoteControl()
        {
            onCommands  = new Command[7];
            offCommands = new Command[7];

            Command noCommand = new NoCommand();

            for (int i = 0; i < 7; i++)
            {
                onCommands[i]  = noCommand;
                offCommands[i] = noCommand;
            }
        }