This commit is contained in:
xyy
2026-06-17 09:47:11 +08:00
parent 4489514b5d
commit 742ce6f292

View File

@@ -232,10 +232,10 @@
<StackPanel> <StackPanel>
<TextBlock Text="手动控制" FontWeight="Bold" FontSize="12" Foreground="Gray" Margin="0,0,0,5"/> <TextBlock Text="手动控制" FontWeight="Bold" FontSize="12" Foreground="Gray" Margin="0,0,0,5"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Command="{Binding OpenValveCommand}" Content="开阀(M5)" Width="70" Height="30" Margin="2" Background="#3498DB" Foreground="White"/> <Button Command="{Binding OpenValveCommand}" Content="开阀" Width="70" Height="30" Margin="2" Background="#3498DB" Foreground="White"/>
<Button Command="{Binding CloseValveCommand}" Content="关阀(M5)" Width="70" Height="30" Margin="2" Background="#E74C3C" Foreground="White"/> <Button Command="{Binding CloseValveCommand}" Content="关阀" Width="70" Height="30" Margin="2" Background="#E74C3C" Foreground="White"/>
<Button Command="{Binding StartPumpCommand}" Content="启泵(M6)" Width="70" Height="30" Margin="2" Background="#2ECC71" Foreground="White"/> <Button Command="{Binding StartPumpCommand}" Content="启泵" Width="70" Height="30" Margin="2" Background="#2ECC71" Foreground="White"/>
<Button Command="{Binding StopPumpCommand}" Content="停泵(M6)" Width="70" Height="30" Margin="2" Background="#E67E22" Foreground="White"/> <Button Command="{Binding StopPumpCommand}" Content="停泵" Width="70" Height="30" Margin="2" Background="#E67E22" Foreground="White"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>