From 74362878b01587845f6dadd9bdfda331848fed3e Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期三, 06 十二月 2023 18:14:25 +0800 Subject: [PATCH] UA 通信电源柜对接协议和控制接口 --- src/views/home/js/props.js | 274 ++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 183 insertions(+), 91 deletions(-) diff --git a/src/views/home/js/props.js b/src/views/home/js/props.js index 67366ee..678a114 100644 --- a/src/views/home/js/props.js +++ b/src/views/home/js/props.js @@ -1,155 +1,247 @@ +/** + * key0 涓虹洿瀹炲�煎搴旂殑灞炴�у悕 + * key1 涓烘ā鎷熷�煎搴旂殑灞炴�у悕 + * flag 涓�0鐪熷疄鍊肩敓鏁� 1妯℃嫙鍊肩敓鏁� + */ const PDG = [ { - label: '1璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn1VolAReal", + key1: "acIn1VolAFake", + flag: "acIn1VolASt", }, { - label: '1璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn1VolBReal", + key1: "acIn1VolBFake", + flag: "acIn1VolBSt", }, { - label: '1璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn1VolCReal", + key1: "acIn1VolCFake", + flag: "acIn1VolCSt", }, { - label: '1璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn1CurrAReal", + key1: "acIn1CurrAFake", + flag: "acIn1CurrASt", }, { - label: '1璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn1CurrBReal", + key1: "acIn1CurrBFake", + flag: "acIn1CurrBSt", }, { - label: '1璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', + label: "1璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn1CurrCReal", + key1: "acIn1CurrCFake", + flag: "acIn1CurrCSt", }, { - label: '鐩存祦鐢靛帇(V)', - key: '', + label: "绗�1璺洿娴佽緭鍏ョ數鍘�(V)", + key0: "dcIn1VolReal", + key1: "dcIn1VolFake", + flag: "dcIn1VolSt", }, { - label: '鐢垫睜缁勭數鍘�(V)', - key: '', + label: "1娈电洿娴佹瘝绾胯緭鍑虹數鍘�(V)", + key0: "dcOut1VolReal", + key1: "dcOut1VolFake", + flag: "dcOut1VolSt", }, { - label: '鏈烘煖娓╁害(鈩�)', - key: '', + label: "1娈电洿娴佹瘝绾胯緭鍑虹數娴�(A)", + key0: "dcOut1CurrReal", + key1: "dcOut1CurrFake", + flag: "dcOut1CurrSt", + }, + // { + // label: '鐩存祦閰嶇數鏌滄俯搴�(鈩�)', + // key0: 'dcCabinetTempReal', + // key1: 'dcCabinetTempFake', + // flag: 'dcCabinetTempSt', + // }, + // { + // label: '浜ゆ祦閰嶇數鏌滄俯搴�(鈩�)', + // key0: 'acCabinetTempReal', + // key1: 'acCabinetTempFake', + // flag: 'acCabinetTempSt', + // }, + { + label: "2璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn2VolAReal", + key1: "acIn2VolAFake", + flag: "acIn2VolASt", + }, + { + label: "2璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn2VolBReal", + key1: "acIn2VolBFake", + flag: "acIn2VolBSt", + }, + { + label: "2璺氦娴佽緭鍏鐩哥數鍘�(V)", + key0: "acIn2VolCReal", + key1: "acIn2VolCFake", + flag: "acIn2VolCSt", + }, + { + label: "2璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn2CurrAReal", + key1: "acIn2CurrAFake", + flag: "acIn2CurrASt", + }, + { + label: "2璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn2CurrBReal", + key1: "acIn2CurrBFake", + flag: "acIn2CurrBSt", + }, + { + label: "2璺氦娴佽緭鍏鐩哥數娴�(A)", + key0: "acIn2CurrCReal", + key1: "acIn2CurrCFake", + flag: "acIn2CurrCSt", + }, + { + label: "绗�2璺洿娴佽緭鍏ョ數鍘�(V)", + key0: "dcIn2VolReal", + key1: "dcIn2VolFake", + flag: "dcIn2VolSt", }, { - label: '2璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', + label: "2娈电洿娴佹瘝绾胯緭鍑虹數鍘�(V)", + key0: "dcOut2VolReal", + key1: "dcOut2VolFake", + flag: "dcOut2VolSt", }, { - label: '2璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', - }, - { - label: '2璺氦娴佽緭鍏鐩哥數鍘�(V)', - key: '', - }, - { - label: '2璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', - }, - { - label: '2璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', - }, - { - label: '2璺氦娴佽緭鍏鐩哥數娴�(A)', - key: '', - }, - { - label: '鐩存祦鐢垫祦(A)', - key: '', - }, - { - label: '鐢垫睜缁勭數娴�(A)', - key: '', - }, - { - label: '鏁呴殰鎶ヨ', - key: '', + label: "2娈电洿娴佹瘝绾胯緭鍑虹數娴�(A)", + key0: "dcOut2CurrReal", + key1: "dcOut2CurrFake", + flag: "dcOut2CurrSt", }, ]; const KGG = [ { - label: '浜ゆ祦杈撳叆鐢靛帇(V)', - key: '', + label: "浜ゆ祦A鐩歌緭鍑虹數鍘�(V)", + key0: "acOutVolAReal", + key1: "acOutVolAFake", + flag: "acOutVolASt", }, { - label: '浜ゆ祦杈撳叆鐢垫祦(A)', - key: '', + label: "浜ゆ祦B鐩歌緭鍑虹數鍘�(V)", + key0: "acOutVolBReal", + key1: "acOutVolBFake", + flag: "acOutVolBSt", }, { - label: '鐢垫睜鐢靛帇(V)', - key: '', + label: "浜ゆ祦C鐩歌緭鍑虹數鍘�(V)", + key0: "acOutVolCReal", + key1: "acOutVolCFake", + flag: "acOutVolCSt", }, { - label: '璐熻浇鐢垫祦(A)', - key: '', + label: "鐩存祦杈撳嚭鐢靛帇(V)", + key0: "dcOutVolReal", + key1: "dcOutVolFake", + flag: "dcOutVolSt", }, { - label: '寮�鍏崇姸鎬�', - key: '', + label: "璐熻浇鐢垫祦(A)", + key0: "loadCurrReal", + key1: "loadCurrFake", + flag: "loadCurrSt", }, { - label: '鏁呴殰鎶ヨ', - key: '', + label: "浜ゆ祦A鐩歌緭鍑虹數娴�(A)", + key0: "acOutCurrAReal", + key1: "acOutCurrAFake", + flag: "acOutCurrASt", }, { - label: '鐩存祦杈撳嚭鐢靛帇(V)', - key: '', + label: "浜ゆ祦B鐩歌緭鍑虹數娴�(A)", + key0: "acOutCurrBReal", + key1: "acOutCurrBFake", + flag: "acOutCurrBSt", }, { - label: '鐩存祦杈撳嚭鐢垫祦(A)', - key: '', + label: "浜ゆ祦C鐩歌緭鍑虹數娴�(A)", + key0: "acOutCurrCReal", + key1: "acOutCurrCFake", + flag: "acOutCurrCSt", }, { - label: '鐢垫睜(鍏呯數)鐢垫祦(A)', - key: '', + label: "鐢垫睜缁勭鐢靛帇(V)", + key0: "batt1GroupVolReal", + key1: "batt1GroupVolFake", + flag: "batt1GroupVolSt", }, { - label: '鐩存祦鐔斾笣鐘舵��', - key: '', + label: "钃勭數姹犵粍鍏呯數鐢垫祦(A)", + key0: "battCharCurrReal", + key1: "battCharCurrFake", + flag: "battCharCurrSt", }, - { - label: '鏈烘煖娓╁害(鈩�)', - key: '', - }, + // { + // label: "鏈烘煖娓╁害(鈩�)", + // key0: "highFrqCabinetTempReal", + // key1: "highFrqCabinetTempFake", + // flag: "highFrqCabinetTempSt", + // }, ]; const HR = [ { - label: '绯荤粺宸ヤ綔鐘舵��', - key: '', + label: "鏍稿瑁呯疆宸ヤ綔鐘舵��", + key0: "devWorkStateReal", + key1: "devWorkStateFake", + flag: "devWorkStateSt", + // [0锛氬湪绾挎诞鍏� 1锛氶鍏呯數锛堥檺娴佸厖鐢碉級2锛氭牳瀹规祴璇� 3锛氬仠鐢垫斁鐢� 4锛氬唴闃绘祴璇� 5锛欿1/D1 娴嬭瘯]' + config: [ + "鍦ㄧ嚎娴厖", + "棰勫厖鐢�(闄愭祦鍏呯數)", + "鏍稿娴嬭瘯", + "鍋滅數鏀剧數", + "鍐呴樆娴嬭瘯", + "K1/D1娴嬭瘯", + ], }, { - label: '鐢垫睜缁勭數娴�', - key: '', - }, - { - label: '鏈�楂樺崟浣撶數鍘�', - key: '', + label: "鐢垫睜缁勫潎/娴厖鐘舵��", + key0: "junFloatStateReal", + key1: "junFloatStateFake", + flag: "junFloatStateSt", + // [1-鍧囧厖锛�0-娴厖] + config: ["娴厖", "鍧囧厖"], }, { - label: '鐢垫睜缁勭數鍘�', - key: '', + label: "鐢垫睜缁勭數鍘�(V)", + key0: "batt1GroupVolReal", + key1: "batt1GroupVolFake", + flag: "batt1GroupVolSt", }, { - label: '鍦ㄧ嚎绔數鍘�', - key: '', + label: "鐢垫睜缁勭數娴�(A)", + key0: "battCharCurrReal", + key1: "battCharCurrFake", + flag: "battCharCurrSt", }, - { - label: '鏈�浣庡崟浣撶數鍘�', - key: '', + { + label: "鍦ㄧ嚎绔數鍘�", + key0: "onlineVolReal", + key1: "onlineVolFake", + flag: "onlineVolSt", }, ]; export default { PDG, KGG, - HR -} \ No newline at end of file + HR, +}; -- Gitblit v1.9.1