Exemple #1
0
function RecordJudge($phonenum, $value, $round)
{
    $BData = new BloodCmp($phonenum, $value);
    if ($round % 2 == 0) {
        return $BData->BBlood_cmp();
    } else {
        return $BData->Blood_cmp();
    }
}
Exemple #2
0
<?php

include "BloodCmp.php";
include "fetion.php";
$cmp = new BloodCmp("18706829087", 240);
// 填写你的电话号码和血糖值
$cmp->Blood_cmp();