@Override
 public int getVersionNumber() {
   ArtLogAlarm artLogAlarm = findByAlarmType(2);
   if (artLogAlarm != null) {
     return artLogAlarm.getAlarmVersion();
   }
   return 0;
 }
 @Override
 public String getAlarmDataByType(int alarmType) {
   try {
     ArtLogAlarm artLogAlarm = findByAlarmType(alarmType);
     if (artLogAlarm != null) return artLogAlarm.getAlarmData();
   } catch (Exception e) {
     e.printStackTrace();
   }
   return null;
 }