This commit is contained in:
wr
2025-01-16 08:52:44 +08:00
parent d58e957dae
commit ec2242bc35

View File

@@ -41,7 +41,11 @@ public class ScriptDtlsDesc {
.collect(Collectors.toList());
if (CollUtil.isNotEmpty(values)) {
for (PqScriptDtls dtls : values) {
if ("Freq".equals(valueType)) {
buffer.append(prefix + "=" + dtls.getValue() + unit);
} else {
buffer.append(prefix + dtls.getPhase().toLowerCase() + "=" + dtls.getValue() + unit);
}
if (suffix != null) {
buffer.append("," + suffix + dtls.getAngle() + "° ");
} else {