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