页面逻辑添加

This commit is contained in:
2026-05-15 09:59:49 +08:00
parent 00c0eaab57
commit f91d5c3e98
3 changed files with 25 additions and 5 deletions

View File

@@ -138,6 +138,7 @@ namespace TabletTester2025.ViewModels
// 硬度命令
HardnessUpCommand = new AsyncRelayCommand(async () =>
{
await _plc.WriteCoilAsync(0x20, true);
await Task.Delay(100);
await _plc.WriteCoilAsync(0x20, false);