feat: DA1/DA2 Voltage 표시를 No Laser 토글에 연동(조건부 표시)
DA1/DA2 Voltage UniformGrid에 Visibility 바인딩(IsNoLaser, convTrueVisible) 추가. Time이 Use Spot Time 체크 시 표시되듯, No Laser 체크 시에만 전압 표시. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
accffdd94a
commit
1fbe7fa98f
@ -86,7 +86,7 @@
|
||||
OffContent="Laser Fire"
|
||||
OnContent="No Laser (전압만)"/>
|
||||
</Border>
|
||||
<UniformGrid Grid.Row="3" Rows="2" VerticalAlignment="Top" Margin="0 5 0 0">
|
||||
<UniformGrid Grid.Row="3" Rows="2" VerticalAlignment="Top" Margin="0 5 0 0" Visibility="{Binding IsNoLaser, Converter={StaticResource convTrueVisible}}">
|
||||
<usercontrols:UCKeyValue KeyText="DA1 Voltage" Value="{Binding AnalogOut1Voltage}" DecimalPlaces="3" Unit="V" KeyHorizontalAlignment="Right" KeyTextWidth="0.9*" IsReadOnly="True" />
|
||||
<usercontrols:UCKeyValue KeyText="DA2 Voltage" Value="{Binding AnalogOut2Voltage}" DecimalPlaces="3" Unit="V" KeyHorizontalAlignment="Right" KeyTextWidth="0.9*" IsReadOnly="True" />
|
||||
</UniformGrid>
|
||||
|
||||
@ -122,3 +122,10 @@
|
||||
- **Manual**(`UCScannerLaserControlViewModel`): `IsNoLaser` 추가, Laser On 직접 분기(Percent/Watt 두 곳)의 `LaserSignalOn()`을 `if(!IsNoLaser)`로 가드 → 체크 시 발진 없이 전압만 인가.
|
||||
- **Manual XAML**(`UCScannerLaserControl.xaml`): Use Spot Time 토글과 **같은 ToggleSwitch 디자인**의 `No Laser (전압만)` 토글 추가. Timer Set 영역 배치 = Use Spot Time → Time(체크 시만) → No Laser → DA1/DA2 Voltage 순.
|
||||
- 이 NoLaser는 RTC5 발진 게이트(`LaserSignalOn`)를 막는 방식이라 **이 화면만으로 자기완결**(DO9/13 별도 화면 불필요). No Use Spot Time + No Laser + Laser On → 전압 readback 표시 + 발진 없음.
|
||||
|
||||
## 14:19
|
||||
|
||||
### DA1/DA2 Voltage 표시를 No Laser 토글에 연동(조건부 표시)
|
||||
|
||||
- DA1/DA2 Voltage UniformGrid에 `Visibility="{Binding IsNoLaser, Converter={StaticResource convTrueVisible}}"` 추가.
|
||||
- Time이 Use Spot Time 체크 시 표시되는 것과 동일하게, **No Laser 체크(전압만) 시에만 DA1/DA2 Voltage 표시**, Laser Fire(해제) 시 숨김.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user