var timerAll;
getBgColor("#alert", "#normal", 3);
clearInterval(timerAll);
timerAll = setInterval(function () {
var temp = randData(-5, 20);
getBgColor("#alert", "#normal", temp);
}, 300);
//获取背景色;
function getBgColor(id, status, num) {
var min = '0', max = '15';
if (num > max) {
$(id).removeClass("tempbg2").removeClass("tempbg3").addClass("tempbg1");//tempbg1
$(status).html("过高");
}
if (num >= min && num