Changeset 9052 for trunk/MagicSoft


Ignore:
Timestamp:
07/30/08 16:14:51 (16 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/datacenter
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/datacheck.php

    r8180 r9052  
    278278            $_GET["fReturnCode"]="Off";
    279279
    280         if (empty($_GET["fFailedCode"]))
    281             $_GET["fFailedCode"]="Off";
    282 
    283         if (empty($_GET["fFailedCodeAdd"]))
    284             $_GET["fFailedCodeAdd"]="Off";
     280        if (empty($_GET["fProgramId"]))
     281            $_GET["fProgramId"]="Off";
    285282
    286283    }
     
    346343        CheckBox("fStartTime",     "StartTime");
    347344        CheckBox("fFailedTime",    "FailedTime");
    348         CheckBox("fReturnCode",    "ErrCode");
    349         CheckBox("fFailedCode",    "RetCode");
    350         CheckBox("fFailedCodeAdd", "CodeAdd");
     345        CheckBox("fReturnCode",    "RetCode");
     346        CheckBox("fProgramId",     "ProgramId");
    351347
    352348        printf("  </tr>\n");
  • trunk/MagicSoft/Mars/datacenter/db/datasetinfo.php

    r8180 r9052  
    236236            $_GET["fReturnCode"]="Off";
    237237
    238         if (empty($_GET["fFailedCode"]))
    239             $_GET["fFailedCode"]="Off";
    240 
    241         if (empty($_GET["fFailedCodeAdd"]))
    242             $_GET["fFailedCodeAdd"]="Off";
     238        if (empty($_GET["fProgramId"]))
     239            $_GET["fProgramId"]="Off";
    243240
    244241    }
     
    279276        CheckBox("fStartTime",     "StartTime");
    280277        CheckBox("fFailedTime",    "FailedTime");
    281         CheckBox("fReturnCode",    "ErrCode");
    282         CheckBox("fFailedCode",    "RetCode");
    283         CheckBox("fFailedCodeAdd", "CodeAdd");
     278        CheckBox("fReturnCode",    "RetCode");
     279        CheckBox("fProgramId",     "ProgramId");
    284280
    285281        printf("  </tr>\n");
  • trunk/MagicSoft/Mars/datacenter/db/magicdefs.php

    r8997 r9052  
    339339     "fFailedTime"                      => "Failed",
    340340     "fReturnCode"                      => "Ret<br>Code",
    341      "fFailedCode"                      => "Err<br>Code",
    342      "fFailedCodeAdd"                   => "Code<br>Add",
     341     "fProgramId"                       => "Prgr<br>Id",
    343342     "fTimestamp"                       => "Time",
    344343     "fExposure"                        => "Exposure",
     
    456455     $alias["fHeightAsymInterlaced"]     => "1",
    457456     $alias["fReturnCode"]               => "1",
    458      $alias["fFailedCode"]               => "1",
    459      $alias["fFailedCodeAdd"]            => "1",
     457     $alias["fProgramId"]                => "1",
    460458     "Time"                              => "1",
    461459//     "Time [h]"                 => "1",
     
    657655         "fFailedTime"                       => "fFailedTime",
    658656         "fReturnCode"                       => "fReturnCode",
    659          "fFailedCode"                       => "fFailedCode",
    660          "fFailedCodeAdd"                    => "fFailedCodeAdd",
     657         "fProgramId"                        => "fProgramId",
    661658         "fParticleTypeName"                 => "ParticleType.fParticleTypeName",
    662659         "fFitsFileName"                     => "FitsFile.fFitsFileName",
  • trunk/MagicSoft/Mars/datacenter/db/menu.php

    r8997 r9052  
    263263    CheckBox("fFailedTime",    "FailTime");
    264264    CheckBox("fReturnCode",    "RetCode");
    265     CheckBox("fFailedCode",    "FailCode");
    266     CheckBox("fFailedCodeAdd", "FailCodeAdd");
     265    CheckBox("fProgramId",     "ProgramId");
    267266
    268267    printf("  </tr>\n");
     
    614613        $_GET["fReturnCode"]="Off";
    615614
    616     if (empty($_GET["fFailedCode"]))
    617         $_GET["fFailedCode"]="Off";
    618 
    619     if (empty($_GET["fFailedCodeAdd"]))
    620         $_GET["fFailedCodeAdd"]="Off";
     615    if (empty($_GET["fProgramId"]))
     616        $_GET["fProgramId"]="Off";
    621617}
    622618
  • trunk/MagicSoft/Mars/datacenter/db/resetseq.php

    r8743 r9052  
    5656                if ($_GET["step"]=="star")
    5757                    $query0 .="fStar=NULL, fFillStar=NULL, ";
    58             $query0 .="fStartTime=NULL, fFailedTime=NULL, fFailedCode=NULL, fFailedCodeAdd=NULL, fReturnCode=NULL ";
     58            $query0 .="fStartTime=NULL, fFailedTime=NULL, fProgramId=NULL, fReturnCode=NULL ";
    5959
    6060            if ($_GET["step"]=="callisto")
  • trunk/MagicSoft/Mars/datacenter/db/runinfo.php

    r8180 r9052  
    326326            $_GET["fReturnCode"]="Off";
    327327
    328         if (empty($_GET["fFailedCode"]))
    329             $_GET["fFailedCode"]="Off";
    330 
    331         if (empty($_GET["fFailedCodeAdd"]))
    332             $_GET["fFailedCodeAdd"]="Off";
     328        if (empty($_GET["fProgramId"]))
     329            $_GET["fProgramId"]="Off";
     330
    333331    }
    334332
     
    387385        CheckBox("fStartTime",     "StartTime");
    388386        CheckBox("fFailedTime",    "FailedTime");
    389         CheckBox("fReturnCode",    "ErrCode");
    390         CheckBox("fFailedCode",    "RetCode");
    391         CheckBox("fFailedCodeAdd", "CodeAdd");
     387        CheckBox("fReturnCode",    "RetCode");
     388        CheckBox("fProgramId",     "ProgramId");
    392389
    393390        printf("  </tr>\n");
  • trunk/MagicSoft/Mars/datacenter/db/sequinfo.php

    r8180 r9052  
    399399            $_GET["fReturnCode"]="Off";
    400400
    401         if (empty($_GET["fFailedCode"]))
    402             $_GET["fFailedCode"]="Off";
    403 
    404         if (empty($_GET["fFailedCodeAdd"]))
    405             $_GET["fFailedCodeAdd"]="Off";
     401        if (empty($_GET["fProgramId"]))
     402            $_GET["fProgramId"]="Off";
    406403
    407404    }
     
    452449        CheckBox("fStartTime",     "StartTime");
    453450        CheckBox("fFailedTime",    "FailedTime");
    454         CheckBox("fReturnCode",    "ErrCode");
    455         CheckBox("fFailedCode",    "RetCode");
    456         CheckBox("fFailedCodeAdd", "CodeAdd");
     451        CheckBox("fReturnCode",    "RedCode");
     452        CheckBox("fProgramId",     "ProgramId");
    457453
    458454        printf("  </tr>\n");
  • trunk/MagicSoft/Mars/datacenter/macros/resetcolumn.C

    r7572 r9052  
    106106    //build query and reset columns
    107107    TString query(Form("Update %s SET %s=NULL ", table.Data(), column.Data()));
    108     query+=", fStartTime=NULL, fFailedTime=NULL, fReturnCode=NULL, fFailedCode=NULL, fFailedCodeAdd=NULL ";
     108    query+=", fStartTime=NULL, fFailedTime=NULL, fReturnCode=NULL, fProgramId=NULL ";
    109109
    110110    TIter Next(&l);
Note: See TracChangeset for help on using the changeset viewer.