发送录波指令、调用录波算法、解析录波数据
This commit is contained in:
@@ -26,8 +26,8 @@ public class ClockStruct {
|
||||
* 格式化时间字符串
|
||||
*/
|
||||
public String format() {
|
||||
return String.format("%04d-%02d-%02d %02d:%02d:%02d.%06d",
|
||||
year, month, day, hour, minute, second, microSecond);
|
||||
return String.format("%04d-%02d-%02dT%02d:%02d:%02d.%03d",
|
||||
year, month, day, hour, minute, second, microSecond/1000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.njcn.gather.tools.comtrade.comparewave.service.impl;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.njcn.gather.tools.comtrade.comparewave.config.PowerQualityConfig;
|
||||
import com.njcn.gather.tools.comtrade.comparewave.core.algorithm.PowerQualityCalculator;
|
||||
import com.njcn.gather.tools.comtrade.comparewave.core.algorithm.WaveformAligner;
|
||||
|
||||
Reference in New Issue
Block a user