Changeset 23532 for branches/pap/ippTools/src/dettool_normalizedimfile.c
- Timestamp:
- Mar 25, 2009, 12:48:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/ippTools/src/dettool_normalizedimfile.c
r19092 r23532 80 80 PXOPT_LOOKUP_STR(class_id, config->args, "-class_id", true, false); 81 81 82 PXOPT_LOOKUP_S16( code, config->args, "-code", false, false);83 84 // Required if code== 085 PXOPT_LOOKUP_STR(uri, config->args, "-uri", ( code== 0), false);82 PXOPT_LOOKUP_S16(fault, config->args, "-fault", false, false); 83 84 // Required if fault == 0 85 PXOPT_LOOKUP_STR(uri, config->args, "-uri", (fault == 0), false); 86 86 87 87 // optional … … 97 97 98 98 if (!detNormalizedImfileInsert( 99 config->dbh,100 det_id,101 iteration,102 class_id,103 uri,104 bg,105 bg_stdev,106 bg_mean_stdev,107 user_1,108 user_2,109 user_3,110 user_4,111 user_5,112 path_base,113 "full",114 code 115 )) {99 config->dbh, 100 det_id, 101 iteration, 102 class_id, 103 uri, 104 bg, 105 bg_stdev, 106 bg_mean_stdev, 107 user_1, 108 user_2, 109 user_3, 110 user_4, 111 user_5, 112 path_base, 113 "full", 114 fault 115 )) { 116 116 psError(PS_ERR_UNKNOWN, false, "database error"); 117 117 return false; … … 201 201 PXOPT_COPY_S32(config->args, where, "-iteration", "iteration", "=="); 202 202 PXOPT_COPY_STR(config->args, where, "-class_id", "class_id", "=="); 203 PXOPT_COPY_S16(config->args, where, "- code", "fault", "==");203 PXOPT_COPY_S16(config->args, where, "-fault", "fault", "=="); 204 204 205 205 psString query = pxDataGet("dettool_revertnormalizedimfile.sql"); … … 241 241 242 242 if (!setNormImfileDataState(config, det_id, iteration, class_id, data_state)) { 243 return false;243 return false; 244 244 } 245 245 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
