BN089-BS开发框架MVC4版/source20131023/Zephyr.Net/Zephyr.WorkFlow/Node/Task.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System.Collections.Generic;
using System.Collections;

namespace Zephyr.WorkFlow
{
    public class Task  
    {
        public int Index { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Version { get; set; }
        public int DueTime { get; set; }
        public int ExtendedTime { get; set; }
        public bool IsAssign { get; set; }
        public bool IsAutoStart { get; set; }

        public bool IsBlocking { get; set; }

        public NodeType NodeType { get; set; }
        public LogicType LogicType { get; set; }

        public IList Actions { get; set; } 
        public IList ArrivingTransitions { get; set; }
        public IList LeavingTransitions { get; set; }

        //public XmlElement NodeXml { get; set; }
        public ProcessDefinition PDefinition { get; set; }
        public bool ReturnParent { get; set; }
 
        public string Form { get; set; }
        public string FormDefaultValue { get; set; }
        public FormType FromType { get; set; }

        public IDictionary<string, string> TaskVars { get; set; }

        //public string GetId(){
        //   // return String.Format("{0}-{1}-{2}", this.Name, this.Version, this.Index);
        //}
        //子流程
        public string SubFlowName { get; set; }
        public string SubFlowVersion { get; set; }

        public Task()
        {
            this.NodeType = NodeType.Task;
            this.LogicType = LogicType.OR;
            this.DueTime = 0;
            this.ExtendedTime = 0;

            this.IsBlocking = false;

            this.Actions = new ArrayList();
            this.ArrivingTransitions = new ArrayList();
            this.LeavingTransitions = new ArrayList();

            this.FromType = FormType.Url;
            this.NodeType = NodeType.Task;
            this.LogicType = LogicType.AND;

            this.TaskVars = new Dictionary<string, string>();
后面还有 35 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。