fix(burst-location): surface data source note
This commit is contained in:
@@ -4,6 +4,7 @@ import React, { useCallback, useMemo, useState } from "react";
|
||||
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
|
||||
import RefreshIcon from "@mui/icons-material/Refresh";
|
||||
import {
|
||||
Alert,
|
||||
Box,
|
||||
Button,
|
||||
CircularProgress,
|
||||
@@ -239,19 +240,26 @@ const AnalysisParameters: React.FC<Props> = ({ onResult }) => {
|
||||
<MenuItem value="simulation">模拟方案</MenuItem>
|
||||
</Select>
|
||||
</FormControl>
|
||||
<Typography
|
||||
variant="caption"
|
||||
<Alert
|
||||
severity="info"
|
||||
variant="outlined"
|
||||
sx={{
|
||||
mt: 0.75,
|
||||
display: "block",
|
||||
color: "text.secondary",
|
||||
lineHeight: 1.6,
|
||||
mt: 1,
|
||||
alignItems: "flex-start",
|
||||
borderColor: "info.light",
|
||||
backgroundColor: "#eff6ff",
|
||||
"& .MuiAlert-message": { width: "100%" },
|
||||
}}
|
||||
>
|
||||
{isSimulationMode
|
||||
? "爆管数据读取所选方案模拟结果,正常数据读取实时模拟结果,两者使用同一爆管时间窗。"
|
||||
: "爆管数据读取所选监测时间窗,正常数据默认读取前一天同一时段的监测数据。"}
|
||||
<Typography variant="caption" className="block font-semibold text-blue-900">
|
||||
数据选择规则
|
||||
</Typography>
|
||||
<Typography variant="caption" className="block leading-5 text-blue-800">
|
||||
{isSimulationMode
|
||||
? "当前为模拟方案:爆管数据取所选方案模拟结果,正常数据取实时模拟结果,两者使用同一爆管时间窗。"
|
||||
: "当前为监测数据:爆管数据取所选监测时间窗,正常数据默认取前一天同一时段的监测数据。"}
|
||||
</Typography>
|
||||
</Alert>
|
||||
</Box>
|
||||
|
||||
{isSimulationMode && (
|
||||
|
||||
Reference in New Issue
Block a user