public class StationInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
sendDPsFlag |
Constructor and Description |
---|
StationInfo(java.lang.String stationName)
Creates an instance of type StationInfo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addStaticParam(StationStaticParam sParam)
Used to add a new static parameter to this station.
|
boolean |
addStaticParam(java.lang.String name,
java.lang.String data)
Used to add a new static parameter to this station.
|
StationDynamicParam |
getDynamicParam(java.lang.String paramName)
Use this method to get a handle on the requested dynamic parameters
object.
|
java.util.Enumeration |
getDynamicParamsEnum()
Use this method to get an enumeration of all the dynamic parameters for
this station.
|
java.lang.String |
getName()
Used to get the Name of the station.
|
StationStaticParam |
getStaticParam(java.lang.String paramName)
Use this method to get a handle to the given static parameter
|
java.util.Enumeration |
getStaticParamsEnum()
Use this method to get an enumeration of all the static parameters in this
station.
|
boolean |
updateDynamicParam(java.lang.String name,
java.lang.String data)
Used to create and update a given dynamic parameter.
|
public StationInfo(java.lang.String stationName)
stationName
- A string containing the name of the station.public boolean addStaticParam(java.lang.String name, java.lang.String data)
name
- A string containing the name of the parameter.data
- A string containing the data for the parameter.public boolean addStaticParam(StationStaticParam sParam)
sParam
- A StationStaticParam object.public StationStaticParam getStaticParam(java.lang.String paramName)
paramName
- The name of the desired static parameter.public java.util.Enumeration getStaticParamsEnum()
public java.lang.String getName()
public boolean updateDynamicParam(java.lang.String name, java.lang.String data)
name
- A string containing the name of the parameter.data
- A java object containing the parameters' data.public StationDynamicParam getDynamicParam(java.lang.String paramName)
paramName
- A string holding the name of the parameterpublic java.util.Enumeration getDynamicParamsEnum()