CircuitBreakerSafetyLogic#
- class wattson.hosts.rtu.logic.circuit_breaker_safety_logic.CircuitBreakerSafetyLogic(rtu: RTU, **kwargs)#
Bases:
RTULogicMethods
Handles the retrieval of the data point value instead of the default handler.
Returns whether this logic scripts wants to handle the get operation for the given data point.
on_starton_stop- handle_get_value(identifier) Any#
Handles the retrieval of the data point value instead of the default handler.
- Parameters:
identifier – The data point’s identifier
- Returns:
The value of the data point
- Return type:
Any
- handles_get_value(identifier) bool#
Returns whether this logic scripts wants to handle the get operation for the given data point. If true, handle_get_value is called by the managing RTU afterward.
- Parameters:
identifier – The data point’s identifier
- Returns:
Whether this logic wants to handle the set operation
- Return type:
bool