he wei
2024-01-18 d065ca03f746cae1b98d6d2d5afb8e4437297043
src/views/hrControl/js/const_props.js
@@ -1,3 +1,6 @@
import const_9100 from "./const_9100";
const { stopReason } = const_9100;
// 交直流
const props1 = [
  {
@@ -17,7 +20,7 @@
    key0: "currDirReal",
    key1: "currDirFake",
    flag: "currDirSt",
    option: ['充电', '放电']
    option: ["充电", "放电"],
  },
  {
    label: "电流",
@@ -58,16 +61,127 @@
    flag: "monTmpSt",
  },
  {
    label: "单体N剩余容量",
    label: "单体N均衡电流",
    key0: "monJhCurrReal",
    key1: "monJhCurrFake",
    flag: "monJhCurrSt",
  },
  {
    label: "单体N终止剩余容量",
    key0: "monRestCapReal",
    key1: "monRestCapFake",
    flag: "monRestCapSt",
  },
  {
    label: "单体N均衡电流",
    key0: "monJhCurrReal",
    key1: "monJhCurrFake",
    flag: "monJhCurrSt",
    label: "单体N终止电压",
    key0: "testMonVolReal",
    key1: "testMonVolFake",
    flag: "testMonVolSt",
  },
  {
    label: "单体N终止温度",
    key0: "testMonTmpReal",
    key1: "testMonTmpFake",
    flag: "testMonTmpSt",
  },
];
const alarm = [
  {
    label: "常闭接触器K1告警",
    key0: "k1AlmReal",
    key1: "k1AlmFake",
    flag: "k1AlmSt",
  },
  {
    label: "通讯告警",
    key0: "devCommerrReal",
    key1: "devCommerrFake",
    flag: "devCommerrSt",
  },
  {
    label: "二极管D1告警",
    key0: "d1AlmReal",
    key1: "d1AlmFake",
    flag: "d1AlmSt",
  },
];
const props3 = [
  {
    label: "设备工作状态",
    key0: "devWorkStateReal",
    key1: "devWorkStateFake",
    flag: "devWorkStateSt",
    option: [
      "在线浮充",
      "预充电(限流充电)",
      "核容测试",
      "停电放电",
      "内阻测试",
      "K1/D1 测试",
    ],
  },
  {
    label: "核容终止原因",
    key0: "testStopTypeReal",
    key1: "testStopTypeFake",
    option: stopReason,
    flag: "testStopTypeSt",
  },
  {
    label: "终止在线电压",
    key0: "testOnlineVolReal",
    key1: "testOnlineVolFake",
    flag: "testOnlineVolSt",
  },
  {
    label: "终止组端电压",
    key0: "testGroupVolReal",
    key1: "testGroupVolFake",
    flag: "testGroupVolSt",
  },
  {
    label: "终止时已放电时间",
    key0: "testTimeLongReal",
    key1: "testTimeLongFake",
    flag: "testTimeLongSt",
  },
  {
    label: "终止时核容电流",
    key0: "testOverCurrReal",
    key1: "testOverCurrFake",
    flag: "testOverCurrSt",
  },
  {
    label: "终止时剩余容量",
    key0: "testOverRestCapReal",
    key1: "testOverRestCapFake",
    flag: "testOverRestCapSt",
  },
  {
    label: "K1触点电阻值",
    key0: "k1PointResReal",
    key1: "k1PointResFake",
    flag: "k1PointResSt",
  },
  {
    label: "K1触点测试电流",
    key0: "k1PointCurrReal",
    key1: "k1PointCurrFake",
    flag: "k1PointCurrSt",
  },
  {
    label: "D1导通压降",
    key0: "d1CondVolDpReal",
    key1: "d1CondVolDpFake",
    flag: "d1CondVolDpSt",
  },
  {
    label: "D1导通测试电流",
    key0: "d1CondTestCurrReal",
    key1: "d1CondTestCurrFake",
    flag: "d1CondTestCurrSt",
  },
];
@@ -79,11 +193,11 @@
    for (let i = 0; i < count; i++) {
      let idx = i + 1;
      sub.push({
        label: label.replace('N', idx),
        label: label.replace("N", idx),
        key0,
        key1,
        flag,
        monNum: idx
        monNum: idx,
      });
    }
    list.push(sub);
@@ -94,5 +208,7 @@
export default {
  props1,
  props2,
  props3,
  alarm,
  getPropList,
};