Changeset 30382
- Timestamp:
- Jan 26, 2011, 4:04:02 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/raw/czartool_exposures.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/raw/czartool_exposures.php
r30380 r30382 64 64 65 65 $chipDist = array(); getChipDist($db, $date, $surveyStr, &$chipDist); 66 $ dist2_hash = array(); getCamDist($db, $date, $surveyStr, &$dist2_hash);67 $ dist3_hash = array(); getWarpDist($db, $date, $surveyStr, &$dist3_hash);68 $ dist4_hash = array(); getStackDist($db, $date, $surveyStr, &$dist4_hash);66 $camDist = array(); getCamDist($db, $date, $surveyStr, &$camDist); 67 $warpDist = array(); getWarpDist($db, $date, $surveyStr, &$warpDist); 68 $stackDist = array(); getStackDist($db, $date, $surveyStr, &$stackDist); 69 69 $stack_hash = array(); getStackProduced($db, $date, $surveyStr, &$stack_hash); 70 70 … … 75 75 $wsDiffDist = array(); 76 76 $ww1DiffDist = array(); 77 get Dist5($db, $date, $surveyStr, &$wsDiffDist, &$ww1DiffDist, $wsDiffProduced);78 79 $ww2DiffDist = array(); get Dist6($db, $date, $surveyStr, &$ww2DiffDist);80 $ssDiffDist = array(); get Dist7($db, $date, $surveyStr, &$ssDiffDist);81 82 $ww2DiffProduced = array(); get Diff2($db, $date, $surveyStr, &$ww2DiffProduced);83 $ssDiffProduced = array(); get s1d($db, $date, $surveyStr, &$ssDiffProduced);77 getWSAndWW1DiffDist($db, $date, $surveyStr, &$wsDiffDist, &$ww1DiffDist, $wsDiffProduced); 78 79 $ww2DiffDist = array(); getWW2DiffDist($db, $date, $surveyStr, &$ww2DiffDist); 80 $ssDiffDist = array(); getSSDiffDist($db, $date, $surveyStr, &$ssDiffDist); 81 82 $ww2DiffProduced = array(); getWW2DiffProduced($db, $date, $surveyStr, &$ww2DiffProduced); 83 $ssDiffProduced = array(); getSSDiffProduced($db, $date, $surveyStr, &$ssDiffProduced); 84 84 85 85 $class = "list"; … … 152 152 153 153 // cam 154 if (!$ dist2_hash[$exp_id]) $camDistStr = "N";155 else $camDistStr = $ dist2_hash[$exp_id];154 if (!$camDist[$exp_id]) $camDistStr = "N"; 155 else $camDistStr = $camDist[$exp_id]; 156 156 157 157 // warp 158 if (!$ dist3_hash[$exp_id]) $warpDistStr = "N";159 else $warpDistStr = $ dist3_hash[$exp_id];158 if (!$warpDist[$exp_id]) $warpDistStr = "N"; 159 else $warpDistStr = $warpDist[$exp_id]; 160 160 161 161 // stack 162 if (!$stack_hash[$exp_id] && !$ dist4_hash[$exp_id]) $stackDistStr = "";163 else $stackDistStr = $stack_hash[$exp_id] . "/" . $ dist4_hash[$exp_id];162 if (!$stack_hash[$exp_id] && !$stackDist[$exp_id]) $stackDistStr = ""; 163 else $stackDistStr = $stack_hash[$exp_id] . "/" . $stackDist[$exp_id]; 164 164 165 165 // WS diff … … 353 353 ########################################################################### 354 354 # 355 # Gets count of TODOdistributed356 # 357 ########################################################################### 358 function get Dist5($db, $date, $surveyStr, $hash1, $hash2, $wsDiffProduced) {355 # Gets count of WS and WW1 diffs distributed 356 # 357 ########################################################################### 358 function getWSAndWW1DiffDist($db, $date, $surveyStr, $hash1, $hash2, $wsDiffProduced) { 359 359 360 360 $sql = " … … 387 387 ########################################################################### 388 388 # 389 # Gets count of TODOdistributed390 # 391 ########################################################################### 392 function get Dist6($db, $date, $surveyStr, $hash) {389 # Gets count of WW2 diffs distributed 390 # 391 ########################################################################### 392 function getWW2DiffDist($db, $date, $surveyStr, $hash) { 393 393 394 394 $sql = " … … 417 417 ########################################################################### 418 418 # 419 # Gets count of TODOdistributed420 # 421 ########################################################################### 422 function get Dist7($db, $date, $surveyStr, $hash) {419 # Gets count of SS diffs distributed 420 # 421 ########################################################################### 422 function getSSDiffDist($db, $date, $surveyStr, $hash) { 423 423 424 424 $sql = " … … 448 448 ########################################################################### 449 449 # 450 # Gets count of TODO distributed451 # 452 ########################################################################### 453 function get Diff2($db, $date, $surveyStr, $hash) {450 # Gets count of WW2 diffs produced 451 # 452 ########################################################################### 453 function getWW2DiffProduced($db, $date, $surveyStr, $hash) { 454 454 455 455 $sql = " … … 478 478 ########################################################################### 479 479 # 480 # Gets count of TODO distributed481 # 482 ########################################################################### 483 function get s1d($db, $date, $surveyStr, $hash) {480 # Gets count of SS diffs produced 481 # 482 ########################################################################### 483 function getSSDiffProduced($db, $date, $surveyStr, $hash) { 484 484 485 485 $sql = "
Note:
See TracChangeset
for help on using the changeset viewer.
