25 lines
622 B
TypeScript
25 lines
622 B
TypeScript
export interface FeedWastageStats {
|
|
currentWastage: { value: number; unit: string; status: 'ok' | 'warning' | 'critical' };
|
|
totalWastedKg: { value: number; unit: string };
|
|
estimatedLoss: { value: number; unit: string };
|
|
criticalZones: { value: number; unit: string };
|
|
}
|
|
|
|
export interface WastageHotspot {
|
|
id: string;
|
|
level: 'low' | 'medium' | 'high'; // Corresponds to color coding
|
|
}
|
|
|
|
export interface FeedWastageAlert {
|
|
id: string;
|
|
location: string;
|
|
wastageLevel: number; // percentage
|
|
timestamp: Date;
|
|
message: string;
|
|
}
|
|
|
|
export interface WastageDataPoint {
|
|
date: string;
|
|
percentage: number;
|
|
}
|