生产管理系统前端 - 水肥机控制页面框架搭建
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Droplets } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function FertilizerHistoryDataPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Droplets className="w-6 h-6 text-cyan-600" />
|
||||||
|
<h2 className="text-xl font-semibold">历史数据管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
施肥历史数据记录、查询和分析功能。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/fertilizer/history-data
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 历史记录查询、数据分析、效果评估、报表生成
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Droplets } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function FertilizerLevelSettingPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Droplets className="w-6 h-6 text-cyan-600" />
|
||||||
|
<h2 className="text-xl font-semibold">液位设置管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
肥液箱、水箱液位监控和阈值设置管理。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/fertilizer/level-setting
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 液位监控、阈值设置、低液位报警、补液控制
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Droplets } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function FertilizerStirringControlPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Droplets className="w-6 h-6 text-cyan-600" />
|
||||||
|
<h2 className="text-xl font-semibold">搅拌控制管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
肥液搅拌系统控制和均匀性保障管理。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/fertilizer/stirring-control
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 搅拌速度控制、时间设置、均匀度监控、设备维护
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Droplets } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function FertilizerWaterControlPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Droplets className="w-6 h-6 text-cyan-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥一体化控制</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
精准的水肥比例控制和混合调配管理系统。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/fertilizer/water-control
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 水肥比例设置、混合控制、流量调节、质量监控
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { AlertTriangle } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function MonitoringAlertLogicPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<AlertTriangle className="w-6 h-6 text-red-600" />
|
||||||
|
<h2 className="text-xl font-semibold">预警逻辑管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥系统预警规则配置和逻辑管理。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/monitoring/alert-logic
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 预警规则配置、逻辑条件设置、触发条件管理、预警级别
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { AlertTriangle } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function MonitoringNotificationPushPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<AlertTriangle className="w-6 h-6 text-red-600" />
|
||||||
|
<h2 className="text-xl font-semibold">通知推送管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥系统预警信息通知和消息推送配置。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/monitoring/notification-push
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 通知渠道配置、推送规则设置、消息模板管理、推送记录
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { AlertTriangle } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function MonitoringThresholdAlertPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<AlertTriangle className="w-6 h-6 text-red-600" />
|
||||||
|
<h2 className="text-xl font-semibold">阈值预警管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥系统各项参数阈值设置和预警管理。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/monitoring/threshold-alert
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 阈值参数设置、预警触发条件、监控指标配置、报警等级
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,123 +1,30 @@
|
|||||||
import Link from 'next/link'
|
'use client';
|
||||||
import { Metadata } from 'next'
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
import { Card } from '@/components/ui/card';
|
||||||
title: '水肥控制 - Crop-X 智慧农业管理系统',
|
import { Package } from 'lucide-react';
|
||||||
description: '水肥一体化控制系统主页面',
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function WaterFertilizerControlPage() {
|
export default function WaterFertilizerControlPage() {
|
||||||
return (
|
return (
|
||||||
<div className="space-y-6">
|
<div className="space-y-6">
|
||||||
<div className="bg-white rounded-lg shadow p-6">
|
<Card className="p-6">
|
||||||
<h2 className="text-xl font-semibold text-gray-800 mb-4">
|
<div className="flex items-center gap-3 mb-4">
|
||||||
水肥一体化控制系统
|
<Package className="w-6 h-6 text-blue-600" />
|
||||||
</h2>
|
<h2 className="text-xl font-semibold">水肥一体化控制系统</h2>
|
||||||
<p className="text-gray-600 mb-6">
|
|
||||||
水肥机管理、智能灌溉、施肥配方和实时监测控制
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
||||||
<Link
|
|
||||||
href="/water-fertilizer-control/irrigation-system-management"
|
|
||||||
className="block p-4 bg-green-50 rounded-lg hover:bg-green-100 transition-colors"
|
|
||||||
>
|
|
||||||
<h3 className="font-semibold text-green-900 mb-2">
|
|
||||||
🚰 水肥机管理
|
|
||||||
</h3>
|
|
||||||
<p className="text-green-700 text-sm">
|
|
||||||
设备注册和状态监控管理
|
|
||||||
</p>
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href="/water-fertilizer-control/smart-irrigation"
|
|
||||||
className="block p-4 bg-blue-50 rounded-lg hover:bg-blue-100 transition-colors"
|
|
||||||
>
|
|
||||||
<h3 className="font-semibold text-blue-900 mb-2">
|
|
||||||
💦 智能灌溉
|
|
||||||
</h3>
|
|
||||||
<p className="text-blue-700 text-sm">
|
|
||||||
灌溉计划和自动控制管理
|
|
||||||
</p>
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href="/water-fertilizer-control/fertilizer-formula-management"
|
|
||||||
className="block p-4 bg-purple-50 rounded-lg hover:bg-purple-100 transition-colors"
|
|
||||||
>
|
|
||||||
<h3 className="font-semibold text-purple-900 mb-2">
|
|
||||||
🧪 施肥配方管理
|
|
||||||
</h3>
|
|
||||||
<p className="text-purple-700 text-sm">
|
|
||||||
配置管理和作物专用配方
|
|
||||||
</p>
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href="/water-fertilizer-control/integrated-control"
|
|
||||||
className="block p-4 bg-orange-50 rounded-lg hover:bg-orange-100 transition-colors"
|
|
||||||
>
|
|
||||||
<h3 className="font-semibold text-orange-900 mb-2">
|
|
||||||
⚙️ 水肥一体化控制
|
|
||||||
</h3>
|
|
||||||
<p className="text-orange-700 text-sm">
|
|
||||||
同步控制和精准施用管理
|
|
||||||
</p>
|
|
||||||
</Link>
|
|
||||||
|
|
||||||
<Link
|
|
||||||
href="/water-fertilizer-control/real-time-monitoring"
|
|
||||||
className="block p-4 bg-teal-50 rounded-lg hover:bg-teal-100 transition-colors"
|
|
||||||
>
|
|
||||||
<h3 className="font-semibold text-teal-900 mb-2">
|
|
||||||
📊 实时监测与预警
|
|
||||||
</h3>
|
|
||||||
<p className="text-teal-700 text-sm">
|
|
||||||
参数显示和预警系统管理
|
|
||||||
</p>
|
|
||||||
</Link>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
智能水肥一体化管理系统,提供精准的水肥调控、灌溉管理和监测预警功能。
|
||||||
<div className="bg-white rounded-lg shadow p-6">
|
</p>
|
||||||
<h3 className="text-lg font-semibold text-gray-800 mb-4">
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
📊 系统状态
|
<p className="text-sm">
|
||||||
</h3>
|
<strong>系统路径:</strong> /water-fertilizer-control
|
||||||
<div className="space-y-2">
|
</p>
|
||||||
<div className="flex justify-between items-center">
|
<p className="text-sm mt-1">
|
||||||
<span className="text-gray-600">在线设备</span>
|
<strong>主要功能:</strong> 水肥机管理、智能灌溉、施肥配方、水肥控制、实时监测
|
||||||
<span className="text-green-600 font-semibold">18 / 20</span>
|
</p>
|
||||||
</div>
|
|
||||||
<div className="flex justify-between items-center">
|
|
||||||
<span className="text-gray-600">今日灌溉量</span>
|
|
||||||
<span className="text-blue-600 font-semibold">2,450 m³</span>
|
|
||||||
</div>
|
|
||||||
<div className="flex justify-between items-center">
|
|
||||||
<span className="text-gray-600">施肥次数</span>
|
|
||||||
<span className="text-purple-600 font-semibold">8 次</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</Card>
|
||||||
<div className="bg-white rounded-lg shadow p-6">
|
|
||||||
<h3 className="text-lg font-semibold text-gray-800 mb-4">
|
|
||||||
🔧 快速操作
|
|
||||||
</h3>
|
|
||||||
<div className="space-y-2">
|
|
||||||
<button className="w-full px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 transition-colors">
|
|
||||||
启动灌溉
|
|
||||||
</button>
|
|
||||||
<button className="w-full px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors">
|
|
||||||
配置施肥
|
|
||||||
</button>
|
|
||||||
<button className="w-full px-4 py-2 bg-purple-600 text-white rounded hover:bg-purple-700 transition-colors">
|
|
||||||
查看数据
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { TrendingUp } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function SmartIrrigationAutoPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<TrendingUp className="w-6 h-6 text-green-600" />
|
||||||
|
<h2 className="text-xl font-semibold">自动智能灌溉</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
基于AI模型的全自动智能灌溉系统运行和监控。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/smart/auto
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 自动灌溉控制、智能决策执行、实时监控、异常处理
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { TrendingUp } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function SmartIrrigationHistoryPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<TrendingUp className="w-6 h-6 text-green-600" />
|
||||||
|
<h2 className="text-xl font-semibold">智能灌溉历史记录</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
智能灌溉系统历史数据查询、统计和分析功能。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/smart/history
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 历史记录查询、数据统计分析、效果评估、报表生成
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { TrendingUp } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function SmartIrrigationManualPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<TrendingUp className="w-6 h-6 text-green-600" />
|
||||||
|
<h2 className="text-xl font-semibold">手动智能灌溉</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
基于智能建议的手动灌溉控制和操作界面。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/smart/manual
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 手动控制、智能建议、操作记录、参数调整
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { TrendingUp } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function SmartIrrigationModelConfigPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<TrendingUp className="w-6 h-6 text-green-600" />
|
||||||
|
<h2 className="text-xl font-semibold">智能灌溉模型配置</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
AI驱动的智能灌溉决策模型配置和参数优化。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/smart/model-config
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 模型参数配置、决策算法设置、精度优化、模型训练
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { TrendingUp } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function SmartIrrigationRealtimePage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<TrendingUp className="w-6 h-6 text-green-600" />
|
||||||
|
<h2 className="text-xl font-semibold">智能灌溉实时监控</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
智能灌溉系统运行状态的实时监控和数据展示。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/smart/realtime
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 实时数据监控、运行状态展示、异常报警、性能分析
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerHistoryPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥记录管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥施用历史记录查询和统计分析。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/fertilizer-history
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 施肥记录查询、用量统计、效果分析、历史追溯
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerParamsPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥控制参数设置</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥控制系统核心参数配置和优化设置。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/params
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 控制参数配置、运行模式设置、阈值调整、系统优化
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerTankRealtimePage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水箱实时监控</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水箱液位、温度、压力等实时数据监控。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/tank-realtime
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 液位实时监控、温度监测、压力监控、异常报警
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerValveControlPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">阀门控制管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥系统各阀门的远程控制和状态管理。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/valve-control
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 阀门远程控制、开关状态管理、批量操作、故障诊断
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerValveHistoryPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">阀门记录管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
阀门操作历史记录查询和统计分析。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/valve-history
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 阀门操作记录、开关统计、故障历史、维护记录
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Settings } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerValveRealtimePage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Settings className="w-6 h-6 text-orange-600" />
|
||||||
|
<h2 className="text-xl font-semibold">阀门实时监控</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥系统各阀门运行状态的实时监控。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-control/valve-realtime
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 阀门状态监控、流量监测、压力显示、运行统计
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Package } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerComponentPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Package className="w-6 h-6 text-blue-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥机组件管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥机各组件的详细信息管理、维护和更换记录。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-management/component
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 组件清单管理、组件状态监控、维护更换记录、备件管理
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Package } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerDevicePage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Package className="w-6 h-6 text-blue-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥机设备管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥机设备信息管理、状态监控、维护记录等功能模块。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-management/device
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 设备台账管理、设备状态监控、维护记录、设备配置
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Package } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerMappingPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Package className="w-6 h-6 text-blue-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥机映射管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥机设备与地块、作物的映射关系管理和配置。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-management/mapping
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 设备地块映射、作物配置、灌溉区域管理、映射关系优化
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
'use client';
|
||||||
|
|
||||||
|
import { Card } from '@/components/ui/card';
|
||||||
|
import { Package } from 'lucide-react';
|
||||||
|
|
||||||
|
export default function WaterFertilizerParameterPage() {
|
||||||
|
return (
|
||||||
|
<div className="space-y-6">
|
||||||
|
<Card className="p-6">
|
||||||
|
<div className="flex items-center gap-3 mb-4">
|
||||||
|
<Package className="w-6 h-6 text-blue-600" />
|
||||||
|
<h2 className="text-xl font-semibold">水肥机参数管理</h2>
|
||||||
|
</div>
|
||||||
|
<div className="space-y-3">
|
||||||
|
<p className="text-muted-foreground">
|
||||||
|
水肥机运行参数配置、阈值设置、优化调整等功能。
|
||||||
|
</p>
|
||||||
|
<div className="p-3 bg-muted rounded-lg">
|
||||||
|
<p className="text-sm">
|
||||||
|
<strong>页面路径:</strong> /water-fertilizer-control/wf-management/parameter
|
||||||
|
</p>
|
||||||
|
<p className="text-sm mt-1">
|
||||||
|
<strong>主要功能:</strong> 运行参数配置、阈值设置、参数优化、批量配置
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1123,6 +1123,157 @@ const aiCropModel = {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 水肥一体化控制系统
|
||||||
|
const waterFertilizerControl = {
|
||||||
|
navMain: [
|
||||||
|
{
|
||||||
|
title: "水肥机管理",
|
||||||
|
url: "/water-fertilizer-control/wf-management",
|
||||||
|
icon: <Package className="w-4 h-4" />,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: "设备管理",
|
||||||
|
url: "/water-fertilizer-control/wf-management/device",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "组件管理",
|
||||||
|
url: "/water-fertilizer-control/wf-management/component",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "参数配置",
|
||||||
|
url: "/water-fertilizer-control/wf-management/parameter",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "映射关系",
|
||||||
|
url: "/water-fertilizer-control/wf-management/mapping",
|
||||||
|
isActive: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "智能灌溉",
|
||||||
|
url: "/water-fertilizer-control/smart",
|
||||||
|
icon: <TrendingUp className="w-4 h-4" />,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: "模型配置",
|
||||||
|
url: "/water-fertilizer-control/smart/model-config",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "自动灌溉",
|
||||||
|
url: "/water-fertilizer-control/smart/auto",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "手动灌溉",
|
||||||
|
url: "/water-fertilizer-control/smart/manual",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "实时监控",
|
||||||
|
url: "/water-fertilizer-control/smart/realtime",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "历史记录",
|
||||||
|
url: "/water-fertilizer-control/smart/history",
|
||||||
|
isActive: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "施肥配方管理",
|
||||||
|
url: "/water-fertilizer-control/fertilizer",
|
||||||
|
icon: <Droplets className="w-4 h-4" />,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: "水量控制",
|
||||||
|
url: "/water-fertilizer-control/fertilizer/water-control",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "液位设定",
|
||||||
|
url: "/water-fertilizer-control/fertilizer/level-setting",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "搅拌控制",
|
||||||
|
url: "/water-fertilizer-control/fertilizer/stirring-control",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "历史数据",
|
||||||
|
url: "/water-fertilizer-control/fertilizer/history-data",
|
||||||
|
isActive: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "水肥控制",
|
||||||
|
url: "/water-fertilizer-control/wf-control",
|
||||||
|
icon: <Settings className="w-4 h-4" />,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: "参数设置",
|
||||||
|
url: "/water-fertilizer-control/wf-control/params",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "水箱实时监控",
|
||||||
|
url: "/water-fertilizer-control/wf-control/tank-realtime",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "阀门控制",
|
||||||
|
url: "/water-fertilizer-control/wf-control/valve-control",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "阀门实时监控",
|
||||||
|
url: "/water-fertilizer-control/wf-control/valve-realtime",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "施肥历史",
|
||||||
|
url: "/water-fertilizer-control/wf-control/fertilizer-history",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "阀门历史",
|
||||||
|
url: "/water-fertilizer-control/wf-control/valve-history",
|
||||||
|
isActive: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "实时监测与预警",
|
||||||
|
url: "/water-fertilizer-control/monitoring",
|
||||||
|
icon: <AlertTriangle className="w-4 h-4" />,
|
||||||
|
items: [
|
||||||
|
{
|
||||||
|
title: "预警逻辑",
|
||||||
|
url: "/water-fertilizer-control/monitoring/alert-logic",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "阈值预警",
|
||||||
|
url: "/water-fertilizer-control/monitoring/threshold-alert",
|
||||||
|
isActive: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: "通知推送",
|
||||||
|
url: "/water-fertilizer-control/monitoring/notification-push",
|
||||||
|
isActive: false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
function RootLayoutContent({
|
function RootLayoutContent({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: {
|
||||||
@@ -1146,6 +1297,8 @@ function RootLayoutContent({
|
|||||||
return agricultureAsset;
|
return agricultureAsset;
|
||||||
case '/ai-crop-model':
|
case '/ai-crop-model':
|
||||||
return aiCropModel;
|
return aiCropModel;
|
||||||
|
case '/water-fertilizer-control':
|
||||||
|
return waterFertilizerControl;
|
||||||
case '/central-config':
|
case '/central-config':
|
||||||
return centralConfigData;
|
return centralConfigData;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user