update
This commit is contained in:
		@@ -17,14 +17,14 @@ function EnergyCost(props) {
 | 
			
		||||
          >
 | 
			
		||||
            <span style={{ fontSize: "20px", letterSpacing: '2px', lineHeight: 1.5 }}>余热发电</span>
 | 
			
		||||
            <span style={{ fontSize: "20px", color: "#3ce8ff", lineHeight: 1.5 }}>
 | 
			
		||||
              {energyInfo?.elecQty1 || 0}kWh
 | 
			
		||||
              {(+energyInfo?.elecQty1)?.toFixed(2) || 0}kWh
 | 
			
		||||
            </span>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className={cls.info__item_groups}>
 | 
			
		||||
            <div className={cls.info__item}>
 | 
			
		||||
              <i style={{ fontSize: "18px", fontStyle: "normal", paddingRight: '6px' }}>水耗量</i>
 | 
			
		||||
              <span style={{ fontSize: "17px", color: "#3ce8ff" }}>
 | 
			
		||||
                {energyInfo?.waterQty || 0}Km³
 | 
			
		||||
                {(+energyInfo?.waterQty)?.toFixed(2) || 0}Km³
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div className={cls.info__item}>
 | 
			
		||||
@@ -36,7 +36,7 @@ function EnergyCost(props) {
 | 
			
		||||
            <div className={cls.info__item}>
 | 
			
		||||
              <i style={{ fontSize: "18px", fontStyle: "normal", paddingRight: '6px' }}>电耗量</i>
 | 
			
		||||
              <span style={{ fontSize: "17px", color: "#3ce8ff" }}>
 | 
			
		||||
                {energyInfo?.elecQty2 || 0}kWh
 | 
			
		||||
                {(+energyInfo?.elecQty2)?.toFixed(2) || 0}kWh
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div className={cls.info__item}>
 | 
			
		||||
 
 | 
			
		||||
@@ -167,7 +167,7 @@ function getOptions(showChart, hisState, runState) {
 | 
			
		||||
        ? Object.keys(runState).map((fan) => ({
 | 
			
		||||
            id: Math.random(),
 | 
			
		||||
            name: fan,
 | 
			
		||||
            value: runState[fan],
 | 
			
		||||
            value: (+runState[fan])?.toFixed(2),
 | 
			
		||||
          }))
 | 
			
		||||
        : [
 | 
			
		||||
            { id: 1, name: "1#风机", value: "0m³/h" },
 | 
			
		||||
 
 | 
			
		||||
@@ -12,16 +12,16 @@ function SmokeHandle(props) {
 | 
			
		||||
      <div className={`${cls.smokeHandle__content} flex flex-col`}>
 | 
			
		||||
        <div className={cls.info__item_groups}>
 | 
			
		||||
          <div className={cls.info__item}>
 | 
			
		||||
            氧 气 含 量 : {smokeInfo?.O2_float?.toFixed(2) || 0}%
 | 
			
		||||
            氧 气 含 量 : {(+smokeInfo?.O2_float)?.toFixed(2) || 0}%
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className={cls.info__item}>
 | 
			
		||||
            氮氧化物浓度: {smokeInfo?.NOX_float?.toFixed(2) || 0}mg/m³
 | 
			
		||||
            氮氧化物浓度: {(+smokeInfo?.NOX_float)?.toFixed(2) || 0}mg/m³
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className={cls.info__item}>
 | 
			
		||||
            二氧化硫浓度: {smokeInfo?.SO2_float?.toFixed(2) || 0}mg/m³
 | 
			
		||||
            二氧化硫浓度: {(+smokeInfo?.SO2_float)?.toFixed(2) || 0}mg/m³
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className={cls.info__item}>
 | 
			
		||||
            颗粒物浓度: {smokeInfo?.dust_float?.toFixed(2) || 0}mg/m³
 | 
			
		||||
            颗粒物浓度: {(+smokeInfo?.dust_float)?.toFixed(2) || 0}mg/m³
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
        <TechSplitline />
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user