This commit is contained in:
wr
2025-01-16 11:17:13 +08:00
parent 46948118dd
commit 5b6ddacbf7

View File

@@ -1199,8 +1199,8 @@ public class SocketDevResponseService {
.sorted(Comparator.comparing(SourceIssue.ChannelListDTO::getChannelType))
.collect(Collectors.toList());
Map<String, String> sourceMessageMap = sourceMessage(issue);
List<String> v = Arrays.asList("VRMS", "VA", "U", "V");
List<String> i = Arrays.asList("IRMS", "IA", "I", "I");
List<String> v = Arrays.asList("VRMS", "VA", "U", "V","电压");
List<String> i = Arrays.asList("IRMS", "IA", "I", "I","电流");
devMap.forEach((key, value) -> {
List<DevData.SqlDataDTO> sqlData = value.stream().flatMap(x -> x.getSqlData().stream()).collect(Collectors.toList());
getResult(key, sqlData, sourceMessageMap, sourceV, info, v);