|
|
|
@ -137,16 +137,17 @@ public class BoxTemperatureHistoryServiceImpl implements IBoxTemperatureHistoryS
|
|
|
|
|
if (i==0){
|
|
|
|
|
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{
|
|
|
|
|
strings[j] = twoArray[j][i];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
tempList.add(strings);
|
|
|
|
|
}
|
|
|
|
|
for (int i=0;i< yaxis.length;i++){
|
|
|
|
|
System.out.println(Arrays.toString(tempList.get(i)));
|
|
|
|
|
}
|
|
|
|
|
// for (int i=0;i< yaxis.length;i++){
|
|
|
|
|
// System.out.println(Arrays.toString(tempList.get(i)));
|
|
|
|
|
// }
|
|
|
|
|
return tempList;
|
|
|
|
|
}
|
|
|
|
|
//根据分号转为二维数组
|
|
|
|
|