fix binding paremetri riscaldi

This commit is contained in:
=
2020-07-06 12:45:04 +02:00
parent 27fcd365e0
commit a0e0f72ab6
@@ -3,18 +3,18 @@
<aside class="scrollable auto" v-if="recipe">
<div class="box transparent">
<div class="body">
<template v-if="recipe.heats_upperheaters_enabled.status.visible">
<template v-if="recipe.heats_lowerheaters_enabled.status.visible">
<div class="input-area">
<label>{{'heats_upperheaters_enabled'|localize('Abilitazione riscaldo')}}</label>
<toggle-button v-model="recipe.heats_upperheaters_enabled.setpointHMI"></toggle-button>
<label>{{'heats_lowerheaters_enabled'|localize('Abilitazione riscaldo')}}</label>
<toggle-button v-model="recipe.heats_lowerheaters_enabled.setpointHMI"></toggle-button>
</div>
</template>
<template v-if="recipe.heats_upperheaters_max_time.status.visible">
<template v-if="recipe.heats_lowerheaters_max_time.status.visible">
<div class="input-area">
<label>{{'heats_upperheaters_max_time'|localize('Durata massima')}}</label>
<numeric v-model="recipe.heats_upperheaters_max_time" />
<label>{{'heats_lowerheaters_max_time'|localize('Durata massima')}}</label>
<numeric v-model="recipe.heats_lowerheaters_max_time" />
</div>
<slider v-model="recipe.heats_upperheaters_max_time"></slider>
<slider v-model="recipe.heats_lowerheaters_max_time"></slider>
</template>
<div class="divider"></div>
@@ -68,16 +68,16 @@
</div>
<div class="divider"></div>
<div class="input-area grid left">
<template v-if="recipe.heats_upperheaters_oscillation.status.visible">
<template v-if="recipe.heats_lowerheaters_oscillation.status.visible">
<div>
<label>{{'heats_upperheaters_oscillation'|localize('Oscillazione')}}</label>
<toggle-button v-model="recipe.heats_upperheaters_oscillation.setpointHMI"></toggle-button>
<label>{{'heats_lowerheaters_oscillation'|localize('Oscillazione')}}</label>
<toggle-button v-model="recipe.heats_lowerheaters_oscillation.setpointHMI"></toggle-button>
</div>
</template>
<template v-if="recipe.heats_upperheaters_movement_enabled.status.visible">
<template v-if="recipe.heats_lowerheaters_movement_enabled.status.visible">
<div>
<label>{{'heats_upperheaters_movement_enabled'|localize('Movimento')}}</label>
<toggle-button v-model="recipe.heats_upperheaters_movement_enabled.setpointHMI"></toggle-button>
<label>{{'heats_lowerheaters_movement_enabled'|localize('Movimento')}}</label>
<toggle-button v-model="recipe.heats_lowerheaters_movement_enabled.setpointHMI"></toggle-button>
</div>
</template>
</div>