disegno piastra... mancano le dimensioni dei riscaldi
This commit is contained in:
+2
-1
@@ -58,7 +58,7 @@
|
||||
<button class="btn btn-info square" @click="add5()">+5%</button>
|
||||
<select class="input-select" v-model="uniformChannelValue" @change="changedSelectValue">
|
||||
<option value="-1">{{'warmers_select_power' | localize('Seleziona...')}}</option>
|
||||
|
||||
|
||||
<option v-for="index in 10" :key="index" :value="(index*10)">{{index*10}}%</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -95,6 +95,7 @@
|
||||
<article class="warmers">
|
||||
<warmers
|
||||
ref="warmers"
|
||||
:recipe="recipe"
|
||||
:id-reflector="1"
|
||||
@select="selectionChanged"
|
||||
@methodChanged="m => selectionMethod = m"
|
||||
|
||||
+7
-2
@@ -57,7 +57,7 @@
|
||||
<button class="btn btn-info square" @click="add1()">+1%</button>
|
||||
<button class="btn btn-info square" @click="add5()">+5%</button>
|
||||
<select class="input-select" v-model="uniformChannelValue" @change="changedSelectValue">
|
||||
<option value="-1">{{'warmers_select_power' | localize('Seleziona...')}}</option>
|
||||
<option value="-1">{{'warmers_select_power' | localize('Seleziona...')}}</option>
|
||||
<option v-for="index in 11" :key="index" :value="((index-1)*10)">{{(index-1)*10}}%</option>
|
||||
</select>
|
||||
</div>
|
||||
@@ -91,7 +91,12 @@
|
||||
</aside>
|
||||
<hr />
|
||||
<article class="warmers">
|
||||
<warmers ref="warmers" @select="selectionChanged" @methodChanged="m => selectionMethod = m"></warmers>
|
||||
<warmers
|
||||
ref="warmers"
|
||||
@select="selectionChanged"
|
||||
@methodChanged="m => selectionMethod = m"
|
||||
:recipe="recipe"
|
||||
></warmers>
|
||||
|
||||
<div class="absolute bottom right">
|
||||
<button class="btn btn-info square" @click="zoomIn()">
|
||||
|
||||
+3
@@ -16,6 +16,9 @@ export default class Warmers extends Vue {
|
||||
width = 180;
|
||||
height = 48;
|
||||
|
||||
@Prop()
|
||||
recipe: Recipe.IRecipe;
|
||||
|
||||
@Prop({ default: 0 })
|
||||
idReflector: number;
|
||||
|
||||
|
||||
+14
@@ -29,6 +29,20 @@
|
||||
/>
|
||||
</foreignObject>
|
||||
</g>
|
||||
<g>
|
||||
<rect
|
||||
ref="piastra"
|
||||
:x="10"
|
||||
:y="10"
|
||||
:width="recipe.general_sizes_sheet_dim_x.setpointHMI"
|
||||
:height="recipe.general_sizes_sheet_dim_y.setpointHMI"
|
||||
stroke="rgba(0,0,0,.3)"
|
||||
stroke-width="6"
|
||||
rx="3"
|
||||
ry="3"
|
||||
/>
|
||||
</g>
|
||||
|
||||
<g v-if="selectionMethod == 'rect' && selectionPoints.length>1">
|
||||
<rect
|
||||
ref="lazo"
|
||||
|
||||
Reference in New Issue
Block a user