服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-09-20 ac0d220e150a8103b586a81340faf39ddb5e08fe
Tiger.Business/MES/Biz.WorkStep.cs
@@ -41,14 +41,14 @@
            public int Sequence { get; set; }
            public List<string> PrepNodeIDs { get; set; } = new();
            public string NodeID => NodeType == IWorkStep.NodeTypes.Action ? NodeAct.ID : Node.ID;
            //private bool _IsFinished = false;
            //public bool IsFinished
            //{
            //    get => NodeType == IWorkStep.NodeTypes.Action ? CurAction.IsFinished : _IsFinished;
            //    set { _IsFinished = value; }
            //}
            private bool _IsFinished = false;
            public bool IsFinished
            {
                get => NodeType == IWorkStep.NodeTypes.Action ? CurAction.IsFinished : _IsFinished;
                set { _IsFinished = value; }
            }
            public StepStatus Status { get; set; } = StepStatus.Normal;
            public bool IsFinished => Status == StepStatus.Finished;
            //public bool IsFinished => Status == StepStatus.Finished;
            private Locale _Message;
            public Locale Message
            {