Пример #1
0
 public static void saveGWDataForSM(GWSaveEntry saveEntry, TagTimeEntry tagTimeEntry) {
   setLastSaveFolder(saveEntry.path3);
   String now = GTUtils.getSaveDate();
   saveEntry.setNow(now);
   LogUtils.writeGWDataForSM(saveEntry, tagTimeEntry);
   LogUtils.writeGWDesc(saveEntry, tagTimeEntry);
 }
Пример #2
0
 public static void saveAllEnableGWData(GWSaveEntry saveEntry) {
   setLastSaveFolder(saveEntry.path3);
   String now = GTUtils.getSaveDate();
   saveEntry.setNow(now);
   TagTimeEntry[] ttes = OpPerfBridge.getAllEnableProfilerData();
   for (TagTimeEntry tte : ttes) {
     if (null != tte && tte.getAlias().equals("SM")) {
       LogUtils.writeGWDataForSM(saveEntry, tte);
     } else {
       LogUtils.writeGWData(saveEntry, tte);
     }
   }
   LogUtils.writeGWDesc(saveEntry, ttes);
 }