Changeset 11359
- Timestamp:
- Jan 29, 2007, 7:35:12 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/config/pmConfigCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/config/pmConfigCamera.c
r11149 r11359 20 20 assert(translation); 21 21 assert(level == PM_FPA_LEVEL_CHIP || level == PM_FPA_LEVEL_FPA); 22 return; 22 23 23 24 psListIterator *iter = psListIteratorAlloc(concepts, PS_LIST_HEAD, false); // Iterator 24 25 psString concept; // Concept, from iteration 25 26 while ((concept = psListGetAndIncrement(iter))) { 26 if (strcmp(concept, "CELL.BIASSEC") != 0 && strcmp(concept, "CELL.TRIMSEC") != 0 && 27 strcmp(concept, "CELL.XPARITY") != 0 && strcmp(concept, "CELL.YPARITY") != 0 && 28 strcmp(concept, "CELL.X0") != 0 && strcmp(concept, "CELL.Y0") != 0 && 29 (level != PM_FPA_LEVEL_FPA || 30 (strcmp(concept, "CHIP.XPARITY") != 0 && strcmp(concept, "CHIP.YPARITY") != 0 && 31 strcmp(concept, "CHIP.X0") != 0 && strcmp(concept, "CHIP.Y0") != 0))) { 32 // We add these ourselves 33 psMetadataAddStr(translation, PS_LIST_TAIL, concept, PS_META_REPLACE, NULL, concept); 34 } 27 // skip concepts added explicitly 28 if (!strcmp(concept, "CELL.BIASSEC")) 29 goto skip; 30 if (!strcmp(concept, "CELL.TRIMSEC")) 31 goto skip; 32 if (!strcmp(concept, "CELL.XPARITY")) 33 goto skip; 34 if (!strcmp(concept, "CELL.YPARITY")) 35 goto skip; 36 if (!strcmp(concept, "CELL.X0")) 37 goto skip; 38 if (!strcmp(concept, "CELL.Y0")) 39 goto skip; 40 if ((level == PM_FPA_LEVEL_FPA) && !strcmp(concept, "CHIP.XPARITY")) 41 goto skip; 42 if ((level == PM_FPA_LEVEL_FPA) && !strcmp(concept, "CHIP.YPARITY")) 43 goto skip; 44 if ((level == PM_FPA_LEVEL_FPA) && !strcmp(concept, "CHIP.X0")) 45 goto skip; 46 if ((level == PM_FPA_LEVEL_FPA) && !strcmp(concept, "CHIP.Y0")) 47 goto skip; 48 psMetadataAddStr(translation, PS_LIST_TAIL, concept, PS_META_REPLACE, NULL, concept); 49 skip: 35 50 if (database && psMetadataLookup(database, concept)) { 36 51 psMetadataRemoveKey(database, concept);
Note:
See TracChangeset
for help on using the changeset viewer.
