ID+bo in resistenze
This commit is contained in:
+6
@@ -99,7 +99,13 @@ export default class Resistance extends Vue {
|
||||
return this.currentStandardTempColor;
|
||||
}
|
||||
|
||||
getBoard(id) {
|
||||
return Math.floor((id - 1) / 16);
|
||||
}
|
||||
|
||||
getOutput(id) {
|
||||
return Math.floor((id - 1) % 16);
|
||||
}
|
||||
|
||||
get currentSelectedColor() {
|
||||
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@
|
||||
v-else
|
||||
:style="{backgroundColor:`rgb(${currentColorTemp})`}"
|
||||
>
|
||||
<span>ID:</span>
|
||||
<small>Bo:</small>
|
||||
<span>ID: {{getOutput(channel.idChannel)}}</span>
|
||||
<small>Bo: {{getBoard(channel.idChannel)}}</small>
|
||||
<small>Ch: {{channel.idChannel}}</small>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user