parent
16dfaf1d0d
commit
5991765c60
|
@ -206,7 +206,7 @@ function edit_phase(phaseid) {
|
|||
<label class="label">Phase Description</label>
|
||||
<div class="control">
|
||||
<textarea class="textarea" placeholder="Phase Description"
|
||||
oninput="update_field('description', this.value)">{{description}}</textarea>
|
||||
oninput="update_field('text', this.value)">{{text}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -214,22 +214,22 @@ function edit_phase(phaseid) {
|
|||
<label class="label">On Load</label>
|
||||
<div class="control">
|
||||
<textarea
|
||||
oninput="update_field('on_load', this.value)"
|
||||
class="textarea" placeholder="#t">{{on_load}}</textarea>
|
||||
oninput="update_field('onload', this.value)"
|
||||
class="textarea" placeholder="#t">{{onload}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label">Next Condition</label>
|
||||
<div class="control">
|
||||
<textarea oninput="update_field('exit_condition', this.value)"
|
||||
class="textarea" placeholder="#t">{{exit_condition}}</textarea>
|
||||
<textarea oninput="update_field('nextcond', this.value)"
|
||||
class="textarea" placeholder="#t">{{nextcond}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<label class="label">On Exit</label>
|
||||
<div class="control">
|
||||
<textarea oninput="update_field('on_exit', this.value)"
|
||||
class="textarea" placeholder="#t">{{on_exit}}</textarea>
|
||||
<textarea oninput="update_field('onexit', this.value)"
|
||||
class="textarea" placeholder="#t">{{onexit}}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -294,9 +294,9 @@ Controllers:<br/>
|
|||
<br><br>
|
||||
<div class="content"><h4>{{name}}</h4></div>
|
||||
{{text}}<br>
|
||||
On Load: {{on_load}}<br>
|
||||
Exit When: {{exit_condition}}<br>
|
||||
On Exit: {{on_exit}}<br>
|
||||
On Load: {{onload}}<br>
|
||||
Exit When: {{nextcond}}<br>
|
||||
On Exit: {{onexit}}<br>
|
||||
{{/phases}}
|
||||
{{/selected_recipe}}
|
||||
</div>
|
||||
|
@ -337,11 +337,11 @@ function current_recipe(data) {
|
|||
{{current_phase.text}}
|
||||
<br/>
|
||||
<br/>
|
||||
Next Cond: {{current_phase.exit_condition}}
|
||||
Next Cond: {{current_phase.nextcond}}
|
||||
<br/>
|
||||
On Load: {{current_phase.on_load}}
|
||||
On Load: {{current_phase.onload}}
|
||||
<br/>
|
||||
On Exit: {{current_phase.on_exit}}
|
||||
On Exit: {{current_phase.onexit}}
|
||||
</div>
|
||||
<footer class="card-footer">
|
||||
<!-- <a class="card-footer-item is-primary">Pause</a> -->
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"phases": [
|
||||
{
|
||||
"name": "Hold",
|
||||
"description": "Keep 23°C",
|
||||
"description": "Keep 23\u00b0C",
|
||||
"exit_condition": "(> (time-in-this-phase) (hours 10))",
|
||||
"on_load": "(begin (set-controller \"heater\" \"T_food\")\n(set-target \"T_food\" 23.0))",
|
||||
"on_exit": "#t"
|
||||
|
@ -24,8 +24,8 @@
|
|||
"phases": [
|
||||
{
|
||||
"name": "Hold",
|
||||
"description": "Keep 35°C",
|
||||
"exit_condition": "(> (time-in-this-phase) (hours 1.5))",
|
||||
"description": "Keep 35\u00b0C",
|
||||
"exit_condition": "(> (time-in-this-phase) (hours 17))",
|
||||
"on_load": "(begin (set-controller \"heater\" \"T_food\")\n(set-target \"T_food\" 35.0))",
|
||||
"on_exit": "#t"
|
||||
}
|
||||
|
@ -33,7 +33,7 @@
|
|||
},
|
||||
{
|
||||
"name": "Yogurt",
|
||||
"description": "Pastorizza lo yogurt a 82 gradi, lascia raffreddare per fare l'inoculo, mantiene a 42 gradi fino a che è pronto.",
|
||||
"description": "Pastorizza lo yogurt a 82 gradi, lascia raffreddare per fare l'inoculo, mantiene a 42 gradi fino a che \u00e8 pronto.",
|
||||
"controllers": [
|
||||
"(make-duty-controller \"heater\" 0.20 120)"
|
||||
],
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<label class="label">Description</label>
|
||||
<div class="control">
|
||||
<textarea class="textarea" placeholder="Recipe Description">
|
||||
{{recipe.description}}
|
||||
{{recipe.description}}
|
||||
</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue