pokk,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
</head>
<body>
<svg height="30" width="200">
<text id="IdT_Hot" x="0" y="15" fill="#00FF00"></text>
<text id="Id_StatusT_Hot" x="0" y="30" fill="#00FF00"></text>
</svg>
<script>
function TextBlink(arr) {
var b = true;
return function() {
arr.forEach(function(item) {
item.el.textContent = b ? item.text : "";
item.el.setAttribute("fill", RGB_STATUS_ERROR);
});
b = !b
}
}
var TempHot = document.getElementById("IdT_Hot");
var TextStatusT_Hot = document.getElementById("Id_StatusT_Hot");
var RGB_STATUS_ERROR = "#FF0000";
var arr = [{
el: TempHot,
text: "Т горячая=" + "80" + " \u2103"
}, {
el: TextStatusT_Hot,
text: "Авария"
}]
var fn = TextBlink(arr)
setInterval(fn, 300);
</script>
</body>
</html>