Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
Loading...
Searching...
No Matches
Namespaces | Functions
fault_policy.cpp File Reference

Implements alarm selection and fault response policy. More...

#include "fault_policy.h"
Include dependency graph for fault_policy.cpp:

Namespaces

namespace  FaultPolicy
 Fault classification and telemetry labeling helpers.
 

Functions

FaultPolicySnapshot FaultPolicy::evaluate (const ControlSnapshot &controlSnapshot, const FaultMonitorSnapshot &faultSnapshot)
 Evaluates alarms and fault response from control and fan-monitor state.
 
const char * FaultPolicy::alarmCodeLabel (AlarmCode alarmCode)
 Converts an alarm code to a telemetry-safe label.
 
const char * FaultPolicy::severityLabel (FaultSeverity severity)
 Converts a severity value to a telemetry-safe label.
 
const char * FaultPolicy::responseLabel (FaultResponse response)
 Converts a fault response to a telemetry-safe label.
 

Detailed Description

Implements alarm selection and fault response policy.