Animatroller.Framework.Expander.IOExpander.Connect C# (CSharp) Method

Connect() public method

public Connect ( PhysicalDevice device ) : IOExpander
device PhysicalDevice
return IOExpander
        public IOExpander Connect(PhysicalDevice.INeedsDmxOutput device)
        {
            device.DmxOutputPort = this;

            return this;
        }

Usage Example

コード例 #1
0
 public void WireUp(Expander.IOExpander port)
 {
     port.Connect(new Physical.GenericDimmer(explosion1, 1));
     port.Connect(new Physical.GenericDimmer(explosion2, 2));
     port.Connect(new Physical.GenericDimmer(explosion3, 3));
     port.Connect(new Physical.GenericDimmer(explosion4, 4));
     port.Connect(new Physical.PixelRope(testPixels));
     port.DigitalInputs[0].Connect(testButton);
 }
All Usage Examples Of Animatroller.Framework.Expander.IOExpander::Connect