Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Write your client number:");
            int         number = int.Parse(Console.ReadLine());
            TeslaClient client = new TeslaClient("127.0.0.1", 8844, number);

            client.Run();
        }
Ejemplo n.º 2
0
 public CommandManager(TeslaClient teslaClient)
 {
     _teslaClient            = teslaClient;
     _groupCommandsHandler   = new GroupCommandsHandler(_teslaClient);
     _picturesCommandHandler = new PicturesCommandHandler(_teslaClient);
 }
Ejemplo n.º 3
0
 public PicturesCommandHandler(TeslaClient teslaClient)
 {
     _teslaClient = teslaClient;
 }
 public GroupCommandsHandler(TeslaClient teslaClient)
 {
     _teslaClient = teslaClient;
 }