|
@@ -96,6 +96,16 @@ export const list = (params) => {
|
|
if (res.device_arr) {
|
|
if (res.device_arr) {
|
|
res.device_arr = Object.values(res.device);
|
|
res.device_arr = Object.values(res.device);
|
|
}
|
|
}
|
|
|
|
+ if (res.sys_wind) {
|
|
|
|
+ res.sys_wind.forEach((e) => {
|
|
|
|
+ if (e.readData.m3) {
|
|
|
|
+ e.readData.m3 = Math.abs(parseFloat(e.readData.m3));
|
|
|
|
+ }
|
|
|
|
+ if (e.readData.va) {
|
|
|
|
+ e.readData.va = Math.abs(parseFloat(e.readData.va));
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
|
|
return res;
|
|
return res;
|
|
});
|
|
});
|