SCCT.JavaSubscriber
Class SCCT_DigitalDataPackage

java.lang.Object
  extended by SCCT.JavaSubscriber.SCCT_AbstractPackage
      extended by SCCT.JavaSubscriber.SCCT_AbstractDataPackage
          extended by SCCT.JavaSubscriber.SCCT_DigitalDataPackage

public class SCCT_DigitalDataPackage
extends SCCT_AbstractDataPackage

This class represents a digital data package. It contains an array of boolean which represent the lines status. The lines are ordered in the same way in which are ordered in the SCCT_ConfigurationPackage.


Method Summary
 boolean[] getData()
          Gets the data of all digital lines in an array of boolean values.
 int getNumberOfLines()
          Gets the total number of lines.
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractDataPackage
getSourceDescription, getSourceId
 
Methods inherited from class SCCT.JavaSubscriber.SCCT_AbstractPackage
getCalendar, getPackageNumber
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getData

public boolean[] getData()
Gets the data of all digital lines in an array of boolean values.
Every value of array represents a digital line.
The lines are ordered in the same way in which are ordered in the SCCT_ConfigurationPackage.

Returns:
A array of boolean values that contains the data of all digital lines.
See Also:
getNumberOfLines(), SCCT_ConfigurationPackage, SCCT_LineConfiguration

getNumberOfLines

public int getNumberOfLines()
Gets the total number of lines.

Returns:
The number of lines.
See Also:
SCCT_LineConfiguration