add_criterion#
- TcpOslServer.add_criterion(uid: str, criterion_type: str, expression: str, name: str, limit: str | None = None) None #
Create criterion for the system.
- Parameters:
- uid
str
Actor uid.
- criterion_type: str
Type of the criterion.
- expression: str
Expression to be evaluated.
- name: str
Criterion name.
- limit: Optional[str], optional
Limit expression to be evaluated.
- uid
- Raises:
TimeoutError
Raised when the timeout float value expires.