细化「Element」的「Ready...」系列逻辑设计
This commit is contained in:
@@ -6,9 +6,27 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace Deedy.Activity
|
namespace Deedy.Activity
|
||||||
{
|
{
|
||||||
public sealed class Runtime
|
public sealed class Runtime : IActivity
|
||||||
{
|
{
|
||||||
public Runtime() { }
|
public Runtime() { }
|
||||||
public WorkMode WorkMode { get; internal set; } = WorkMode.Waiting;
|
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();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,11 @@ namespace Deedy.Activity
|
|||||||
/// <para>「LinkTo」与「Unlink」方法只处理父子级关系映射,不处理「Elements」集合的添加与删除...</para>
|
/// <para>「LinkTo」与「Unlink」方法只处理父子级关系映射,不处理「Elements」集合的添加与删除...</para>
|
||||||
/// <para>「ReadyToWorking」方法会先进行「LinkTo」再进行「CombineElements」操作...</para>
|
/// <para>「ReadyToWorking」方法会先进行「LinkTo」再进行「CombineElements」操作...</para>
|
||||||
/// <para>「ReadyToEditing」方法会迭代进行「BuildParamMapping」操作...</para>
|
/// <para>「ReadyToEditing」方法会迭代进行「BuildParamMapping」操作...</para>
|
||||||
/// <para>「ReadyToRunning」方法会迭代进行「CheckLogicConfigs」操作...</para>
|
/// <para>「ReadyToRunning」方法会迭代进行「CheckLogicConfigs」操作,检查「Element」是否具备执行条件...</para>
|
||||||
|
/// <para>「ReadyToRunning」操作如下:</para>
|
||||||
|
/// <para> 1、检查所有「视图」与「动作」的标识是否有效,即被引用的节点必须有不重复的「标识」...</para>
|
||||||
|
/// <para> 2、深度遍历解决方案,检查解决方案中所有「视图」与「动作」的参数配置及引用(即:动作执行时其引用参数是否加载到上下文)是否有效...</para>
|
||||||
|
/// <para> 3、检查所有「视图」与「动作」所需要的信道配置是否正确(即:在动作执行时信道上下文中是否有信道实体)</para>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IElement : IActivity, INotifyPropertyChanged
|
public interface IElement : IActivity, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user