Changeset 9896 for trunk


Ignore:
Timestamp:
08/26/10 14:35:10 (14 years ago)
Author:
Daniela Dorner
Message:
implemented CeresSetupKEY for mcinfo.php
Location:
trunk/Mars/datacenter/db
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/db/mcdefs.php

    r9617 r9896  
    1616     "fRunTypeName"                      => CheckWhere("fRunTypeKEY"),
    1717     "fAtmosphericModelName"             => CheckWhere("fAtmosphericModelKEY"),
     18     "fCeresSetupName"                   => CheckWhere("fCeresSetupKEY"),
    1819    );
    1920
     
    2324     "fRunTypeName"                      => CheckGroup("fRunTypeKEY"),
    2425     "fAtmosphericModelName"             => CheckGroup("fAtmosphericModelKEY"),
     26     "fCeresSetupName"                   => CheckGroup("fCeresSetupKEY"),
    2527    );
    2628
     
    4648     "fRunTypeName"             => "RunType",
    4749     "fAtmosphericModelName"    => "Atm.Model",
     50     "fCeresSetupName"          => "CeresSetup",
    4851     "fCorsikaInputCreated"     => "Input",
    4952     "Corsika"                  => "Corsika",
     
    9598         "fRunTypeName"              => "RunType.fRunTypeKEY",
    9699         "fAtmosphericModelName"     => "AtmosphericModel.fAtmosphericModelKEY",
     100         "fCeresSetupName"           => "CeresSetup.fCeresSetupKEY",
    97101        );
    98102
     
    116120         "fRunTypeName"                      => "RunType.fRunTypeName",
    117121         "fAtmosphericModelName"             => "AtmosphericModel.fAtmosphericModelName",
     122         "fCeresSetupName"                   => "CeresSetup.fCeresSetupName",
    118123         "fAzimuthMin"                       => "CorsikaInfo.fAzimuthMin",
    119124         "fAzimuthMax"                       => "CorsikaInfo.fAzimuthMax",
     
    161166         "fRunTypeKEY"                => " LEFT JOIN RunType              USING(fRunTypeKEY) ",
    162167         "fAtmosphericModelKEY"       => " LEFT JOIN AtmosphericModel     USING(fAtmosphericModelKEY) ",
     168         "fCeresSetupKEY"             => " LEFT JOIN CeresSetup           USING(fCeresSetupKEY) ",
    163169         "fParticleTypeName"          => " LEFT JOIN ParticleType         USING(fParticleTypeKEY) ",
    164170         "fRunTypeName"               => " LEFT JOIN RunType              USING(fRunTypeKEY) ",
    165171         "fAtmosphericModelName"      => " LEFT JOIN AtmosphericModel     USING(fAtmosphericModelKEY) ",
     172         "fCeresSetupName"            => " LEFT JOIN CeresSetup           USING(fCeresSetupKEY) ",
    166173         "CorsikaStatus"              => " LEFT JOIN CorsikaStatus        USING(fRunNumber, fFileNumber) ",
    167174         "CeresStatus"                => " LEFT JOIN CeresStatus          USING(fRunNumber, fFileNumber, fCeresSetupKEY) ",
  • trunk/Mars/datacenter/db/menu.php

    r9617 r9896  
    3838    printf("  </td><td>\n");
    3939    PrintPullDown($host, $user, $pw, $db, "AtmosphericModel",     "fAtmosphericModelName",     "fAtmosphericModelKEY", "Atm. model");
     40    printf("  </td><td>\n");
     41    PrintPullDown($host, $user, $pw, $db, "CeresSetup",     "fCeresSetupName",     "fCeresSetupKEY", "Ceres setup");
    4042    printf("  </td>\n");
    4143
     
    16721674        $_GET["fAtmosphericModelName"]="Off";
    16731675
     1676    if (empty($_GET["fCeresSetupName"]))
     1677        $_GET["fCeresSetupName"]=$first?"On":"";
     1678
    16741679    if (empty($_GET["fNumEvents"]))
    16751680        $_GET["fNumEvents"]=$first?"On":"";
Note: See TracChangeset for help on using the changeset viewer.