|
@@ -299,13 +299,13 @@ public class DatatrainingService {
|
|
|
temp++;
|
|
|
map.put(type, temp);
|
|
|
} else {
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
}
|
|
|
|
|
|
wpmap.put(wt.getWindpowerstationid(), map);
|
|
|
} else {
|
|
|
Map<String, Integer> map = new HashMap<String, Integer>();
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
wpmap.put(wt.getWindpowerstationid(), map);
|
|
|
}
|
|
|
}
|
|
@@ -318,12 +318,12 @@ public class DatatrainingService {
|
|
|
temp++;
|
|
|
map.put(type, temp);
|
|
|
} else {
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
}
|
|
|
pjmap.put(wt.getProjectid(), map);
|
|
|
} else {
|
|
|
Map<String, Integer> map = new HashMap<String, Integer>();
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
pjmap.put(wt.getProjectid(), map);
|
|
|
}
|
|
|
}
|
|
@@ -336,12 +336,12 @@ public class DatatrainingService {
|
|
|
temp++;
|
|
|
map.put(type, temp);
|
|
|
} else {
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
}
|
|
|
lnmap.put(wt.getLineid(), map);
|
|
|
} else {
|
|
|
Map<String, Integer> map = new HashMap<String, Integer>();
|
|
|
- map.put(type, 0);
|
|
|
+ map.put(type, 1);
|
|
|
lnmap.put(wt.getLineid(), map);
|
|
|
}
|
|
|
}
|