|
@@ -119,7 +119,7 @@ public class MaterialCutFrameServiceImpl extends ServiceImpl<MaterialCutFrameMap
|
|
|
// Integer time = ((secondDuration.intValue() - 2) / 14) + 1; // 时长 / 14 == 间隔时间
|
|
|
|
|
|
double num = (double) secondDuration / 14;
|
|
|
- double rint = Math.rint(num);
|
|
|
+ long rint = Math.round(num);
|
|
|
log.info("相隔时间数:{}", rint);
|
|
|
snapshotConfig.put("Time", 2000);
|
|
|
// SnapshotConfig->Interval/Num
|