|
|
@ -442,14 +442,14 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-A.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_A_A} A</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_A_A} A</div> |
|
|
|
<div>A相电流</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-V.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_A_V} V</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_A_V} V</div> |
|
|
|
<div>A相电压</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -462,14 +462,14 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-A.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_B_A} A</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_B_A} A</div> |
|
|
|
<div>B相电流</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-V.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_B_V} V</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_B_V} V</div> |
|
|
|
<div>B相电压</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -482,14 +482,14 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-A.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_C_A} A</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_C_A} A</div> |
|
|
|
<div>C相电流</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style={{ width: '40%', height: '100%', display: 'flex', justifyContent: 'space-between', }}> |
|
|
|
<img style={{ width: 40, height: 40 }} src='/assets/images/monitor/ball-V.png' /> |
|
|
|
<div style={{ display: 'flex', flexDirection: 'column', color: 'white', fontSize: 14 }}> |
|
|
|
<div>{v.data[0]?.eMotor_C_V} V</div> |
|
|
|
<div style={{ fontFamily: "D-DIN-Italic" }}>{v.data[0]?.eMotor_C_V} V</div> |
|
|
|
<div>C相电压</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -506,11 +506,11 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>单次运行时间:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{v.data[0]?.dPump_T_S} min</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{v.data[0]?.dPump_T_S} min</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>总积累时间:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{v.data[0]?.dPump_T_T} h</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{v.data[0]?.dPump_T_T} h</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -545,11 +545,12 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
position: 'absolute', top: '6%', left: 10, |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 20, color: '#E2F8FF', fontWeight: 600 }}> |
|
|
|
湿度:</div>{centreData?.sHumidity} % |
|
|
|
湿度:</div> |
|
|
|
<span style={{ fontFamily: "D-DIN-Italic" }}>{centreData?.sHumidity}</span> % |
|
|
|
</div> |
|
|
|
<div style={{ color: '#00FFF8', fontSize: 20, position: 'absolute', top: '15%', left: "calc(50% - 90px)", display: 'inline-block' }}> |
|
|
|
<span style={{ fontSize: 20, color: '#E2F8FF', fontWeight: 600, }}> |
|
|
|
总用量:</span><span title={centreData?.daySun?.toFixed(2)} style={{ width: 50, lineHeight: "16px", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.daySun?.toFixed(2)}</span> kWh |
|
|
|
总用量:</span><span title={centreData?.daySun?.toFixed(2)} style={{ width: 50, fontFamily: "D-DIN-Italic", lineHeight: "16px", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.daySun?.toFixed(2)}</span> kWh |
|
|
|
</div> |
|
|
|
<div style={{ |
|
|
|
backgroundImage: 'url(/assets/images/monitor/pedestal.png)', |
|
|
@ -558,7 +559,8 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
position: 'absolute', top: '6%', right: -10, |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 20, color: '#E2F8FF', fontWeight: 600 }}> |
|
|
|
温度:</div>{centreData?.sTEMP} ℃ |
|
|
|
温度:</div> |
|
|
|
<sapn style={{ fontFamily: "D-DIN-Italic" }}>{centreData?.sTEMP}</sapn> ℃ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div style={{ |
|
|
@ -569,7 +571,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 18, color: '#E2F8FF', fontWeight: 600 }}> |
|
|
|
今年用电:</div> |
|
|
|
<span title={centreData?.day365?.toFixed(2)} style={{ width: 90, textAlign:"center",display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day365?.toFixed(2) || '--'}</span> kWh |
|
|
|
<span title={centreData?.day365?.toFixed(2)} style={{ width: 90, fontFamily: "D-DIN-Italic", lineHeight: '16px', textAlign: "center", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day365?.toFixed(2) || '--'}</span> kWh |
|
|
|
</div> |
|
|
|
<div style={{ |
|
|
|
backgroundImage: 'url(/assets/images/monitor/oblique.png)', |
|
|
@ -579,7 +581,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 18, color: '#E2F8FF', fontWeight: 600 }}> |
|
|
|
当月用电:</div> |
|
|
|
<span title={centreData?.day30?.toFixed(2)} style={{ width: 90, textAlign:"center", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day30?.toFixed(2) || '--'}</span> kWh |
|
|
|
<span title={centreData?.day30?.toFixed(2)} style={{ width: 90, fontFamily: "D-DIN-Italic", lineHeight: '16px', textAlign: "center", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day30?.toFixed(2) || '--'}</span> kWh |
|
|
|
</div> |
|
|
|
<div style={{ |
|
|
|
backgroundImage: 'url(/assets/images/monitor/oblique.png)', |
|
|
@ -589,7 +591,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}}> |
|
|
|
<div style={{ fontSize: 18, color: '#E2F8FF', fontWeight: 600 }}> |
|
|
|
当日用电:</div> |
|
|
|
<span title={centreData?.day1?.toFixed(2)} style={{ width: 90, textAlign:"center", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day1?.toFixed(2) || '--'}</span> kWh |
|
|
|
<span title={centreData?.day1?.toFixed(2)} style={{ width: 90, fontFamily: "D-DIN-Italic", lineHeight: '16px', textAlign: "center", display: "inline-block", overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis', }}>{centreData?.day1?.toFixed(2) || '--'}</span> kWh |
|
|
|
</div> |
|
|
|
|
|
|
|
<div style={{ |
|
|
@ -730,19 +732,19 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
<div style={{ width: "100%", height: 160, padding: '10px 25px', display: 'flex', flexDirection: 'column', justifyContent: 'space-around', color: 'white' }}> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>当日用电:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{isNaN(v.today) ? v.today : v.today?.toFixed(2)} kwh</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{isNaN(v.today) ? v.today : v.today?.toFixed(2)} kwh</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>当月用电:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{isNaN(v.sameMonth) ? v.sameMonth : v.sameMonth?.toFixed(2)} min</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{isNaN(v.sameMonth) ? v.sameMonth : v.sameMonth?.toFixed(2)} kwh</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>今年用电:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{isNaN(v.thisYear) ? v.thisYear : v.thisYear?.toFixed(2)} h</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{isNaN(v.thisYear) ? v.thisYear : v.thisYear?.toFixed(2)} kwh</div> |
|
|
|
</div> |
|
|
|
<div style={{ display: 'flex' }}> |
|
|
|
<div style={{ width: 90, textAlign: 'end' }}>总用电量:</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00' }}>{v.eQF_EQ?.toFixed(2) || '--'} h</div> |
|
|
|
<div style={{ width: 90, textAlign: 'end', color: '#FFCB00', fontFamily: "D-DIN-Italic" }}>{v.eQF_EQ?.toFixed(2) || '--'} kwh</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -786,6 +788,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'inside', |
|
|
|
showDetail: false |
|
|
|
}, |
|
|
|
], |
|
|
|
tooltip: { |
|
|
@ -889,6 +892,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'inside', |
|
|
|
showDetail: false |
|
|
|
}, |
|
|
|
], |
|
|
|
tooltip: { |
|
|
@ -978,6 +982,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
grid: { |
|
|
|
// width: 300,
|
|
|
|
// height: 200
|
|
|
|
left:100 |
|
|
|
}, |
|
|
|
dataZoom: [ |
|
|
|
{ |
|
|
@ -986,6 +991,7 @@ const Capacity = ({ actions, dispatch, siteList, }) => { |
|
|
|
}, |
|
|
|
{ |
|
|
|
type: 'inside', |
|
|
|
showDetail: false |
|
|
|
}, |
|
|
|
], |
|
|
|
tooltip: { |
|
|
|