设备编号
{{item.name}}
实时功率
{{converter.formattoFixed(item.power*1,2)}} kW
在线状态
离线
在线
故障状态
正常
故障
运行状态
运行
停机
投运时间
{{item.createTime}}
没有更多数据...
var formattoFixed = function(amount,unm) {
return amount.toFixed(unm*1);
}
var formatAmount = function(amount) {
if (amount==undefined) {
return '1000';
}
if (amount < 10000) {
return amount.toFixed(2);
} else {
return (amount / 10000).toFixed(2);
}
}
var formatAmounts = function(amount) {
if (amount==undefined) {
return '元';
}
if (amount < 10000) {
return'元';
} else {
return'万元';
}
}
module.exports = {
formatAmount: formatAmount,
formatAmounts: formatAmounts,
formattoFixed:formattoFixed
}