|
|
@ -137,16 +137,17 @@ public class BoxTemperatureHistoryServiceImpl implements IBoxTemperatureHistoryS
|
|
|
|
if (i==0){
|
|
|
|
if (i==0){
|
|
|
|
long l = beginTime.getTime() + (j * 30 * 1000);
|
|
|
|
long l = beginTime.getTime() + (j * 30 * 1000);
|
|
|
|
//获取后八位 不要年月
|
|
|
|
//获取后八位 不要年月
|
|
|
|
strings[j] = "\""+sdf.format(l).substring(sdf.format(l).length()-8,sdf.format(l).length())+"\"";
|
|
|
|
// strings[j] = "\""+sdf.format(l).substring(sdf.format(l).length()-8,sdf.format(l).length())+"\"";
|
|
|
|
|
|
|
|
strings[j] = String.valueOf(j);
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
strings[j] = twoArray[j][i];
|
|
|
|
strings[j] = twoArray[j][i];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tempList.add(strings);
|
|
|
|
tempList.add(strings);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for (int i=0;i< yaxis.length;i++){
|
|
|
|
// for (int i=0;i< yaxis.length;i++){
|
|
|
|
System.out.println(Arrays.toString(tempList.get(i)));
|
|
|
|
// System.out.println(Arrays.toString(tempList.get(i)));
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
return tempList;
|
|
|
|
return tempList;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//根据分号转为二维数组
|
|
|
|
//根据分号转为二维数组
|
|
|
|