|
|
|
@@ -425,8 +425,12 @@ public class AlarmDataParse { |
|
|
|
* 报警时间 |
|
|
|
*/ |
|
|
|
String year = Integer.toString(strACSInfo.struTime.dwYear); |
|
|
|
String SwipeTime = year + strACSInfo.struTime.dwMonth + strACSInfo.struTime.dwDay + strACSInfo.struTime.dwHour + strACSInfo.struTime.dwMinute + |
|
|
|
strACSInfo.struTime.dwSecond; |
|
|
|
String month = String.format("%02d",strACSInfo.struTime.dwMonth); |
|
|
|
String day = String.format("%02d",strACSInfo.struTime.dwDay); |
|
|
|
String hour = String.format("%02d",strACSInfo.struTime.dwHour); |
|
|
|
String minute = String.format("%02d",strACSInfo.struTime.dwMinute); |
|
|
|
String second = String.format("%02d",strACSInfo.struTime.dwSecond); |
|
|
|
String SwipeTime = year + month + day + hour + minute + second; |
|
|
|
info.setAlarmTime(SwipeTime); |
|
|
|
if (strACSInfo.dwPicDataLen > 0) { |
|
|
|
//将字节写入文件 |
|
|
|
|