diff --git a/DeedyDesigner/Deedy.Activity/Controller/Runtime.cs b/DeedyDesigner/Deedy.Activity/Controller/Runtime.cs index 02260c3..99cfdd6 100644 --- a/DeedyDesigner/Deedy.Activity/Controller/Runtime.cs +++ b/DeedyDesigner/Deedy.Activity/Controller/Runtime.cs @@ -6,9 +6,27 @@ using System.Threading.Tasks; namespace Deedy.Activity { - public sealed class Runtime + public sealed class Runtime : IActivity { public Runtime() { } public WorkMode WorkMode { get; internal set; } = WorkMode.Waiting; + public ExpandoMapping ExpandoMapping { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + + Runtime? IActivity.Runtime => throw new NotImplementedException(); + + public void ReadyToEditing(Runtime runtime) + { + throw new NotImplementedException(); + } + + public void ReadyToRunning(Runtime runtime) + { + throw new NotImplementedException(); + } + + public void ReadyToWorking(IElement? parent = null, Output? output = null) + { + throw new NotImplementedException(); + } } } diff --git a/DeedyDesigner/Deedy.Activity/IElement.cs b/DeedyDesigner/Deedy.Activity/IElement.cs index c490797..021cfa8 100644 --- a/DeedyDesigner/Deedy.Activity/IElement.cs +++ b/DeedyDesigner/Deedy.Activity/IElement.cs @@ -16,7 +16,11 @@ namespace Deedy.Activity /// 「LinkTo」与「Unlink」方法只处理父子级关系映射,不处理「Elements」集合的添加与删除... /// 「ReadyToWorking」方法会先进行「LinkTo」再进行「CombineElements」操作... /// 「ReadyToEditing」方法会迭代进行「BuildParamMapping」操作... - /// 「ReadyToRunning」方法会迭代进行「CheckLogicConfigs」操作... + /// 「ReadyToRunning」方法会迭代进行「CheckLogicConfigs」操作,检查「Element」是否具备执行条件... + /// 「ReadyToRunning」操作如下: + /// 1、检查所有「视图」与「动作」的标识是否有效,即被引用的节点必须有不重复的「标识」... + /// 2、深度遍历解决方案,检查解决方案中所有「视图」与「动作」的参数配置及引用(即:动作执行时其引用参数是否加载到上下文)是否有效... + /// 3、检查所有「视图」与「动作」所需要的信道配置是否正确(即:在动作执行时信道上下文中是否有信道实体) /// public interface IElement : IActivity, INotifyPropertyChanged {