Changeset 9106 for trunk/MagicSoft/Mars/datacenter/db/magicdefs.php
- Timestamp:
- 08/06/08 16:52:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/magicdefs.php
r9052 r9106 156 156 "fFormatVersion" => "F-Ver", 157 157 "fLastUpdate" => "LastUpd", 158 "fRunNumber" => "Run#", 158 // "fRunNumber" => "Run#", 159 "Run#" => "Run#", 160 "Tel:Run:File" => "Tel:Run:File", 159 161 "fRunTypeName" => "RunType", 160 162 "fMeanTriggerRate" => "Rate<br>[Hz]", … … 668 670 if (!empty($tables[$val])) 669 671 $table=$tables[$val]; 672 if ($val=="Tel:Run:File") 673 $table="'Tel:Run:File'"; 674 if ($val=="Tel:Sequ") 675 $table="'Tel:Sequ'"; 670 676 if ($val=="NumRuns") 671 677 $table="'# Runs'"; … … 686 692 $joins = array 687 693 ( 688 "fRunTypeName" => " LEFT JOIN RunType ON " . $fromtable . ".fRunTypeKEY=RunType.fRunTypeKEY",689 "fProjectName" => " LEFT JOIN Project ON " . $fromtable . ".fProjectKEY=Project.fProjectKEY",690 "fSourceName" => " LEFT JOIN Source ON " . $fromtable . ".fSourceKEY=Source.fSourceKEY",691 "fMagicNumberName" => " LEFT JOIN MagicNumber ON " . $fromtable . ".fMagicNumberKEY=MagicNumber.fMagicNumberKEY",692 "fL1TriggerTableName" => " LEFT JOIN L1TriggerTable ON " . $fromtable . ".fL1TriggerTableKEY=L1TriggerTable.fL1TriggerTableKEY",693 "fL2TriggerTableName" => " LEFT JOIN L2TriggerTable ON " . $fromtable . ".fL2TriggerTableKEY=L2TriggerTable.fL2TriggerTableKEY",694 "fHvSettingsName" => " LEFT JOIN HvSettings ON " . $fromtable . ".fHvSettingsKEY=HvSettings.fHvSettingsKEY",695 "fCalibrationScriptName" => " LEFT JOIN CalibrationScript ON " . $fromtable . ".fCalibrationScriptKEY=CalibrationScript.fCalibrationScriptKEY",696 "fExcludedFDAName" => " LEFT JOIN ExcludedFDA ON " . $fromtable . ".fExcludedFDAKEY=ExcludedFDA.fExcludedFDAKEY",697 "fManuallyChangedName" => " LEFT JOIN ManuallyChanged ON " . $fromtable . ".fManuallyChangedKEY=ManuallyChanged.fManuallyChangedKEY",698 "fObservationModeName" => " LEFT JOIN ObservationMode ON " . $fromtable . ".fObservationModeKEY=ObservationMode.fObservationModeKEY",699 "fDiscriminatorThresholdTableName" => " LEFT JOIN DiscriminatorThresholdTable ON " . $fromtable . ".fDiscriminatorThresholdTableKEY=DiscriminatorThresholdTable.fDiscriminatorThresholdTableKEY",700 "fTriggerDelayTableName" => " LEFT JOIN TriggerDelayTable ON " . $fromtable . ".fTriggerDelayTableKEY=TriggerDelayTable.fTriggerDelayTableKEY",701 "fTestFlagName" => " LEFT JOIN TestFlag ON " . $fromtable . ".fTestFlagKEY=TestFlag.fTestFlagKEY",702 "fLightConditionsName" => " LEFT JOIN LightConditions ON " . $fromtable . ".fLightConditionsKEY=LightConditions.fLightConditionsKEY",703 "fParticleTypeName" => " LEFT JOIN ParticleType ON " . $fromtable . ".fParticleTypeKEY=ParticleType.fParticleTypeKEY",704 "fFitsFileName" => " LEFT JOIN FitsFile ON " . $fromtable . ".fFitsFileKEY=FitsFile.fFitsFileKEY",705 "fObjectName" => " LEFT JOIN Object ON " . $fromtable . ".fObjectKEY=Object.fObjectKEY",706 "fStatusName" => " LEFT JOIN Status ON " . $fromtable . ".fStatusKEY=Status.fStatusKEY",707 "fBandName" => " LEFT JOIN Band ON " . $fromtable . ".fBandKEY=Band.fBandKEY",708 "fUserName" => " LEFT JOIN User ON " . $fromtable . ".fUserKEY=User.fUserKEY",709 "fTelescopeName" => " LEFT JOIN Telescope ON " . $fromtable . ".fTelescopeKEY=Telescope.fTelescopeKEY",694 "fRunTypeName" => " LEFT JOIN RunType USING(fRunTypeKEY) ", 695 "fProjectName" => " LEFT JOIN Project USING(fProjectKEY) ", 696 "fSourceName" => " LEFT JOIN Source USING(fSourceKEY) ", 697 "fMagicNumberName" => " LEFT JOIN MagicNumber USING(fMagicNumberKEY) ", 698 "fL1TriggerTableName" => " LEFT JOIN L1TriggerTable USING(fL1TriggerTableKEY) ", 699 "fL2TriggerTableName" => " LEFT JOIN L2TriggerTable USING(fL2TriggerTableKEY) ", 700 "fHvSettingsName" => " LEFT JOIN HvSettings USING(fHvSettingsKEY) ", 701 "fCalibrationScriptName" => " LEFT JOIN CalibrationScript USING(fCalibrationScriptKEY) ", 702 "fExcludedFDAName" => " LEFT JOIN ExcludedFDA USING(fExcludedFDAKEY) ", 703 "fManuallyChangedName" => " LEFT JOIN ManuallyChanged USING(fManuallyChangedKEY) ", 704 "fObservationModeName" => " LEFT JOIN ObservationMode USING(fObservationModeKEY) ", 705 "fDiscriminatorThresholdTableName" => " LEFT JOIN DiscriminatorThresholdTable USING(fDiscriminatorThresholdTableKEY) ", 706 "fTriggerDelayTableName" => " LEFT JOIN TriggerDelayTable USING(fTriggerDelayTableKEY) ", 707 "fTestFlagName" => " LEFT JOIN TestFlag USING(fTestFlagKEY) ", 708 "fLightConditionsName" => " LEFT JOIN LightConditions USING(fLightConditionsKEY) ", 709 "fParticleTypeName" => " LEFT JOIN ParticleType USING(fParticleTypeKEY) ", 710 "fFitsFileName" => " LEFT JOIN FitsFile USING(fFitsFileKEY) ", 711 "fObjectName" => " LEFT JOIN Object USING(fObjectKEY) ", 712 "fStatusName" => " LEFT JOIN Status USING(fStatusKEY) ", 713 "fBandName" => " LEFT JOIN Band USING(fBandKEY) ", 714 "fUserName" => " LEFT JOIN User USING(fUserKEY) ", 715 "fTelescopeName" => " LEFT JOIN Telescope USING(fTelescopeKEY) ", 710 716 ); 711 717
Note:
See TracChangeset
for help on using the changeset viewer.