|
@ -47,11 +47,6 @@ public class QualityCompareService { |
|
|
private String qualityPath; |
|
|
private String qualityPath; |
|
|
|
|
|
|
|
|
public List<Float[]> findByTimeAndElement(String date, String var, String locate) throws IOException, IllegalAccessException { |
|
|
public List<Float[]> findByTimeAndElement(String date, String var, String locate) throws IOException, IllegalAccessException { |
|
|
//// String filepath = qualityPath + var + "-" + date + ".CSV";
|
|
|
|
|
|
// boolean isExtinction = var.equals(EXTINCTION);
|
|
|
|
|
|
// String filepath = String.format("%s/%s/%s/%s-%s.CSV", qualityPath, getFilepathByLocate(locate), isExtinction ? var : "Raman Products/" + var, var, time.format(TIME_FORMATTER));
|
|
|
|
|
|
//// return read(filepath, time, isExtinction? 801 : 101);
|
|
|
|
|
|
//// List<Float[]> data = read(var, locate, time, isExtinction? 801 : 101);
|
|
|
|
|
|
int timeLength = 24; |
|
|
int timeLength = 24; |
|
|
LocalDateTime time = LocalDateTime.parse(date, DATE_FORMATTER).withMinute(59).withSecond(59); |
|
|
LocalDateTime time = LocalDateTime.parse(date, DATE_FORMATTER).withMinute(59).withSecond(59); |
|
|
LocalDateTime tempTime = time; |
|
|
LocalDateTime tempTime = time; |
|
|