Missing docstrings added

This commit is contained in:
Nicolas 2025-06-12 14:35:51 +02:00
parent 418bcb59e8
commit 6893b141a0
1 changed files with 3 additions and 1 deletions

View File

@ -137,9 +137,10 @@ class AnalogInputTerminal(BusTerminal):
Args: Args:
channel: The channel number (1 based index) to read from. channel: The channel number (1 based index) to read from.
error_value: Value that is returned in case the modbus read command fails.
Returns: Returns:
The read word value. The read word value or provided error_value if read failed.
Raises: Raises:
Exception: If the word offset or count is out of range. Exception: If the word offset or count is out of range.
@ -174,6 +175,7 @@ class AnalogOutputTerminal(BusTerminal):
Args: Args:
channel: The channel number (1 based index) to read from. channel: The channel number (1 based index) to read from.
error_value: Value that is returned in case the modbus read command fails.
Returns: Returns:
The read word value or provided error_value if read failed. The read word value or provided error_value if read failed.