- Timestamp:
- Oct 2, 2009, 5:10:19 PM (17 years ago)
- Location:
- branches/eam_branches/20090820
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/concepts/pmConceptsStandard.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090820
- Property svn:mergeinfo changed
-
branches/eam_branches/20090820/psModules/src/concepts/pmConceptsStandard.c
r25169 r25766 161 161 assert(concept); 162 162 assert(pattern); 163 164 163 double value = NAN; 165 164 switch (concept->type) { … … 736 735 return psMetadataItemAllocS32(pattern->name, pattern->comment, binning); 737 736 } 737 738 // BTOOLAPP 739 psMetadataItem *p_pmConceptParse_BTOOLAPP(const psMetadataItem *concept, 740 const psMetadataItem *pattern, 741 pmConceptSource source, 742 const psMetadata *cameraFormat, 743 const pmFPA *fpa, 744 const pmChip *chip, 745 const pmCell *cell) 746 { 747 assert(concept); 748 assert(pattern); 749 750 int bt_status = 0; 751 752 if (concept->type != PS_DATA_BOOL) { 753 psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Type for %s (%x) is not BOOL\n", 754 concept->name, concept->type); 755 return NULL; 756 } 757 758 if (concept->data.B == true) { 759 bt_status = -2; 760 } 761 else if (concept->data.B == false) { 762 bt_status = 1 ; 763 } 764 765 return psMetadataItemAllocS32(concept->name, concept->comment, bt_status); 766 } 738 767 739 768 // Get the current value of a concept
Note:
See TracChangeset
for help on using the changeset viewer.
