Changeset 24951 for branches/czw_branch/cleanup/ippMonitor/scripts/generate
- Timestamp:
- Jul 30, 2009, 5:20:29 PM (17 years ago)
- Location:
- branches/czw_branch/cleanup
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippMonitor/scripts/generate (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/cleanup
- Property svn:mergeinfo changed
/trunk (added) merged: 24714-24742,24744-24784,24786-24798,24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24939
- Property svn:mergeinfo changed
-
branches/czw_branch/cleanup/ippMonitor/scripts/generate
r21044 r24951 308 308 if ($value eq "*") { next; } 309 309 if ($format[$i] eq "%s") { 310 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string');\n"; 311 } else { 312 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string');\n"; 313 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min');\n"; 314 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max');\n"; 315 } 310 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string', 1.0);\n"; 311 next; 312 } 313 if ($format[$i] eq "%C") { 314 # convert the RA & DEC limits to radians for comparison 315 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min', 0.017453);\n"; 316 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max', 0.017453);\n"; 317 next; 318 } 319 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'string', 1.0);\n"; 320 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'min', 1.0);\n"; 321 print FILE "\$WHERE = check_restrict ('$value', \$WHERE, 'max', 1.0);\n"; 316 322 } 317 323 print FILE "\$WHERE = check_ordering ('$GROUPS', \$WHERE);\n";
Note:
See TracChangeset
for help on using the changeset viewer.
