public class EAK extends ConfigurationObjectWrapper
Modifier and Type | Field and Description |
---|---|
private static de.bsvrz.dav.daf.main.config.AttributeGroup |
__AtgEAK |
private static WeakHashMap<String,EAK> |
__Cache |
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType |
__ConfigurationObjectType |
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType |
__ConfigurationObjectTypeOfDE |
private String |
_Bezeichnung |
private DEKanal |
_DEKanal |
private ArrayList<DEKanal> |
_DEList |
private int |
_OSI2Adresse |
private SteuerModul |
_SteuerModul |
private String |
_UmsetzungsModul |
__ATG_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, __TYP_ANSCHLUSSPUNKT, __TYP_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, _ConfigurationObject
Modifier | Constructor and Description |
---|---|
protected |
EAK(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
erzeugt das WrapperObject für das angegebene Object.
|
protected |
EAK(String pid)
erzeugt das WrapperObject für das Object mit der angegebenen Pid
|
Modifier and Type | Method and Description |
---|---|
DEKanal |
findDEKanal(int osiAddr) |
String |
getBezeichnung()
gibt die Bezeichnung zurück.
|
DEKanal[] |
getDEKanals()
gibt die DE-Kanäle zurück oder null, wenn keine angeschlossen
sind.
|
int |
getOSI2Adresse()
gibt die EAK-Port-Nummer auf dem Lokalbus zurück.
|
DEKanal |
getSteuerDEKanal()
gibt den DEKanal zur Steurung des EAK's zurück.
|
SteuerModul |
getSteuerModul()
gibt das SteuerModul zurück, an den der SteuerModul angeschlossen
ist, und dieses gesetzt wurde.
|
String |
getTreeString()
gibt einen String zum Anzeigen in einem Tree zurück.
|
(package private) de.bsvrz.dav.daf.main.config.ConfigurationObjectType |
getType()
Implementationen müssen den ConfigurationObjectType
zurückgeben, den die gewrappten ConfigurationObjecte haben.
|
String |
getUmsetzungsModul()
gibt das für die Umsetzung des Protokolls (Lesen und Schreiben)
verwendete Modul an diesem Knoten zurück.
|
protected void |
initData(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
Implemtationen sollen hier die konfigurierenden AttributGruppen und die
zugehörigen Mengen lesen.
|
void |
setDEKanal(DEKanal deKanal)
setzt den DEKanal zur Steurung des EAK's (nur, wenn der EAK nicht
virtuelle ist).
|
void |
setSteuerModul(SteuerModul steuerModul)
setzt das SteuerModul, an den der EAK angeschlossen ist.
|
getConfigurationObject, getKommunikationPartner, getKommunikationPartner, getName, getPID, getToolTipText, toString
private static WeakHashMap<String,EAK> __Cache
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectType
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectTypeOfDE
private static de.bsvrz.dav.daf.main.config.AttributeGroup __AtgEAK
private String _Bezeichnung
private int _OSI2Adresse
private String _UmsetzungsModul
private DEKanal _DEKanal
private SteuerModul _SteuerModul
protected EAK(String pid) throws DataModellMismatchException, DataModellObjectNotFoundException
pid
- StringDataModellMismatchException
- ungültiges DatenmodellDataModellObjectNotFoundException
- ungültiges DatenmodellConfigurationObjectWrapper.ConfigurationObjectWrapper(String pid)
protected EAK(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj) throws DataModellMismatchException
confObj
- zu wrappenes ConfigurationObject, das ein EAK
repräsentieren muss.DataModellMismatchException
- ungültiges DatenmodellConfigurationObjectWrapper.ConfigurationObjectWrapper(ConfigurationObject
confObj)
public void setSteuerModul(SteuerModul steuerModul)
steuerModul
- SteuerModul, an den der EAK angeschlossen ist.public SteuerModul getSteuerModul()
public String getBezeichnung()
public int getOSI2Adresse()
public String getUmsetzungsModul()
public DEKanal[] getDEKanals()
protected void initData(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj) throws DataModellMismatchException
ConfigurationObjectWrapper
initData
in class ConfigurationObjectWrapper
confObj
- ConfigurationObjectDataModellMismatchException
- ungültiges Datenmodellde.bsvrz.dav.daf.main.config.ConfigurationObjectType getType()
ConfigurationObjectWrapper
getType
in class ConfigurationObjectWrapper
public DEKanal getSteuerDEKanal()
public void setDEKanal(DEKanal deKanal)
deKanal
- DEKanal über den auf den EAK zugegriffen werden kann.public DEKanal findDEKanal(int osiAddr)
public String getTreeString()
ConfigurationObjectWrapper
getTreeString
in class ConfigurationObjectWrapper
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.