Commit 700921c8f2007668e9866be5f5d7371549aa99b2

Authored by 周铨
1 parent 81c80e66

调整参数

@@ -123,9 +123,9 @@ Page({ @@ -123,9 +123,9 @@ Page({
123 one: "BMS-最高电压模块", 123 one: "BMS-最高电压模块",
124 two: "BMS-单体最低温度", 124 two: "BMS-单体最低温度",
125 three: "BMS-允许充电电流", 125 three: "BMS-允许充电电流",
126 - key_one: "05", 126 + key_one: "29",
127 key_two: "16", 127 key_two: "16",
128 - key_three: "29" 128 + key_three: "05"
129 }, 129 },
130 { 130 {
131 type: "PCS", 131 type: "PCS",
@@ -133,9 +133,9 @@ Page({ @@ -133,9 +133,9 @@ Page({
133 one: "PCS-交流B相电流", 133 one: "PCS-交流B相电流",
134 two: "PCS-交流C相电流", 134 two: "PCS-交流C相电流",
135 three: "PCS-交流A相电流", 135 three: "PCS-交流A相电流",
136 - key_one: "21",  
137 - key_two: "22",  
138 - key_three: "23" 136 + key_one: "22",
  137 + key_two: "23",
  138 + key_three: "21"
139 }, 139 },
140 { 140 {
141 type: "CP", 141 type: "CP",
@@ -143,9 +143,9 @@ Page({ @@ -143,9 +143,9 @@ Page({
143 one: "CP-B枪需求功率", 143 one: "CP-B枪需求功率",
144 two: "CP-B枪需求电流", 144 two: "CP-B枪需求电流",
145 three: "CP-A枪需求电流", 145 three: "CP-A枪需求电流",
146 - key_one: "16",  
147 - key_two: "27",  
148 - key_three: "28" 146 + key_one: "27",
  147 + key_two: "28",
  148 + key_three: "16"
149 }, 149 },
150 { 150 {
151 type: "PV", 151 type: "PV",
@@ -153,9 +153,9 @@ Page({ @@ -153,9 +153,9 @@ Page({
153 one: "PV-总电网取电电量", 153 one: "PV-总电网取电电量",
154 two: "PV-绝缘阻抗", 154 two: "PV-绝缘阻抗",
155 three: "PV-电网频率", 155 three: "PV-电网频率",
156 - key_one: "04", 156 + key_one: "24",
157 key_two: "06", 157 key_two: "06",
158 - key_three: "24" 158 + key_three: "04"
159 }, 159 },
160 { 160 {
161 type: "EM", 161 type: "EM",
@@ -164,8 +164,8 @@ Page({ @@ -164,8 +164,8 @@ Page({
164 two: "EM-C相电流", 164 two: "EM-C相电流",
165 three: "EM-B相电流", 165 three: "EM-B相电流",
166 key_one: "04", 166 key_one: "04",
167 - key_two: "05",  
168 - key_three: "06" 167 + key_two: "06",
  168 + key_three: "05"
169 }, 169 },
170 ],//滚动list头部展示 170 ],//滚动list头部展示
171 tableHeader: {} 171 tableHeader: {}
@@ -1018,20 +1018,20 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => { @@ -1018,20 +1018,20 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => {
1018 break; 1018 break;
1019 1019
1020 case "BMS_MAP": // BMS监控 1020 case "BMS_MAP": // BMS监控
1021 - let bmsOne: Array<String> = arrayList.map((item: any) => {  
1022 - return item.bms01 ? item.bms01 : 0 1021 + let bmsOne: Array<String> = arrayList.map((item: any) => { // 允许充电电流
  1022 + return item.bms05 ? item.bms05 : 0
1023 }) 1023 })
1024 1024
1025 - let bmsTwo: Array<String> = arrayList.map((item: any) => { 1025 + let bmsTwo: Array<String> = arrayList.map((item: any) => { // 总电流
1026 return item.bms02 ? item.bms02 : 0 1026 return item.bms02 ? item.bms02 : 0
1027 }) 1027 })
1028 1028
1029 - let bmsThree: Array<String> = arrayList.map((item: any) => {  
1030 - return item.bms03 ? item.bms03 : 0 1029 + let bmsThree: Array<String> = arrayList.map((item: any) => {//总电压
  1030 + return item.bms01 ? item.bms01 : 0
1031 }) 1031 })
1032 1032
1033 - let bmsFour: Array<String> = arrayList.map((item: any) => {  
1034 - return item.bms05 ? item.bms05 : 0 1033 + let bmsFour: Array<String> = arrayList.map((item: any) => {//SOC
  1034 + return item.bms03 ? item.bms03 : 0
1035 }) 1035 })
1036 lineObjLegend = { 1036 lineObjLegend = {
1037 dataList: [bmsOne, bmsTwo, bmsThree, bmsFour], 1037 dataList: [bmsOne, bmsTwo, bmsThree, bmsFour],
@@ -1042,15 +1042,15 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => { @@ -1042,15 +1042,15 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => {
1042 1042
1043 case "PCS_MAP": // PCS 监视 1043 case "PCS_MAP": // PCS 监视
1044 let pcsOne: Array<String> = arrayList.map((item: any) => { 1044 let pcsOne: Array<String> = arrayList.map((item: any) => {
1045 - return item.bms01 ? item.bms01 : 0 1045 + return item.pcs21 ? item.pcs21 : 0
1046 }) 1046 })
1047 1047
1048 let pcsTwo: Array<String> = arrayList.map((item: any) => { 1048 let pcsTwo: Array<String> = arrayList.map((item: any) => {
1049 - return item.bms02 ? item.bms02 : 0 1049 + return item.pcs26 ? item.pcs26 : 0
1050 }) 1050 })
1051 1051
1052 let pcsThree: Array<String> = arrayList.map((item: any) => { 1052 let pcsThree: Array<String> = arrayList.map((item: any) => {
1053 - return item.bms03 ? item.bms03 : 0 1053 + return item.pcs23 ? item.pcs23 : 0
1054 }) 1054 })
1055 1055
1056 1056
@@ -1104,7 +1104,7 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => { @@ -1104,7 +1104,7 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => {
1104 return lineObjLegend 1104 return lineObjLegend
1105 case "EM_MAP": // EM 电能表 1105 case "EM_MAP": // EM 电能表
1106 let emOne: Array<String> = arrayList.map((item: any) => { 1106 let emOne: Array<String> = arrayList.map((item: any) => {
1107 - return item.em01 ? item.em01 : 0 1107 + return item.em03 ? item.em03 : 0
1108 }) 1108 })
1109 1109
1110 let emTwo: Array<String> = arrayList.map((item: any) => { 1110 let emTwo: Array<String> = arrayList.map((item: any) => {
@@ -1112,13 +1112,13 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => { @@ -1112,13 +1112,13 @@ export const getEchartLineType = (type: String, arrayList: Array<any>) => {
1112 }) 1112 })
1113 1113
1114 let emThree: Array<String> = arrayList.map((item: any) => { 1114 let emThree: Array<String> = arrayList.map((item: any) => {
1115 - return item.em03 ? item.em03 : 0 1115 + return item.em01 ? item.em01 : 0
1116 }) 1116 })
1117 1117
1118 1118
1119 lineObjLegend = { 1119 lineObjLegend = {
1120 dataList: [emOne, emTwo, emThree], 1120 dataList: [emOne, emTwo, emThree],
1121 - nameList: ["EM-CA线电流", "EM-BC线电流", "EM-AB线电流"], 1121 + nameList: ["EM-CA线电压", "EM-BC线电压", "EM-AB线电压"],
1122 dateList: dateList 1122 dateList: dateList
1123 } 1123 }
1124 return lineObjLegend 1124 return lineObjLegend