Esempio n. 1
0
        static void Main(string[] args)
        {
            var tv = new Television("127.0.0.1", 8080);

            var volume = AquosCommand.Volume(15, tv);

            volume.Execute();

            Console.Read();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var tv = new Television("127.0.0.1", 8080);

            var volume = AquosCommand.Volume(15, tv);

            volume.Execute();

            Console.Read();
        }
Esempio n. 3
0
 public static AquosCommand Power(PowerSetting setting, Television television = null)
 {
     return(new AquosCommand("POWR", Convert.ToString((int)setting), television));
 }
Esempio n. 4
0
 public static AquosCommand Volume(int value, Television television = null)
 {
     return(new AquosCommand("VOLM", Convert.ToString(value), television));
 }