Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## cnrg.itx.datax
Class ChannelProperty

    java.lang.Object
      |
      +--cnrg.itx.datax.ChannelProperty

public class ChannelProperty
extends java.lang.Object

Class to implement a channel property. This contains some information about the channel and the devices that are attached to it.

Constructor Summary
`ChannelProperty(int channelType)` Constructor for the channel property object.

Method Summary
`void` | `addProperty(Property deviceProperty)` Method to add a device property to the channel property.
`int` | `getChannelType()` Method to return the type of the channel
`int` | `getNumOutputDevices()` Method to get the number of output devices attached to this channel.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ChannelProperty

    public ChannelProperty(int channelType)

  Constructor for the channel property object.
  Parameters:
    `channelType` - the type of the channel(INPUT/OUTPUT)

Method Detail

### addProperty

    public void addProperty(Property deviceProperty)

  Method to add a device property to the channel property.
  Parameters:
    `deviceProperty` - the device property to add

### getNumOutputDevices

    public int getNumOutputDevices()

  Method to get the number of output devices attached to this channel.
  Returns:
    int the number of output devices attached to this channel

### getChannelType

    public int getChannelType()

  Method to return the type of the channel
  Returns:
    int the type of the channel

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD