"; ?> $lab_Field_site803_013"; } ?> 0) $chLink = "./?pg=site401charts&t=".$_SESSION['well_details']['testID']; else $chLink = "#"; ?>
Studnia
>
0 and RHD_DRS_ID=".$_GET['dev'].")"); $lastMeasureVal[0]['RHD_Q_VAL'] = round($lastMeasureVal[0]['RHD_Q_VAL']/60,3); //pobiera informację o ostatnim HST0 $lastMeasureVal[0]['RHD_HST0_VAL'] = sqlStringValue("select DRD_VALUE from seg_dev_resources_det where DRD_ID=(select max(DRD_ID) from seg_dev_resources_det where DRD_RESOURCES_DETAIL=212 and DRD_DRS_ID=".$_GET['dev'].")", "DRD_VALUE"); } //$lastMeasureVal = sqlGetResAsArray("select round(getLastValue(200,".$_SESSION['well_details']['devID'].")/60,3) VAL_Q,getLastValue(205,".$_SESSION['well_details']['devID'].") VAL_HD,getLastValue(210,".$_SESSION['well_details']['devID'].") VAL_HST,getLastValue(212,".$_SESSION['well_details']['devID'].") VAL_HST0,getLastValue(215,".$_SESSION['well_details']['devID'].") VAL_P1,getLastValue(220,".$_SESSION['well_details']['devID'].") VAL_P2,getLastValue(225,".$_SESSION['well_details']['devID'].") VAL_PB,getLastValue(230,".$_SESSION['well_details']['devID'].") VAL_VM3,getLastValue(245,".$_SESSION['well_details']['devID'].") VAL_TW,getLastValue(401,".$_SESSION['well_details']['devID'].") VAL_PP,getLastValue(402,".$_SESSION['well_details']['devID'].") VAL_HH,getLastValue(730,".$_SESSION['well_details']['devID'].") VAL_TRL,getLastValue(260,".$_SESSION['well_details']['devID'].") VAL_PE,getLastValue(265,".$_SESSION['well_details']['devID'].") VAL_PEkWh,getLastValue(270,".$_SESSION['well_details']['devID'].") VAL_I,getLastValue(275,".$_SESSION['well_details']['devID'].") VAL_U,getLastValue(280,".$_SESSION['well_details']['devID'].") VAL_COS,getLastValue(290,".$_SESSION['well_details']['devID'].") VAL_WRTM,getLastValue(721,".$_SESSION['well_details']['devID'].") VAL_WHm3M"); else { // $lastMeasureVal = sqlGetResAsArray("select getLastValue(210,".$_SESSION['well_details']['devID'].") VAL_HST,getLastValue(212,".$_SESSION['well_details']['devID'].") VAL_HST0,getLastValue(215,".$_SESSION['well_details']['devID'].") VAL_P1,getLastValue(220,".$_SESSION['well_details']['devID'].") VAL_P2,getLastValue(225,".$_SESSION['well_details']['devID'].") VAL_PB,getLastValue(230,".$_SESSION['well_details']['devID'].") VAL_VM3,getLastValue(245,".$_SESSION['well_details']['devID'].") VAL_TW,getLastValue(730,".$_SESSION['well_details']['devID'].") VAL_TRL,getLastValue(265,".$_SESSION['well_details']['devID'].") VAL_PEkWh,getLastValue(290,".$_SESSION['well_details']['devID'].") VAL_WRTM"); $lastMeasureVal = sqlGetResAsArray("select * from rep_his_data_everyday where RHD_ID=(select max(RHD_ID) from rep_his_data_everyday where (RHD_HST0_VAL>0 or RHD_HST_VAL>0) and RHD_DRS_ID=".$_GET['dev'].")"); if (count($lastMeasureVal)<=0) $lastMeasureVal = sqlGetResAsArray("select * from rep_his_data_everyday where RHD_ID=(select max(RHD_ID) from rep_his_data_everyday where RHD_DRS_ID=".$_GET['dev'].")"); $lastMeasureVal[0]['RHD_Q_VAL']=null; $lastMeasureVal[0]['RHD_HD_VAL']=null; $lastMeasureVal[0]['RHD_PE_VAL']=null; $lastMeasureVal[0]['RHD_I_VAL']=null; } unset($additionalData); $additionalData = sqlGetResAsArray("select getLastValue(225,".$_GET['dev'].") VAL_PB,getLastValue(730,".$_GET['dev'].") VAL_TRL,getLastValue(265,".$_GET['dev'].") VAL_PEkWh,getLastValue(721,".$_GET['dev'].") VAL_WHm3M"); // Dla studni SPM inne /* if ($_SESSION['well_details']['wellTypeID']==20) { $lastMeasureVal[0]['RHD_VM3_VAL'] = sqlValue("select getWellPumpedWaterInDate(".$_SESSION['well_details']['devID'].",now())"); $lastMeasureVal[0]['RHD_WORK_TIME_VAL'] = convertSecondsToHHMM(sqlValue("select getWellWorkingTimeInDate(".$_SESSION['well_details']['devID'].",now())")); } */ ?>
"; } else { echo" "; if (!empty($_SESSION['site401_edit_param'])) echo""; echo" "; } } ?> "; ?> "; ?> "; ?>
".$var_FLD_NAME." ".$lab_ButtonName_HoleCard_004." »
".$var_FLD_NAME." ".getLinkToShowHistoricalData_01($var_DIC_ID,'WELL_TECHNICAL_PARAMETERS',$var_DIC_NAME,$_SESSION['well_details']['devID'],'site401inf')."
Głębokość zabudowy pompy LP [m]
Średnica rurociągu DR [mm]
m [m]
Data pomiaru ' SIZE='10' disabled>     godz.: :
Wydajność Q [m3/min] ' id='in401_200' disabled>
Zwierciadło dynamiczne HD [m] ' id='in401_205' disabled>
Zwierciadło statyczne HST [m] ' id='in401_210' disabled>
Zwierciadło statyczne HST0 [m] ' id='in401_212' disabled>
Ciśnienie p1 [m] ' id='in401_215' disabled>
Ciśnienie p2 [m] ' id='in401_220' disabled>
Ciśnienie barometryczne pb [hPa] ' id='in401_225' disabled>
Ilość wyp. wody V [m3] ' id='in401_230' disabled>
Temp. wody TW [oC] ' id='in401_245' disabled>
Ciśnienie pp [m] ' id='in401_401' disabled>
Wysokość HH [m] ' id='in401_402' disabled>
Otwarcie przepustnicy [%] ' id='in401_730' disabled>

Moc czynna Pe [kW] ' id='in401_260' disabled>
Pobór energii E [kWh] ' id='in401_265' disabled>
Pobór prądu I [A] ' id='in401_270' disabled>
Napięcie zasilania U [V] ' id='in401_275' disabled>
cos(φ) ' id='in401_280' disabled>
Czas pracy agregatu t [h] ' id='in401_290' disabled>
Jed. zużycie energii [Wh/m3/m] ' id='in401_721' disabled>
0 && strlen($imgLoss)>0) $imgSPM = "./images/".$imgThrot."".$imgLoss."_".$imgSPM; else $imgSPM = "./images/".$imgSPM; $fileName="./charts/".$_SESSION['user']."_".date("Ymd")."_".date("His")."_site401inf.png"; if (file_exists($fileName)) unlink($fileName); $imageSPM=imagecreatefrompng($imgSPM); $image=imagecreatetruecolor(imagesx($imageSPM),imagesy($imageSPM)); imagecopy($image,$imageSPM,0,0,0,0,imagesx($imageSPM),imagesy($imageSPM)); $color=imagecolorallocate($image,255,255,255); imagefill($image,0,0,$color); /* // sprawdza stan diagnostyki i podstawia odpowiedni obrazek $isDiagOK = getLastValueFromDevResourceDetail('WELL_HIDDEN_PARAMETERS','DGN',$_SESSION['well_details']['devID']); if ($isDiagOK==1) $imgToDiag = imagecreatefrompng("./images/diag_warning.png"); elseif ($isDiagOK==2) $imgToDiag = imagecreatefrompng("./images/diag_error.png"); else $imgToDiag = imagecreatefrompng("./images/diag_ok.png"); if (strstr($imgSPM,"SEGAP")) imagecopy($image,$imgToDiag,107,455,0,0,13,13); else if (strstr($imgSPM,"BASE")) imagecopy($image,$imgToDiag,105,450,0,0,13,13); else if (strstr($imgSPM,"OPT")) imagecopy($image,$imgToDiag,81,450,0,0,13,13); */ imagepng($image,$fileName); ?>
'>    

    '>
&direct=401'>     '>

&direct=site401inf'>     '>
&site=site401inf'>