diff --git a/src/pages/battery_details/index.vue b/src/pages/battery_details/index.vue index 80de10d..07a1471 100644 --- a/src/pages/battery_details/index.vue +++ b/src/pages/battery_details/index.vue @@ -13,7 +13,7 @@ {{ dataList.fhvPwrOnStatus == null @@ -31,7 +31,7 @@ {{ dataList.fhvPwrOffRuquest == null @@ -49,7 +49,7 @@ {{ dataList.plvPwrOffReady == null @@ -67,14 +67,14 @@ {{ dataList.fSbmuAddress == null ? "--" : dataList.fSbmuAddress }} {{ dataList.fReqDCChrgMode == null ? "--" : dataList.fReqDCChrgMode @@ -83,19 +83,19 @@ {{ dataList.fPackDispSOC == null ? "--" : dataList.fPackDispSOC }}% {{ dataList.fPackRealSOH == null ? "--" : dataList.fPackRealSOH }}% {{ @@ -115,7 +115,7 @@ {{ dataList.mainAllowPwrOn == null @@ -133,7 +133,7 @@ {{ dataList.auxAllowPwrOn == null @@ -151,7 +151,7 @@ {{ dataList.reqDCChrgStop == null @@ -180,7 +180,7 @@ {{ @@ -201,7 +201,7 @@ {{ @@ -222,7 +222,7 @@ {{ @@ -243,7 +243,7 @@ {{ @@ -265,7 +265,7 @@ {{ @@ -287,7 +287,7 @@ {{ @@ -308,7 +308,7 @@ {{ @@ -329,7 +329,7 @@ {{ @@ -350,7 +350,7 @@ {{ @@ -371,7 +371,7 @@ {{ @@ -392,7 +392,7 @@ {{ @@ -413,7 +413,7 @@ {{ @@ -434,7 +434,7 @@ {{ @@ -455,7 +455,7 @@ {{ @@ -476,7 +476,7 @@ {{ @@ -497,7 +497,7 @@ {{ @@ -534,10 +534,13 @@ {{ + alarmTwoList.aL2SampLineOpnFlg == null + ? "--" + : alarmTwoList.aL2SampLineOpnFlg || alarmTwoList.aL2SampLineOpnFlg == 0 ? "正常" : "--" || alarmTwoList.aL2SampLineOpnFlg == 1 @@ -548,10 +551,13 @@ {{ + alarmTwoList.aL2VoltOutOfRangeFlg == null + ? "--" + : alarmTwoList.aL2VoltOutOfRangeFlg || alarmTwoList.aL2VoltOutOfRangeFlg == 0 ? "正常" : "--" || alarmTwoList.aL2VoltOutOfRangeFlg == 1 @@ -562,10 +568,13 @@ {{ + alarmTwoList.aL2SysNTCMinorFlt == null + ? "--" + : alarmTwoList.aL2SysNTCMinorFlt || alarmTwoList.aL2SysNTCMinorFlt == 0 ? "正常" : "--" || alarmTwoList.aL2SysNTCMinorFlt == 1 @@ -576,10 +585,13 @@ {{ + alarmTwoList.aL2SysNTCSeriousFlt == null + ? "--" + : alarmTwoList.aL2SysNTCSeriousFlt || alarmTwoList.aL2SysNTCSeriousFlt == 0 ? "正常" : "--" || alarmTwoList.aL2SysNTCSeriousFlt == 1 @@ -591,10 +603,13 @@ {{ + alarmTwoList.aL2DaisyChainComLost == null + ? "--" + : alarmTwoList.aL2DaisyChainComLost || alarmTwoList.aL2DaisyChainComLost == 0 ? "正常" : "--" || alarmTwoList.aL2DaisyChainComLost == 1 @@ -606,10 +621,13 @@ {{ + alarmTwoList.aL2PackSOCJumpFlt == null + ? "--" + : alarmTwoList.aL2PackSOCJumpFlt || alarmTwoList.aL2PackSOCJumpFlt == 0 ? "正常" : "--" || alarmTwoList.aL2PackSOCJumpFlt == 1 @@ -620,10 +638,13 @@ {{ + alarmTwoList.aL2HeatFlmFlt == null + ? "--" + : alarmTwoList.aL2HeatFlmFlt || alarmTwoList.aL2HeatFlmFlt == 0 ? "正常" : "--" || alarmTwoList.aL2HeatFlmFlt == 1 @@ -634,10 +655,13 @@ {{ + alarmTwoList.aL2BranchMsdOffWarn == null + ? "--" + : alarmTwoList.aL2BranchMsdOffWarn || alarmTwoList.aL2BranchMsdOffWarn == 0 ? "正常" : "--" || alarmTwoList.aL2BranchMsdOffWarn == 1 @@ -648,10 +672,13 @@ {{ + alarmTwoList.aL2SysParaNotMatchFlt == null + ? "--" + : alarmTwoList.aL2SysParaNotMatchFlt || alarmTwoList.aL2SysParaNotMatchFlt == 0 ? "正常" : "--" || alarmTwoList.aL2SysParaNotMatchFlt == 1 @@ -662,10 +689,13 @@ {{ + alarmTwoList.aL2ChrgOvrDisCurrFlt == null + ? "--" + : alarmTwoList.aL2ChrgOvrDisCurrFlt || alarmTwoList.aL2ChrgOvrDisCurrFlt == 0 ? "正常" : "--" || alarmTwoList.aL2ChrgOvrDisCurrFlt == 1 @@ -676,10 +706,13 @@ {{ + alarmTwoList.aL2ChrgOvrCurrLowTFlt == null + ? "--" + : alarmTwoList.aL2ChrgOvrCurrLowTFlt || alarmTwoList.aL2ChrgOvrCurrLowTFlt == 0 ? "正常" : "--" || alarmTwoList.aL2ChrgOvrCurrLowTFlt == 1 @@ -690,10 +723,13 @@ {{ + alarmTwoList.aL2ChrgOvrCurrNormTFlt == null + ? "--" + : alarmTwoList.aL2ChrgOvrCurrNormTFlt || alarmTwoList.aL2ChrgOvrCurrNormTFlt == 0 ? "正常" : "--" || alarmTwoList.aL2ChrgOvrCurrNormTFlt == 1 @@ -704,10 +740,13 @@ {{ + alarmTwoList.aL2FireAlarmFlt == null + ? "--" + : alarmTwoList.aL2FireAlarmFlt || alarmTwoList.aL2FireAlarmFlt == 0 ? "正常" : "--" || alarmTwoList.aL2FireAlarmFlt == 1 @@ -718,10 +757,13 @@ {{ + alarmTwoList.aL2FireProbeComFlt == null + ? "--" + : alarmTwoList.aL2FireProbeComFlt || alarmTwoList.aL2FireProbeComFlt == 0 ? "正常" : "--" || alarmTwoList.aL2FireProbeComFlt == 1 @@ -732,10 +774,13 @@ {{ + alarmTwoList.aL2CurrSensorFlt == null + ? "--" + : alarmTwoList.aL2CurrSensorFlt || alarmTwoList.aL2CurrSensorFlt == 0 ? "正常" : "--" || alarmTwoList.aL2CurrSensorFlt == 1 @@ -746,10 +791,13 @@ {{ + alarmTwoList.aL2ACANComFlt == null + ? "--" + : alarmTwoList.aL2ACANComFlt || alarmTwoList.aL2ACANComFlt == 0 ? "正常" : "--" || alarmTwoList.aL2ACANComFlt == 1 @@ -760,10 +808,13 @@ {{ + alarmTwoList.aL2CSUCommLostFlg == null + ? "--" + : alarmTwoList.aL2CSUCommLostFlg || alarmTwoList.aL2CSUCommLostFlg == 0 ? "正常" : "--" || alarmTwoList.aL2CSUCommLostFlg == 1 @@ -774,10 +825,13 @@ {{ + alarmTwoList.aL2HVBMsgTimeOut == null + ? "--" + : alarmTwoList.aL2HVBMsgTimeOut || alarmTwoList.aL2HVBMsgTimeOut == 0 ? "正常" : "--" || alarmTwoList.aL2HVBMsgTimeOut == 1 @@ -788,10 +842,13 @@ {{ + alarmTwoList.aL2SCANLostFlg == null + ? "--" + : alarmTwoList.aL2SCANLostFlg || alarmTwoList.aL2SCANLostFlg == 0 ? "正常" : "--" || alarmTwoList.aL2SCANLostFlg == 1 @@ -802,10 +859,13 @@ {{ + alarmTwoList.aL2BSPEOverTempFlt == null + ? "--" + : alarmTwoList.aL2BSPEOverTempFlt || alarmTwoList.aL2BSPEOverTempFlt == 0 ? "正常" : "--" || alarmTwoList.aL2BSPEOverTempFlt == 1 @@ -816,10 +876,13 @@ {{ + alarmTwoList.aL2BSPEOverVoltFlt == null + ? "--" + : alarmTwoList.aL2BSPEOverVoltFlt || alarmTwoList.aL2BSPEOverVoltFlt == 0 ? "正常" : "--" || alarmTwoList.aL2BSPEOverVoltFlt == 1 @@ -830,10 +893,13 @@ {{ + alarmTwoList.aL2BSPEUnderVoltFlt == null + ? "--" + : alarmTwoList.aL2BSPEUnderVoltFlt || alarmTwoList.aL2BSPEUnderVoltFlt == 0 ? "正常" : "--" || alarmTwoList.aL2BSPEUnderVoltFlt == 1 @@ -844,10 +910,13 @@ {{ + alarmTwoList.aL2FireAlarmFlt == null + ? "--" + : alarmTwoList.aL2FireAlarmFlt || alarmTwoList.aL2FireAlarmFlt == 0 ? "正常" : "--" || alarmTwoList.aL2FireAlarmFlt == 1 @@ -858,10 +927,13 @@ {{ + alarmTwoList.aL2BMUPwrFlt == null + ? "--" + : alarmTwoList.aL2BMUPwrFlt || alarmTwoList.aL2BMUPwrFlt == 0 ? "正常" : "--" || alarmTwoList.aL2BMUPwrFlt == 1 @@ -872,10 +944,13 @@ {{ + alarmTwoList.aL2HvilFlt == null + ? "--" + : alarmTwoList.aL2HvilFlt || alarmTwoList.aL2HvilFlt == 0 ? "正常" : "--" || alarmTwoList.aL2HvilFlt == 1 @@ -886,10 +961,13 @@ {{ + alarmTwoList.aL2BSPEAllFlt == null + ? "--" + : alarmTwoList.aL2BSPEAllFlt || alarmTwoList.aL2BSPEAllFlt == 0 ? "正常" : "--" || alarmTwoList.aL2BSPEAllFlt == 1 @@ -900,10 +978,13 @@ {{ + alarmTwoList.aL2InnerHVOpnCircuitFlt == null + ? "--" + : alarmTwoList.aL2InnerHVOpnCircuitFlt || alarmTwoList.aL2InnerHVOpnCircuitFlt == 0 ? "正常" : "--" || alarmTwoList.aL2InnerHVOpnCircuitFlt == 1 @@ -914,10 +995,13 @@ {{ + alarmTwoList.aL2CellOverDisChrgWarn == null + ? "--" + : alarmTwoList.aL2CellOverDisChrgWarn || alarmTwoList.aL2CellOverDisChrgWarn == 0 ? "正常" : "--" || alarmTwoList.aL2CellOverDisChrgWarn == 1 @@ -947,10 +1031,13 @@ {{ + relaystatusList.branch1PosRlyStatus == null + ? "--" + : relaystatusList.branch1PosRlyStatus || relaystatusList.branch1PosRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch1PosRlyStatus == 1 @@ -961,10 +1048,13 @@ {{ + relaystatusList.branch1NegRlyStatus == null + ? "--" + : relaystatusList.branch1NegRlyStatus || relaystatusList.branch1NegRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch1NegRlyStatus == 1 @@ -975,10 +1065,13 @@ {{ + relaystatusList.branch2PosRlyStatus == null + ? "--" + : relaystatusList.branch2PosRlyStatus || relaystatusList.branch2PosRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch2PosRlyStatus == 1 @@ -989,10 +1082,13 @@ {{ + relaystatusList.branch2NegRlyStatus == null + ? "--" + : relaystatusList.branch2NegRlyStatus || relaystatusList.branch2NegRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch2NegRlyStatus == 1 @@ -1004,10 +1100,13 @@ {{ + relaystatusList.branch3PosRlyStatus == null + ? "--" + : relaystatusList.branch3PosRlyStatus || relaystatusList.branch3PosRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch3PosRlyStatus == 1 @@ -1019,10 +1118,13 @@ {{ + relaystatusList.branch3NegRlyStatus == null + ? "--" + : relaystatusList.branch3NegRlyStatus || relaystatusList.branch3NegRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch3NegRlyStatus == 1 @@ -1033,10 +1135,13 @@ {{ + relaystatusList.branch4PosRlyStatus == null + ? "--" + : relaystatusList.branch4PosRlyStatus || relaystatusList.branch4PosRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch4PosRlyStatus == 1 @@ -1047,10 +1152,13 @@ {{ + relaystatusList.branch4NegRlyStatus == null + ? "--" + : relaystatusList.branch4NegRlyStatu || relaystatusList.branch4NegRlyStatus == 0 ? "打开" : "--" || relaystatusList.branch4NegRlyStatus == 1 @@ -1061,10 +1169,13 @@ {{ + relaystatusList.mainPosRlyStatus == null + ? "--" + : relaystatusList.mainPosRlyStatus || relaystatusList.mainPosRlyStatus == 0 ? "打开" : "--" || relaystatusList.mainPosRlyStatus == 1 @@ -1075,10 +1186,13 @@ {{ + relaystatusList.mainNegRlyStatus == null + ? "--" + : relaystatusList.mainNegRlyStatus || relaystatusList.mainNegRlyStatus == 0 ? "打开" : "--" || relaystatusList.mainNegRlyStatus == 1 @@ -1089,10 +1203,13 @@ {{ + relaystatusList.aL2ChrgOvrCurrLowTFlt == null + ? "--" + : relaystatusList.aL2ChrgOvrCurrLowTFlt || relaystatusList.aL2ChrgOvrCurrLowTFlt == 0 ? "打开" : "--" || relaystatusList.preChrgRlyStatus == 1 @@ -1103,10 +1220,13 @@ {{ + relaystatusList.heatPosRlyStatus == null + ? "--" + : relaystatusList.heatPosRlyStatus || relaystatusList.heatPosRlyStatus == 0 ? "打开" : "--" || relaystatusList.heatPosRlyStatus == 1 @@ -1117,10 +1237,13 @@ {{ + relaystatusList.heatNegRlyStatus == null + ? "--" + : relaystatusList.heatNegRlyStatus || relaystatusList.heatNegRlyStatus == 0 ? "打开" : "--" || relaystatusList.heatNegRlyStatus == 1 @@ -1131,10 +1254,13 @@ {{ + relaystatusList.branch1PosRlyFlt == null + ? "--" + : relaystatusList.branch1PosRlyFlt || relaystatusList.branch1PosRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch1PosRlyFlt == 1 @@ -1149,10 +1275,13 @@ {{ + relaystatusList.branch1NegRlyFlt == null + ? "--" + : relaystatusList.branch1NegRlyFlt || relaystatusList.branch1NegRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch1NegRlyFlt == 1 @@ -1167,10 +1296,13 @@ {{ + relaystatusList.branch2PosRlyFlt == null + ? "--" + : relaystatusList.branch2PosRlyFlt || relaystatusList.branch2PosRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch2PosRlyFlt == 1 @@ -1185,10 +1317,13 @@ {{ + relaystatusList.branch2NegRlyFlt == null + ? "--" + : relaystatusList.branch2NegRlyFlt || relaystatusList.branch2NegRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch2NegRlyFlt == 1 @@ -1203,10 +1338,13 @@ {{ + relaystatusList.branch3PosRlyFlt == null + ? "--" + : relaystatusList.branch3PosRlyFlt || relaystatusList.branch3PosRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch3PosRlyFlt == 1 @@ -1221,10 +1359,13 @@ {{ + relaystatusList.branch3NegRlyFlt == null + ? "--" + : relaystatusList.branch3NegRlyFlt || relaystatusList.branch3NegRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch3NegRlyFlt == 1 @@ -1239,10 +1380,13 @@ {{ + relaystatusList.branch4PosRlyFlt == null + ? "--" + : relaystatusList.branch4PosRlyFlt || relaystatusList.branch4PosRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch4PosRlyFlt == 1 @@ -1257,10 +1401,13 @@ {{ + relaystatusList.branch4NegRlyFlt == null + ? "--" + : relaystatusList.branch4NegRlyFlt || relaystatusList.branch4NegRlyFlt == 0 ? "正常" : "--" || relaystatusList.branch4NegRlyFlt == 1 @@ -1275,10 +1422,13 @@ {{ + relaystatusList.mainPosRlyFlt == null + ? "--" + : relaystatusList.mainPosRlyFlt || relaystatusList.mainPosRlyFlt == 0 ? "正常" : "--" || relaystatusList.mainPosRlyFlt == 1 @@ -1293,10 +1443,13 @@ {{ + relaystatusList.mainNegRlyFlt == null + ? "--" + : relaystatusList.mainNegRlyFlt || relaystatusList.mainNegRlyFlt == 0 ? "正常" : "--" || relaystatusList.mainNegRlyFlt == 1 @@ -1311,10 +1464,13 @@ {{ + relaystatusList.preChrgPosRlyFlt == null + ? "--" + : relaystatusList.preChrgPosRlyFlt || relaystatusList.preChrgPosRlyFlt == 0 ? "正常" : "--" || relaystatusList.preChrgPosRlyFlt == 1 @@ -1329,10 +1485,13 @@ {{ + relaystatusList.heatPosRlyFlt == null + ? "--" + : relaystatusList.heatPosRlyFlt || relaystatusList.heatPosRlyFlt == 0 ? "正常" : "--" || relaystatusList.heatPosRlyFlt == 1 @@ -1347,10 +1506,13 @@ {{ + relaystatusList.heatNegRlyFlt == null + ? "--" + : relaystatusList.heatNegRlyFlt || relaystatusList.heatNegRlyFlt == 0 ? "正常" : "--" || relaystatusList.heatNegRlyFlt == 1 @@ -1365,10 +1527,13 @@ {{ + relaystatusList.branch1PosRlyCoilFlt == null + ? "--" + : relaystatusList.branch1PosRlyCoilFlt || relaystatusList.branch1PosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch1PosRlyCoilFlt == 1 @@ -1379,10 +1544,13 @@ {{ + relaystatusList.branch1NegRlyCoilFlt == null + ? "--" + : relaystatusList.branch1NegRlyCoilFlt || relaystatusList.branch1NegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch1NegRlyCoilFlt == 1 @@ -1394,10 +1562,13 @@ {{ + relaystatusList.branch2PosRlyCoilFlt == null + ? "--" + : relaystatusList.branch2PosRlyCoilFlt || relaystatusList.branch2PosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch2PosRlyCoilFlt == 1 @@ -1408,10 +1579,13 @@ {{ + relaystatusList.branch2NegRlyCoilFlt == null + ? "--" + : relaystatusList.branch2NegRlyCoilFlt || relaystatusList.branch2NegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch2NegRlyCoilFlt == 1 @@ -1422,10 +1596,13 @@ {{ + relaystatusList.branch3PosRlyCoilFlt == null + ? "--" + : relaystatusList.branch3PosRlyCoilFlt || relaystatusList.branch3PosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch3PosRlyCoilFlt == 1 @@ -1436,10 +1613,13 @@ {{ + relaystatusList.branch3NegRlyCoilFlt == null + ? "--" + : relaystatusList.branch3NegRlyCoilFlt || relaystatusList.branch3NegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch3NegRlyCoilFlt == 1 @@ -1450,10 +1630,13 @@ {{ + relaystatusList.branch4PosRlyCoilFlt == null + ? "--" + : relaystatusList.branch4PosRlyCoilFlt || relaystatusList.branch4PosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch4PosRlyCoilFlt == 1 @@ -1464,10 +1647,13 @@ {{ + relaystatusList.branch4NegRlyCoilFlt == null + ? "--" + : relaystatusList.branch4NegRlyCoilFlt || relaystatusList.branch4NegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.branch4NegRlyCoilFlt == 1 @@ -1478,10 +1664,13 @@ {{ + relaystatusList.mainPosRlyCoilFlt == null + ? "--" + : relaystatusList.mainPosRlyCoilFlt || relaystatusList.mainPosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.mainPosRlyCoilFlt == 1 @@ -1492,10 +1681,13 @@ {{ + relaystatusList.mainNegRlyCoilFlt == null + ? "--" + : relaystatusList.mainNegRlyCoilFlt || relaystatusList.mainNegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.mainNegRlyCoilFlt == 1 @@ -1506,10 +1698,13 @@ {{ + relaystatusList.preChrgPosRlyCoilFlt == null + ? "--" + : relaystatusList.preChrgPosRlyCoilFlt || relaystatusList.preChrgPosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.preChrgPosRlyCoilFlt == 1 @@ -1520,10 +1715,13 @@ {{ + relaystatusList.heatPosRlyCoilFlt == null + ? "--" + : relaystatusList.heatPosRlyCoilFlt || relaystatusList.heatPosRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.heatPosRlyCoilFlt == 1 @@ -1534,10 +1732,13 @@ {{ + relaystatusList.heatNegRlyCoilFlt == null + ? "--" + : relaystatusList.heatNegRlyCoilFlt || relaystatusList.heatNegRlyCoilFlt == 0 ? "正常" : "--" || relaystatusList.heatNegRlyCoilFlt == 1 @@ -1563,7 +1764,7 @@ {{ ChargedischargecurrentList.pulseDischargeCurrent == null ? "--" @@ -1571,7 +1772,7 @@ {{ ChargedischargecurrentList.continuousDischargeCurrent == null ? "--" @@ -1579,7 +1780,7 @@ {{ ChargedischargecurrentList.pulseBackChargingStream == null ? "--" @@ -1587,7 +1788,7 @@ {{ ChargedischargecurrentList.continuousRechargeStream == null ? "--" @@ -1611,7 +1812,7 @@ {{ runningstateList.chargingCurrent == null @@ -1621,7 +1822,7 @@ {{ runningstateList.chargingVoltage == null @@ -1631,7 +1832,7 @@ {{ runningstateList.fullMark == null @@ -1645,7 +1846,7 @@ {{ @@ -1664,7 +1865,7 @@ {{ runningstateList.temperatureConvergence == null @@ -1683,7 +1884,7 @@ {{ runningstateList.voltageCollection == null @@ -1702,7 +1903,7 @@ {{ @@ -1719,7 +1920,7 @@ {{ @@ -1736,7 +1937,7 @@ {{ runningstateList.chargeStopCause == null @@ -1757,7 +1958,7 @@ {{ runningstateList.lowTemperatureHeating == null @@ -1781,69 +1982,990 @@ - - - - diff --git a/src/services/api.js b/src/services/api.js index 8830ea7..d148574 100644 --- a/src/services/api.js +++ b/src/services/api.js @@ -20,14 +20,22 @@ module.exports = { WriteColdTemperature: `${second_url}/HeatMonitor/WriteColdTemperature`, // 写入制冷温度 WriteHotTemperature: `${second_url}/HeatMonitor/WriteHotTemperature`, // 写入制冷温度 WriteWorkModelNo: `${second_url}/HeatMonitor/WriteWorkModelNo`, // 写入制冷温度 -// zzz - -Battery_Details: `${BASE_URL}/TBsBatteryPackStatus`, -Battery_Alarm_One: `${BASE_URL}/TFlRealAlarmOne`, -Battery_Alarm_Two: `${BASE_URL}/TFlRealAlarmTwo`, -Relay_status: `${BASE_URL}/TBsRelayStatus`, -Charge_discharge_current: `${BASE_URL}/TCdChargeDischargeCurrent`, -Running_State: `${BASE_URL}/TBsRunningState`, +// zz + +Battery_Details: `${BASE_URL}/TCgRealTimeDisplay/GetStatusList`, //电池包状态信息展示 +Battery_Alarm_One: `${BASE_URL}/TCgRealTimeDisplay/GetAlarm1List`, //报警部分1实时显示 +Battery_Alarm_Two: `${BASE_URL}/TCgRealTimeDisplay/GetAlarm2List `, //报警部分2实时显示 +Relay_status: `${BASE_URL}/TCgRealTimeDisplay/GetRelayStatuSList`, // 继电器实时状态显示 +Charge_discharge_current: `${BASE_URL}/TCgRealTimeDisplay/GetPackCurrlmtList`, // 充放电电流限制显示 +Running_State: `${BASE_URL}/TCgRealTimeDisplay/GetRunStatusInfoList`, // 运行状态,满充标识 +// zzzzzz +GetSumvolt: `${BASE_URL}/TCgRealTimeDisplay/GetSumvoltList`, // 单体电压状态展示 +GetSumTemp: `${BASE_URL}/TCgRealTimeDisplay/GetSumTempList`, // 单体温度状态展示 +GetChrgaccuInfo: `${BASE_URL}/TCgRealTimeDisplay/GetChrgaccuInfoList`, // 系统总插枪充电,系统总放电,系统总回充,HVB绝缘检测 +GetBrachSumvolT: `${BASE_URL}/TCgRealTimeDisplay/GetBrachSumvolTList`, // 支路单体电压 +GetBrachSumtemp: `${BASE_URL}/TCgRealTimeDisplay/GetBrachSumtemp1List`, // 支路单体温度 +GetCscSumvolt: `${BASE_URL}/TCgRealTimeDisplay/GetCscSumvolt1List`, // CSC单体电压 +GetCscSumtemp: `${BASE_URL}/TCgRealTimeDisplay/GetCscSumtemp1List`, // CSC单体温度 GetBattPerStatusCount: `${BASE_URL}/SwapMonitor/GetBattPerStatusCount`, // 换电大屏数据 GetPLCSwapParamsValue: `${BASE_URL}/SwapMonitor/GetPLCSwapParamsValue`, // GetPLCSwapParamsValue diff --git a/src/services/battery_details/index.js b/src/services/battery_details/index.js index a87fd2c..bed0165 100644 --- a/src/services/battery_details/index.js +++ b/src/services/battery_details/index.js @@ -1,4 +1,4 @@ -import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State} from '@/services/api' +import { Battery_Details,Battery_Alarm_One,Battery_Alarm_Two,Relay_status,Charge_discharge_current,Running_State,GetSumvolt,GetSumTemp,GetChrgaccuInfo,GetBrachSumvolT,GetBrachSumtemp,GetCscSumvolt,GetCscSumtemp,} from '@/services/api' import { request, METHOD, } from '@/utils/request' // export async function index (data) { @@ -26,6 +26,40 @@ export async function Runningstate (data) { } + + + + + + + +export async function Sumvolt (data) { + return request( GetSumvolt, METHOD.GET, data) +} +export async function SumTemp (data) { + return request( GetSumTemp, METHOD.GET, data) +} +export async function ChrgaccuInfo (data) { + return request( GetChrgaccuInfo, METHOD.GET, data) +} +export async function BrachSumvolT (data) { + return request( GetBrachSumvolT, METHOD.GET, data) +} +export async function BrachSumtemp (data) { + return request( GetBrachSumtemp, METHOD.GET, data) +} +export async function CscSumvolt (data) { + return request( GetCscSumvolt, METHOD.GET, data) +} +export async function CscSumtemp (data) { + return request( GetCscSumtemp, METHOD.GET, data) +} + + + + + + // export async function store (data) { // return request(Battery_Maintain_Log, METHOD.POST, data) // } @@ -49,6 +83,13 @@ export default { Relaystatus, Chargedischargecurrent, Runningstate, + Sumvolt, +SumTemp, +ChrgaccuInfo, +BrachSumvolT, +BrachSumtemp, +CscSumvolt, +CscSumtemp, // store, // update, // destroy,