mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-03-25 02:26:35 +08:00
优化了中断功能,增加了节点变量的查看。
This commit is contained in:
@@ -67,23 +67,35 @@ namespace Serein.WorkBench.Node.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
private bool isInterrupt;
|
||||
public bool IsInterrupt
|
||||
{
|
||||
get => Node.DebugSetting.IsInterrupt;
|
||||
get => isInterrupt;
|
||||
set
|
||||
{
|
||||
if (value)
|
||||
{
|
||||
Node.Interrupt();
|
||||
}
|
||||
else
|
||||
{
|
||||
Node.CancelInterrupt();
|
||||
}
|
||||
isInterrupt = value;
|
||||
OnPropertyChanged(nameof(IsInterrupt));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//public bool IsInterrupt
|
||||
//{
|
||||
// get => Node.DebugSetting.IsInterrupt;
|
||||
// set
|
||||
// {
|
||||
// if (value)
|
||||
// {
|
||||
// Node.Interrupt();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Node.CancelInterrupt();
|
||||
// }
|
||||
// OnPropertyChanged(nameof(IsInterrupt));
|
||||
// }
|
||||
//}
|
||||
|
||||
//public bool IsProtectionParameter
|
||||
//{
|
||||
// get => MethodDetails.IsProtectionParameter;
|
||||
|
||||
Reference in New Issue
Block a user