Exemplo n.º 1
0
        public ILiveMovie(CrestronControlSystem system)
        {
            this.controlSystem = system;

            this.comLight = new ILiveComPort(this.controlSystem.ComPorts[1]);
            this.comLight.Register();

            this.comProjector = new ILiveComPort(this.controlSystem.ComPorts[2]);
            this.comProjector.Register();

            this.relayPower = this.controlSystem.RelayPorts[1];
            this.relayGolf  = this.controlSystem.RelayPorts[2];
            this.irTV       = this.controlSystem.IROutputPorts[1];
            this.irAV       = this.controlSystem.IROutputPorts[2];
            this.irBlueray  = this.controlSystem.IROutputPorts[3];

            this.irTV.LoadIRDriver("");

            isin6     = new ILiveIsinRelay(comLight);
            this.tpc5 = new ILiveTPC5(comLight);
            //    port = new UDPClient("192.168.188.22", 6004, 8004);
            //    port.NetDataReceived += new NetDataReceivedEventHandler(port_NetDataReceived);
            //   port.Connect();
            //   bigvivitek = new ILiveVivitek(port);
        }
Exemplo n.º 2
0
 public ILiveLight(CrestronControlSystem system)
 {
     port = new UDPClient("192.168.188.21", 6004, 8004);
     port.NetDataReceived += new NetDataReceivedEventHandler(port_NetDataReceived);
     port.Connect();
     isin6 = new ILiveIsinRelay(3, port);
 }