File size: 570 Bytes
1862ca1 | 1 2 3 4 5 6 7 8 9 10 11 12 | from agentic_reliability_framework.core.models.event import ReliabilityEvent
from pydantic import Field
class IoTEvent(ReliabilityEvent):
"""
Event type for IoT / robotics sensor data.
Extends ReliabilityEvent with specific sensor fields.
"""
temperature: float = Field(ge=0, description="Temperature reading in Celsius")
vibration: float = Field(ge=0, description="Vibration amplitude")
motor_current: float = Field(ge=0, description="Motor current in amperes")
position_error: float = Field(ge=0, description="Position tracking error") |