微调
This commit is contained in:
@@ -41,7 +41,11 @@ public class ScriptDtlsDesc {
|
|||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
if (CollUtil.isNotEmpty(values)) {
|
if (CollUtil.isNotEmpty(values)) {
|
||||||
for (PqScriptDtls dtls : 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);
|
buffer.append(prefix + dtls.getPhase().toLowerCase() + "=" + dtls.getValue() + unit);
|
||||||
|
}
|
||||||
if (suffix != null) {
|
if (suffix != null) {
|
||||||
buffer.append("," + suffix + dtls.getAngle() + "° ");
|
buffer.append("," + suffix + dtls.getAngle() + "° ");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user