Commit 6dfa42bf authored by 陈龙's avatar 陈龙

feat: 单曲线legend配置设定默认值

parent 216e6d23
...@@ -4,16 +4,17 @@ import { MobileHistoryChart } from "../mobile"; ...@@ -4,16 +4,17 @@ import { MobileHistoryChart } from "../mobile";
const deviceParams = [ const deviceParams = [
/*10.182*/ /*10.182*/
{ /* {
"deviceCode": "EGBF00000136", "deviceCode": "EGBF00000136",
"sensors": "进水压力,出水压力,出水瞬时流量,今日供水量,1#水箱液位,视频报警", // "sensors": "进水压力,出水压力,出水瞬时流量,今日供水量,1#水箱液位,视频报警",
// "sensors": "视频报警", "sensors": "视频报警",
"deviceType": "二供泵房" "deviceType": "二供泵房"
}, },*/
{ {
"deviceCode": "EGJZ00000158", "deviceCode": "EGJZ00000158",
// "sensors": "进水压力,出水压力,泵1状态", // "sensors": "进水压力,出水压力,泵1状态",
"sensors": "泵1状态", "sensors": "进水压力",
// "sensors": "泵1状态",
"deviceType": "二供机组" "deviceType": "二供机组"
} }
/* { /* {
...@@ -107,18 +108,18 @@ const deviceParams = [ ...@@ -107,18 +108,18 @@ const deviceParams = [
},*/ },*/
/*确山*/ /*确山*/
/*泵3状态*/ /*泵3状态*/
/* { /* {
// EGJZ00000003 // EGJZ00000003
deviceCode: 'EGJZ00000003', deviceCode: 'EGJZ00000003',
// sensors: '3#频率', // sensors: '3#频率',
sensors: '出1累计流量', sensors: '出1累计流量',
deviceType: '二供机组', deviceType: '二供机组',
}, */ },*/
/* { /* {
"deviceCode": "EGBF00000006", "deviceCode": "EGBF00000006",
"sensors": "出1累计流量", "sensors": "出1累计流量",
"deviceType": "二供泵房" "deviceType": "二供泵房"
} */ }*/
]; ];
const Demo = () => { const Demo = () => {
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment