页面逻辑添加
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user