mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 22:03:53 +01:00
Parameterprüfung für Instantiierung eingeführt
Debug-Parameter für alle Vererbungen übernommen
This commit is contained in:
@@ -33,11 +33,32 @@ Classes</h3>
|
||||
Functions</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<td><a style="color:#0000FF" href="#acheck">acheck</a></td>
|
||||
<td>Check type of given arguments.</td>
|
||||
</tr><tr>
|
||||
<td><a style="color:#0000FF" href="#consttostr">consttostr</a></td>
|
||||
<td>Gibt <class 'str'> fuer Konstanten zurueck.</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr /><hr />
|
||||
<a NAME="acheck" ID="acheck"></a>
|
||||
<h2 style="background-color:#FFFFFF;color:#0000FF">acheck</h2>
|
||||
<b>acheck</b>(<i>check_type, **kwargs</i>)
|
||||
<p>
|
||||
Check type of given arguments.
|
||||
</p><p>
|
||||
Use the argument name as keyword and the argument itself as value.
|
||||
</p><dl>
|
||||
<dt><i>check_type</i></dt>
|
||||
<dd>
|
||||
Type to check
|
||||
</dd><dt><i>kwargs</i></dt>
|
||||
<dd>
|
||||
Arguments to check
|
||||
</dd>
|
||||
</dl>
|
||||
<div align="right"><a style="color:#0000FF" href="#top">Up</a></div>
|
||||
<hr /><hr />
|
||||
<a NAME="consttostr" ID="consttostr"></a>
|
||||
<h2 style="background-color:#FFFFFF;color:#0000FF">consttostr</h2>
|
||||
<b>consttostr</b>(<i>value</i>)
|
||||
|
||||
@@ -180,6 +180,9 @@ Abweichender Pfad zur piCtory Konfigurationsdatei
|
||||
</dd><dt><i>simulator</i></dt>
|
||||
<dd>
|
||||
Laedt das Modul als Simulator und vertauscht IOs
|
||||
</dd><dt><i>debug</i></dt>
|
||||
<dd>
|
||||
Gibt bei allen Fehlern komplette Meldungen aus
|
||||
</dd>
|
||||
</dl><a NAME="RevPiModIO.__del__" ID="RevPiModIO.__del__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
@@ -592,7 +595,7 @@ Static Methods</h3>
|
||||
<a NAME="RevPiModIODriver.__init__" ID="RevPiModIODriver.__init__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
RevPiModIODriver (Constructor)</h3>
|
||||
<b>RevPiModIODriver</b>(<i>virtdev, autorefresh=False, monitoring=False, syncoutputs=True, procimg=None, configrsc=None</i>)
|
||||
<b>RevPiModIODriver</b>(<i>virtdev, autorefresh=False, monitoring=False, syncoutputs=True, procimg=None, configrsc=None, debug=False</i>)
|
||||
<p>
|
||||
Instantiiert die Grundfunktionen.
|
||||
</p><p>
|
||||
@@ -652,7 +655,7 @@ Static Methods</h3>
|
||||
<a NAME="RevPiModIOSelected.__init__" ID="RevPiModIOSelected.__init__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
RevPiModIOSelected (Constructor)</h3>
|
||||
<b>RevPiModIOSelected</b>(<i>deviceselection, autorefresh=False, monitoring=False, syncoutputs=True, procimg=None, configrsc=None, simulator=False</i>)
|
||||
<b>RevPiModIOSelected</b>(<i>deviceselection, autorefresh=False, monitoring=False, syncoutputs=True, procimg=None, configrsc=None, simulator=False, debug=False</i>)
|
||||
<p>
|
||||
Instantiiert nur fuer angegebene Devices die Grundfunktionen.
|
||||
</p><p>
|
||||
|
||||
@@ -423,7 +423,7 @@ Static Methods</h3>
|
||||
<a NAME="RevPiNetIO.__init__" ID="RevPiNetIO.__init__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
RevPiNetIO (Constructor)</h3>
|
||||
<b>RevPiNetIO</b>(<i>address, autorefresh=False, monitoring=False, syncoutputs=True, simulator=False</i>)
|
||||
<b>RevPiNetIO</b>(<i>address, autorefresh=False, monitoring=False, syncoutputs=True, simulator=False, debug=False</i>)
|
||||
<p>
|
||||
Instantiiert die Grundfunktionen.
|
||||
</p><dl>
|
||||
@@ -442,6 +442,9 @@ Aktuell gesetzte Outputs vom Prozessabbild einlesen
|
||||
</dd><dt><i>simulator</i></dt>
|
||||
<dd>
|
||||
Laedt das Modul als Simulator und vertauscht IOs
|
||||
</dd><dt><i>debug</i></dt>
|
||||
<dd>
|
||||
Gibt bei allen Fehlern komplette Meldungen aus
|
||||
</dd>
|
||||
</dl><a NAME="RevPiNetIO._create_myfh" ID="RevPiNetIO._create_myfh"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
@@ -533,7 +536,7 @@ Static Methods</h3>
|
||||
<a NAME="RevPiNetIODriver.__init__" ID="RevPiNetIODriver.__init__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
RevPiNetIODriver (Constructor)</h3>
|
||||
<b>RevPiNetIODriver</b>(<i>address, virtdev, autorefresh=False, monitoring=False, syncoutputs=True</i>)
|
||||
<b>RevPiNetIODriver</b>(<i>address, virtdev, autorefresh=False, monitoring=False, syncoutputs=True, debug=False</i>)
|
||||
<p>
|
||||
Instantiiert die Grundfunktionen.
|
||||
</p><p>
|
||||
@@ -596,7 +599,7 @@ Static Methods</h3>
|
||||
<a NAME="RevPiNetIOSelected.__init__" ID="RevPiNetIOSelected.__init__"></a>
|
||||
<h3 style="background-color:#FFFFFF;color:#FF0000">
|
||||
RevPiNetIOSelected (Constructor)</h3>
|
||||
<b>RevPiNetIOSelected</b>(<i>address, deviceselection, autorefresh=False, monitoring=False, syncoutputs=True, simulator=False</i>)
|
||||
<b>RevPiNetIOSelected</b>(<i>address, deviceselection, autorefresh=False, monitoring=False, syncoutputs=True, simulator=False, debug=False</i>)
|
||||
<p>
|
||||
Instantiiert nur fuer angegebene Devices die Grundfunktionen.
|
||||
</p><p>
|
||||
|
||||
Reference in New Issue
Block a user