|
@@ -71,25 +71,27 @@ export default {
|
|
|
ll.unmaintain.value.push(this.getCardValue(v));
|
|
|
} else if (v.adviceOperateStyle == "Start") {
|
|
|
//推荐启动
|
|
|
- ll.start.value.push(v);
|
|
|
+ ll.start.value.push(this.getCardValue(v));
|
|
|
} else if (v.adviceOperateStyle == "Stop") {
|
|
|
// 推荐停机
|
|
|
- ll.stop.value.push(v);
|
|
|
+ ll.stop.value.push(this.getCardValue(v));
|
|
|
} else if (v.adviceOperateStyle == "Reset") {
|
|
|
// 推荐复位
|
|
|
- ll.reset.value.push(v);
|
|
|
+ ll.reset.value.push(this.getCardValue(v));
|
|
|
} else if (v.adviceOperateStyle == "Maintain") {
|
|
|
// 推荐维护
|
|
|
- ll.maintain.value.push(v);
|
|
|
+ ll.maintain.value.push(this.getCardValue(v));
|
|
|
}
|
|
|
}
|
|
|
this.ls=ll;
|
|
|
},
|
|
|
getCardValue(val){
|
|
|
- console.log(val);
|
|
|
return {
|
|
|
status:0,
|
|
|
-
|
|
|
+ power:0,
|
|
|
+ windSpeed:0,
|
|
|
+ rollSpeed:0,
|
|
|
+ windturbineId:val.windturbineId,
|
|
|
}
|
|
|
}
|
|
|
},
|