步骤下发更改

This commit is contained in:
2025-02-27 15:28:04 +08:00
parent b9bde07d6b
commit 9400b9e891
6 changed files with 319 additions and 33 deletions

View File

@@ -2297,6 +2297,45 @@ namespace CapMachine.Wpf.ViewModels
}
}
private DelegateCommand<string> _ProRunSelectedDelete1;
/// <summary>
/// 删除命令
/// </summary>
public DelegateCommand<string> ProRunSelectedDelete1
{
set
{
_ProRunSelectedDelete1 = value;
}
get
{
if (_ProRunSelectedDelete1 == null)
{
_ProRunSelectedDelete1 = new DelegateCommand<string>((p) => ProRunSelectedDelete1Method(p));
}
return _ProRunSelectedDelete1;
}
}
private void ProRunSelectedDelete1Method(string Par)
{
if (Par.Contains("1"))
{
ProRuntimeService.EndProRun();
}
else if (Par.Contains("2"))
{
ProRuntimeService.PauseProRun();
}
else if (Par.Contains("3"))
{
ProRuntimeService.ContinueProRun();
}
else
{
}
}
private DelegateCommand _GenProPlcCmd;
/// <summary>