✨ Matching alert
This commit is contained in:
@@ -22,3 +22,23 @@ class AlertConfiguration {
|
||||
maxValue: json['max_value'],
|
||||
);
|
||||
}
|
||||
|
||||
class AlertDetectResult {
|
||||
AlertConfiguration config;
|
||||
String name;
|
||||
String? unitName;
|
||||
double? current;
|
||||
double? difference;
|
||||
bool isOutOfRange;
|
||||
bool isUndetected;
|
||||
|
||||
AlertDetectResult({
|
||||
required this.config,
|
||||
required this.name,
|
||||
required this.unitName,
|
||||
required this.current,
|
||||
required this.difference,
|
||||
required this.isOutOfRange,
|
||||
required this.isUndetected,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user