public class SteuerModul extends ConfigurationObjectWrapper
Modifier and Type | Field and Description |
---|---|
private static de.bsvrz.dav.daf.main.config.AttributeGroup |
__AtgGeraet |
private static WeakHashMap<String,SteuerModul> |
__Cache |
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType |
__ConfigurationObjectType |
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType |
__ConfigurationObjectTypeOfEAK |
private String |
bezeichnung |
private DEKanal |
deKanal |
private ArrayList<EAK> |
eakList |
private int |
knotenNummer |
private KriBus |
kriBus |
private String |
umsetzungsModul |
__ATG_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, __TYP_ANSCHLUSSPUNKT, __TYP_ANSCHLUSSPUNKT_KOMMUNIKATIONSPARTNER, _ConfigurationObject
Modifier | Constructor and Description |
---|---|
protected |
SteuerModul(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj)
erzeugt das WrapperObject für das angegebene Object.
|
protected |
SteuerModul(String pid)
erzeugt das WrapperObject für das Object mit der angegebenen Pid
|
Modifier and Type | Method and Description |
---|---|
static SteuerModul[] |
getAll()
gibt ein Array aller Objekte zurück, die vom Typ typ.steuerModul sind.
|
String |
getBezeichnung()
gibt die Bezeichnung des EAK zurück.
|
KriBus |
getBus()
gibt den Bus zurück, über den das SteuerModul am Kri
angeschlossen ist.
|
EAK[] |
getEAKs()
gibt die EAK's zurück oder null, wenn keine angeschlossen sind.
|
static SteuerModul |
getInstance(String pid)
gibt das SteuerModul mit der übergebenen Pid zurück oder null,
wenn es kein SteuerModul mit der Pid gibt.
|
int |
getKnotenNummer()
gibt die Knotennummer (OSI-7-Adresse) des Gerätes zurück.
|
DEKanal[] |
getSammelKanaele()
gibt alle Sammelkanäle zurück, die an dem Steuermodul
angeschlossen sind.
|
DEKanal |
getSammelKanal(Class classOfdeKanal)
gibt den Sammelkanal des entsprechenen Typs zurück
|
DEKanal |
getSteuerDEKanal()
gibt den DE-Kanal zum Steuern des SteuerModuls zurück.
|
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 |
setBus(KriBus bus)
setzt den Bus über den das SteuerModul am Kri angeschlossen ist.
|
getConfigurationObject, getKommunikationPartner, getKommunikationPartner, getName, getPID, getToolTipText, toString
private static WeakHashMap<String,SteuerModul> __Cache
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectType
private static de.bsvrz.dav.daf.main.config.ConfigurationObjectType __ConfigurationObjectTypeOfEAK
private static de.bsvrz.dav.daf.main.config.AttributeGroup __AtgGeraet
private String bezeichnung
private int knotenNummer
private String umsetzungsModul
private DEKanal deKanal
private KriBus kriBus
protected SteuerModul(String pid) throws DataModellMismatchException, DataModellObjectNotFoundException
pid
- StringDataModellMismatchException
DataModellObjectNotFoundException
ConfigurationObjectWrapper.ConfigurationObjectWrapper(String pid)
protected SteuerModul(de.bsvrz.dav.daf.main.config.ConfigurationObject confObj) throws DataModellMismatchException
confObj
- ConfigurationObject, das ein Steuermodul repräsentiert.DataModellMismatchException
ConfigurationObjectWrapper.ConfigurationObjectWrapper(ConfigurationObject
confObj)
public void setBus(KriBus bus)
public KriBus getBus()
public String getBezeichnung()
public DEKanal getSteuerDEKanal()
public int getKnotenNummer()
public String getUmsetzungsModul()
public EAK[] getEAKs()
public DEKanal getSammelKanal(Class classOfdeKanal)
gibt den Sammelkanal des entsprechenen Typs zurück
classOfdeKanal
- DEKanal.Lve
, DEKanal.Axl
, DEKanal.Ufd
,
DEKanal.Wzg
oder DEKanal.Vlt
,public DEKanal[] getSammelKanaele()
gibt alle Sammelkanäle zurück, die an dem Steuermodul angeschlossen sind.
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 String getTreeString()
ConfigurationObjectWrapper
getTreeString
in class ConfigurationObjectWrapper
public static SteuerModul[] getAll() throws DataModellMismatchException
DataModellMismatchException
public static SteuerModul getInstance(String pid) throws DataModellMismatchException
pid
- StringDataModellMismatchException
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.