|
@@ -338,12 +338,18 @@ export default {
|
|
|
let dataInfos = []
|
|
|
let dataParams = []
|
|
|
this.trainingList.forEach((item) => {
|
|
|
+ let model = '';
|
|
|
+ if(item.model === 'UP82' && item.stationen === "SBQ_FDC"){
|
|
|
+ model = 'UP82_2'
|
|
|
+ }else{
|
|
|
+ model = item.model;
|
|
|
+ }
|
|
|
let datas = {};
|
|
|
datas.startTs =
|
|
|
new Date(item.starttime).getTime() - this.intervalValue * 3600000;
|
|
|
datas.endTs = new Date(item.starttime).getTime();
|
|
|
datas.thingId = item.windturbineid;
|
|
|
- datas.modelId = item.model;
|
|
|
+ datas.modelId = model;
|
|
|
datas.stationId = item.stationen;
|
|
|
datas.id = item.faultid;
|
|
|
datas.faultTime = new Date(item.starttime).getTime();
|
|
@@ -359,10 +365,11 @@ export default {
|
|
|
}
|
|
|
params.algorithm = algorithm
|
|
|
params.dataInfos = dataInfos
|
|
|
+
|
|
|
axios({
|
|
|
method: "post",
|
|
|
- // url: "http://10.155.32.14:9090/api/supervised/execute",
|
|
|
- url: "http://192.168.10.16:8080/api/supervised/execute",
|
|
|
+ url: "http://10.155.32.14:9090/api/supervised/execute",
|
|
|
+ // url: "http://192.168.10.21:8080/api/supervised/execute",
|
|
|
data: params,
|
|
|
header: {
|
|
|
"Content-Type": "application/json",
|