Merge branch 'flash-led-sim' into 'v3'

Illumination Thing

See merge request openflexure/openflexure-microscope-server!468
This commit is contained in:
Joe Knapper 2026-02-12 16:37:53 +00:00
commit 704fc5569f
8 changed files with 219 additions and 24 deletions

View file

@ -13,9 +13,9 @@
{{ $store.state.origin }}
</div>
<action-button
v-if="stageType"
thing="stage"
action="flash_led"
v-if="illuminationType"
thing="illumination"
action="flash"
submit-label="Flash Illumination"
:can-terminate="false"
:submit-data="{ dt: 0.25 }"
@ -46,6 +46,13 @@
{{ stageType }}
</div>
</div>
<div v-if="illuminationType">
<b>Illumination:</b>
<br />
<div>
{{ illuminationType }}
</div>
</div>
<hr />
</div>
@ -77,6 +84,11 @@ export default {
stageType() {
return this.thingAvailable("stage") ? this.thingDescription("stage").title : undefined;
},
illuminationType() {
return this.thingAvailable("illumination")
? this.thingDescription("illumination").title
: undefined;
},
},
async mounted() {