{{stationName}} 电站额定容量:{{ectricdata.electric}}kwh 功率 {{ectricdata.rate}}kW 当前功率 {{ectricdata.fulld}}h 预计充满 昨日收益 {{converter.formatAmount(ectricdata.totalProfit)}}{{converter.formatAmounts(ectricdata.totalProfit)}} 累计收益 {{converter.formatAmount(ectricdata.yesterdayProfit)}}{{converter.formatAmounts(ectricdata.yesterdayProfit)}} 设备信息 (今日:{{currentDate}}) 电量 充电时长 {{between.list[0].chargetime}} h 当前已放电 {{between.list[0].dischargetime}}h 设备监测 离线 正常 故障 当前电池温度 {{fitnessdata.temperature}}℃ 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 }