Changeset 8249 for trunk/MagicSoft/Mars/datacenter/db/menu.php
- Timestamp:
- 01/15/07 00:43:47 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/menu.php
r8198 r8249 536 536 } 537 537 538 function InitFailInfo($_GET )538 function InitFailInfo($_GET, $first) 539 539 { 540 540 if (empty($_GET["fStartTime"])) … … 554 554 } 555 555 556 function InitInfo($_GET )556 function InitInfo($_GET, $first) 557 557 { 558 558 if (empty($_GET["fNumResults"])) … … 599 599 } 600 600 601 function InitRunStatus($_GET )601 function InitRunStatus($_GET, $first) 602 602 { 603 603 if (empty($_GET["fDataCheckDone"])) … … 638 638 } 639 639 640 function InitRunInfo($_GET )641 { 642 InitRunStatus($_GET );643 InitInfo($_GET );644 InitFailInfo($_GET );640 function InitRunInfo($_GET, $first) 641 { 642 InitRunStatus($_GET, $first); 643 InitInfo($_GET, $first); 644 InitFailInfo($_GET, $first); 645 645 646 646 if (empty($_GET["fFormatVersion"])) … … 693 693 } 694 694 695 function InitSequStatus($_GET )695 function InitSequStatus($_GET, $first) 696 696 { 697 697 if (empty($_GET["fSequenceFileWritten"])) … … 732 732 } 733 733 734 function InitStarInfo($_GET )734 function InitStarInfo($_GET, $first) 735 735 { 736 736 if (empty($_GET["fMeanNumberIslands"])) … … 763 763 if (empty($_GET["fMaxHumidity"])) 764 764 $_GET["fMaxHumidity"]="Off"; 765 } 766 767 function InitCalInfo($_GET) 765 766 if (empty($_GET["fBrightnessMed"])) 767 $_GET["fBrightnessMed"]="Off"; 768 769 if (empty($_GET["fBrightnessRMS"])) 770 $_GET["fBrightnessRMS"]="Off"; 771 772 if (empty($_GET["fNumStarsMed"])) 773 $_GET["fNumStarsMed"]="Off"; 774 775 if (empty($_GET["fNumStarsRMS"])) 776 $_GET["fNumStarsRMS"]="Off"; 777 778 if (empty($_GET["fNumStarsCorMed"])) 779 $_GET["fNumStarsCorMed"]="Off"; 780 781 if (empty($_GET["fNumStarsCorRMS"])) 782 $_GET["fNumStarsCorRMS"]="Off"; 783 } 784 785 function InitCalInfo($_GET, $first) 768 786 { 769 787 if (empty($_GET["fUnreliableInner"])) … … 822 840 } 823 841 824 function InitSequInfo($_GET )825 { 826 InitInfo($_GET );827 InitSequStatus($_GET );828 InitFailInfo($_GET );829 InitCalInfo($_GET );830 InitStarInfo($_GET );842 function InitSequInfo($_GET, $first) 843 { 844 InitInfo($_GET, $first); 845 InitSequStatus($_GET, $first); 846 InitFailInfo($_GET, $first); 847 InitCalInfo($_GET, $first); 848 InitStarInfo($_GET, $first); 831 849 832 850 if (empty($_GET["fRunTime/60"])) … … 855 873 } 856 874 857 function InitDataSetStatus($_GET )875 function InitDataSetStatus($_GET, $first) 858 876 { 859 877 if (empty($_GET["fDataSetInserted"])) … … 882 900 } 883 901 884 function InitDataSetInfo($_GET )885 { 886 InitDataSetStatus($_GET );887 InitFailInfo($_GET );902 function InitDataSetInfo($_GET, $first) 903 { 904 InitDataSetStatus($_GET, $first); 905 InitFailInfo($_GET, $first); 888 906 889 907 if (empty($_GET["fNumResults"])) … … 927 945 } 928 946 929 function InitFindOffData($_GET )930 { 931 InitSequInfo($_GET );947 function InitFindOffData($_GET, $first) 948 { 949 InitSequInfo($_GET, $first); 932 950 933 951 if (empty($_GET["fArrTimeLimitMean"])) … … 961 979 $_GET["fPSFLimitRms"]=""; 962 980 963 if (empty($_GET["fUnsInLimitMean"])) 964 $_GET["fUnsInLimitMean"]=""; 965 966 if (empty($_GET["fZdMinLimitMean"])) 967 $_GET["fZdMinLimitMean"]=""; 968 969 if (empty($_GET["fZdMaxLimitMean"])) 970 $_GET["fZdMaxLimitMean"]=""; 981 if (empty($_GET["fUnsInLimit1"])) 982 $_GET["fUnsInLimit1"]=""; 983 984 if (empty($_GET["fUnsInLimit2"])) 985 $_GET["fUnsInLimit2"]=""; 986 987 if (empty($_GET["fIsoInLimit1"])) 988 $_GET["fIsoInLimit1"]=""; 989 990 if (empty($_GET["fIsoInLimit2"])) 991 $_GET["fIsoInLimit2"]=""; 992 993 if (empty($_GET["fIMCLimit1"])) 994 $_GET["fIMCLimit1"]=""; 995 996 if (empty($_GET["fIMCLimit2"])) 997 $_GET["fIMCLimit2"]=""; 998 999 if (empty($_GET["fZdMinLimit1"])) 1000 $_GET["fZdMinLimit1"]=""; 1001 1002 if (empty($_GET["fZdMinLimit2"])) 1003 $_GET["fZdMinLimit2"]=""; 1004 1005 if (empty($_GET["fZdMaxLimit1"])) 1006 $_GET["fZdMaxLimit1"]=""; 1007 1008 if (empty($_GET["fZdMaxLimit2"])) 1009 $_GET["fZdMaxLimit2"]=""; 1010 1011 if (empty($_GET["fMuonCalLimitMean"])) 1012 $_GET["fMuonCalLimitMean"]=""; 1013 1014 if (empty($_GET["fMuonCalLimitRms"])) 1015 $_GET["fMuonCalLimitRms"]=""; 1016 1017 if (empty($_GET["fInhomLimitMean"])) 1018 $_GET["fInhomLimitMean"]=""; 1019 1020 if (empty($_GET["fInhomLimitRms"])) 1021 $_GET["fInhomLimitRms"]=""; 1022 1023 if (empty($_GET["fNumIslLimitMean"])) 1024 $_GET["fNumIslLimitMean"]=""; 1025 1026 if (empty($_GET["fNumIslLimitRms"])) 1027 $_GET["fNumIslLimitRms"]=""; 1028 1029 if (empty($_GET["fSkyBrightLimitMean"])) 1030 $_GET["fSkyBrightLimitMean"]=""; 1031 1032 if (empty($_GET["fSkyBrightLimitRms"])) 1033 $_GET["fSkyBrightLimitRms"]=""; 1034 1035 if (empty($_GET["fNumStarsLimit1"])) 1036 $_GET["fNumStarsLimit1"]=""; 1037 1038 if (empty($_GET["fNumStarsLimit2"])) 1039 $_GET["fNumStarsLimit2"]=""; 1040 1041 if (empty($_GET["fNumStarsCorLimit1"])) 1042 $_GET["fNumStarsCorLimit1"]=""; 1043 1044 if (empty($_GET["fNumStarsCorLimit2"])) 1045 $_GET["fNumStarsCorLimit2"]=""; 1046 1047 if (empty($_GET["fMuonNumLimit1"])) 1048 $_GET["fMuonNumLimit1"]=""; 1049 1050 if (empty($_GET["fMuonNumLimit2"])) 1051 $_GET["fMuonNumLimit2"]=""; 1052 1053 if (empty($_GET["fRelTimeMinLimit1"])) 1054 $_GET["fRelTimeMinLimit1"]=""; 1055 1056 if (empty($_GET["fRelTimeMinLimit2"])) 1057 $_GET["fRelTimeMinLimit2"]=""; 1058 1059 if (empty($_GET["fRelTimeMaxLimit1"])) 1060 $_GET["fRelTimeMaxLimit1"]=""; 1061 1062 if (empty($_GET["fRelTimeMaxLimit2"])) 1063 $_GET["fRelTimeMaxLimit2"]=""; 1064 1065 if (empty($_GET["fRunTimeLimit1"])) 1066 $_GET["fRunTimeLimit1"]=""; 1067 1068 if (empty($_GET["fRunTimeLimit2"])) 1069 $_GET["fRunTimeLimit2"]=""; 1070 1071 if (empty($_GET["fPulsePosLimit1"])) 1072 $_GET["fPulsePosLimit1"]=""; 1073 1074 if (empty($_GET["fPulsePosLimit2"])) 1075 $_GET["fPulsePosLimit2"]=""; 1076 1077 if (empty($_GET["fMaxHumLimit1"])) 1078 $_GET["fMaxHumLimit1"]=""; 1079 1080 if (empty($_GET["fMaxHumLimit2"])) 1081 $_GET["fMaxHumLimit2"]=""; 1082 971 1083 } 972 1084
Note:
See TracChangeset
for help on using the changeset viewer.