|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Observable de.stz.bt.framework.DataPoint de.stz.bt.fnd.datapoints.FND_DataPoint
Object Oriented representation of a FND-Datapoint. Represents a FND-DataPoint. Implemented as an abstraction layer making it easier to handle FND-Datapoints, compared to dealing with raw FND-Datagrams. Implements FND-DataPoint functionality found in all FND-Datapoints, regardless of datapoint type. When implementing new datapoint types, extend this class ! For each datapoint an instance of this class is created
Field Summary | |
(package private) byte |
apr
|
(package private) byte |
centralControl
|
(package private) byte |
centralSubControl
|
static byte |
COLLECTADDRESSPOINT
|
private DataPointContext |
context
|
static byte |
COUNTPOINT
|
(package private) byte[] |
dataPointID
|
(package private) boolean |
dp_busy
|
(package private) byte |
emq
|
(package private) byte |
islandControl
|
(package private) byte |
islandSubControl
|
static byte |
MEASUREPOINT
|
static byte |
MESSAGEPOINT
|
(package private) byte |
mis
|
(package private) byte |
msk
|
(package private) byte |
prd
|
(package private) byte |
rpr
|
static byte |
SETPOINT
|
static byte |
SWITCHPOINT
|
static byte |
TRANSFERPOINT
|
(package private) byte |
val
|
Fields inherited from class de.stz.bt.framework.DataPoint |
logger |
Fields inherited from class java.util.Observable |
|
Constructor Summary | |
FND_DataPoint()
Default constructor. |
Method Summary | |
abstract byte |
getDp_type()
|
abstract void |
handleACKDatagram(FND_Datagram dgram)
|
abstract FND_Datagram |
handleCMDDatagram(FND_Datagram dgram)
|
abstract void |
handleRSPDatagram(FND_Datagram dgram)
|
abstract FND_Datagram |
handleUSMDatagram(FND_Datagram dgram)
|
void |
lockDP()
|
java.lang.String |
printDatapointStatus()
|
void |
registerDatapointObserver(FND_DataPointObserver observer)
|
void |
setCentralControl(byte centralControlID,
byte centralControlSubID)
Connects the datapoint to its central control. |
void |
setDataPointID(byte[] dataPointId)
Supplies the datapoint with its specific data point id. |
void |
setIslandControl(byte islandControlID,
byte islandSubControlID)
Connects the datapoint to its island control. |
void |
setPrivilegeDegree(byte prd)
Set the privilage degree used by this data point. |
void |
setResidualPriority(byte rpr)
The residual priority used by the data point For more information about the privilage degree see the FND_Datagram documentation about the method setApplicationControl(). |
void |
unlockDP()
|
Methods inherited from class de.stz.bt.framework.DataPoint |
getCreationTime, getLastAccessTime, getLastChangeTime, setLastAccessTime, setLastChangeTime |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte TRANSFERPOINT
public static final byte MESSAGEPOINT
public static final byte SWITCHPOINT
public static final byte MEASUREPOINT
public static final byte SETPOINT
public static final byte COUNTPOINT
public static final byte COLLECTADDRESSPOINT
private DataPointContext context
byte[] dataPointID
byte centralControl
byte centralSubControl
byte islandControl
byte islandSubControl
byte prd
byte rpr
byte emq
byte val
byte apr
byte mis
byte msk
boolean dp_busy
Constructor Detail |
public FND_DataPoint()
Method Detail |
public java.lang.String printDatapointStatus()
public void setCentralControl(byte centralControlID, byte centralControlSubID)
centralControlID
- ID of the central control the datapoint is assigned to.centralControlSubID
- SubID of the central control the datapoint is assigned to.public void setIslandControl(byte islandControlID, byte islandSubControlID)
islandControlID
- ID of the island control the datapoint is assigned to.islandSubControlID
- SubID of the island control the datapoint is assigned to.public void setDataPointID(byte[] dataPointId)
dataPointId
- The data point ID to be assigned to the data point.public void setPrivilegeDegree(byte prd)
prd
- The privilage degree used by this data point.public void setResidualPriority(byte rpr)
rpr
- The residual priority used by the data point.public void lockDP()
public void unlockDP()
public void registerDatapointObserver(FND_DataPointObserver observer)
public abstract byte getDp_type()
public abstract FND_Datagram handleCMDDatagram(FND_Datagram dgram) throws java.lang.Exception
dgram
-
java.lang.Exception
public abstract void handleRSPDatagram(FND_Datagram dgram) throws java.lang.Exception
dgram
-
java.lang.Exception
public abstract FND_Datagram handleUSMDatagram(FND_Datagram dgram) throws java.lang.Exception
dgram
-
java.lang.Exception
public abstract void handleACKDatagram(FND_Datagram dgram) throws java.lang.Exception
dgram
-
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |