de.stz.bt.fnd.datapoints.types
Class FND_MessagePointImpl

java.lang.Object
  extended byjava.util.Observable
      extended byde.stz.bt.framework.DataPoint
          extended byde.stz.bt.fnd.datapoints.FND_DataPoint
              extended byde.stz.bt.fnd.datapoints.types.FND_MessagePointImpl

public class FND_MessagePointImpl
extends FND_DataPoint

Implementation of a FND Messagepoint (Meldepunkt FND 1.0 Spec. Page 35)

Version:
$Id: FND_MessagePointImpl.html,v 1.2 2004/11/08 08:10:44 jseitter Exp $
Author:
J. Seitter

Field Summary
private  byte actual
           
private  byte attribute_id
           
private  boolean bta_error
           
private  boolean changed
           
private  byte dp_type
           
private  java.lang.String dp_type_name
           
private  boolean local
           
private  boolean sensor_error
           
 
Fields inherited from class de.stz.bt.fnd.datapoints.FND_DataPoint
COLLECTADDRESSPOINT, COUNTPOINT, MEASUREPOINT, MESSAGEPOINT, SETPOINT, SWITCHPOINT, TRANSFERPOINT
 
Fields inherited from class de.stz.bt.framework.DataPoint
logger
 
Fields inherited from class java.util.Observable
 
Constructor Summary
FND_MessagePointImpl(java.lang.String dp_id)
           
 
Method Summary
 byte getDp_type()
           
 void handleACKDatagram(FND_Datagram dgram)
           
 FND_Datagram handleCMDDatagram(FND_Datagram dgram)
           
 void handleRSPDatagram(FND_Datagram dgram)
           
 FND_Datagram handleUSMDatagram(FND_Datagram dgram)
           
private  void invalidOperation()
           
private  void operationA1()
          Operation H
private  void operationC1(FND_Datagram result)
          Operation A - request DP Status
private  void operationC2(FND_Datagram dgram)
          Operation B
private  void operationC3(FND_Datagram dgram)
          Operation C
private  void operationR1()
          Operation D
private  void operationR2()
          Operation E
private  void operationR3()
          Operation F
private  void operationU1(FND_Datagram dgram)
          Operation G - Update Datapoint based on USM
 FND_Datagram setDPStatus(FND_Datagram dgram)
           
 
Methods inherited from class de.stz.bt.fnd.datapoints.FND_DataPoint
lockDP, printDatapointStatus, registerDatapointObserver, setCentralControl, setDataPointID, setIslandControl, setPrivilegeDegree, setResidualPriority, 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

dp_type

private byte dp_type

dp_type_name

private final java.lang.String dp_type_name
See Also:
Constant Field Values

attribute_id

private byte attribute_id

actual

private byte actual

local

private boolean local

changed

private boolean changed

bta_error

private boolean bta_error

sensor_error

private boolean sensor_error
Constructor Detail

FND_MessagePointImpl

public FND_MessagePointImpl(java.lang.String dp_id)
Method Detail

getDp_type

public byte getDp_type()
Specified by:
getDp_type in class FND_DataPoint
Returns:
dp_type returns the dp_type Value
See Also:
FND_Datapoint

setDPStatus

public FND_Datagram setDPStatus(FND_Datagram dgram)
                         throws java.lang.Exception
Throws:
java.lang.Exception

operationC1

private void operationC1(FND_Datagram result)
Operation A - request DP Status

Parameters:
result -

operationC2

private void operationC2(FND_Datagram dgram)
Operation B

Parameters:
dgram -

operationC3

private void operationC3(FND_Datagram dgram)
Operation C

Parameters:
dgram -

operationR1

private void operationR1()
Operation D


operationR2

private void operationR2()
Operation E


operationR3

private void operationR3()
Operation F


operationU1

private void operationU1(FND_Datagram dgram)
Operation G - Update Datapoint based on USM

Parameters:
dgram -

operationA1

private void operationA1()
Operation H


invalidOperation

private void invalidOperation()
                       throws java.lang.Exception
Throws:
java.lang.Exception

handleCMDDatagram

public FND_Datagram handleCMDDatagram(FND_Datagram dgram)
                               throws java.lang.Exception
Specified by:
handleCMDDatagram in class FND_DataPoint
Parameters:
dgram -
Returns:
the result datagram
Throws:
java.lang.Exception

handleRSPDatagram

public void handleRSPDatagram(FND_Datagram dgram)
                       throws java.lang.Exception
Specified by:
handleRSPDatagram in class FND_DataPoint
Parameters:
dgram -
Throws:
java.lang.Exception

handleUSMDatagram

public FND_Datagram handleUSMDatagram(FND_Datagram dgram)
                               throws java.lang.Exception
Specified by:
handleUSMDatagram in class FND_DataPoint
Parameters:
dgram -
Returns:
the result datagram
Throws:
java.lang.Exception

handleACKDatagram

public void handleACKDatagram(FND_Datagram dgram)
                       throws java.lang.Exception
Specified by:
handleACKDatagram in class FND_DataPoint
Parameters:
dgram -
Throws:
java.lang.Exception