Probing dialog

This commit is contained in:
sanjayk03-dev
2024-12-05 15:50:13 +05:30
parent eb389cb1dd
commit 5682f25d2b

View File

@@ -117,7 +117,9 @@
"Done", "Done",
].filter<Step>(isStep); ].filter<Step>(isStep);
await stepCompleted("CheckProbe", probeContacted); if(probeType != "a"){
await stepCompleted("CheckProbe", probeContacted);
}
if (probeType === "xyz") { if (probeType === "xyz") {
await stepCompleted("BitDimensions", userAcknowledged); await stepCompleted("BitDimensions", userAcknowledged);
@@ -367,6 +369,8 @@
{#if probeType === "xyz"} {#if probeType === "xyz"}
Place the probe block face up, on the lower-left corner Place the probe block face up, on the lower-left corner
of your workpiece. of your workpiece.
{:else if probeType === "a"}
You are about to start the probing of rotary.
{:else} {:else}
Place the probe block face down, with the bit above the Place the probe block face down, with the bit above the
recess. recess.
@@ -401,7 +405,13 @@
above the probe block, and try again. above the probe block, and try again.
</p> </p>
{:else} {:else}
<p>Don't forget to put away the probe!</p> <p>
{#if probeType === "a"}
Probing complete
{:else}
Don't forget to put away the probe!
{/if}
</p>
<!-- TODO: change asset for a axis --> <!-- TODO: change asset for a axis -->
<Icon <Icon
data={probeType === "xyz" ? PutAwayXYZ : PutAwayZ} data={probeType === "xyz" ? PutAwayXYZ : PutAwayZ}