up sockets outputs
This commit is contained in:
parent
1431cd7af6
commit
f35b87dab7
@ -323,6 +323,11 @@ export default class {
|
||||
if (we_use_max_output) {
|
||||
newProperties['socket:max:output'] = out;
|
||||
} else {
|
||||
if (has_prise_type_2 && prise_type_e) {
|
||||
newProperties['socket:type_2:output'] = out;
|
||||
console.log('2 prises, attribuer la plus haute valeur à la type 2', out)
|
||||
}
|
||||
|
||||
if (countOfSockets === 1) {
|
||||
|
||||
if (has_prise_type_2) {
|
||||
@ -339,9 +344,6 @@ export default class {
|
||||
if (prise_type_e) {
|
||||
newProperties['socket:typee:output'] = out;
|
||||
}
|
||||
} else if (has_prise_type_2 && prise_type_e) {
|
||||
newProperties['socket:type_2:output'] = out;
|
||||
console.log('2 prises, attribuer la plus haute valeur à la type 2', out)
|
||||
} else {
|
||||
console.log('no sockets', this.current_geojson_point.properties.ref)
|
||||
// console.log('sockets', countOfSockets, this.current_geojson_point.properties)
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user