服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-09-29 23d5fc6ea22d8acef338bf70c8c5399d5cdff0bd
Tiger.Business.MES/WorkAction/IPQC.cs
@@ -15,11 +15,13 @@
    public class IPQC : IIPQC
    {
        #region Propertys & Variables
        #region 固定写法,工序中的必要信息
        public bool IsFinished { get; set; } = false;
        public IWorkStep CurStep { get; set; }
        public IPosition CurPosition { get; set; }
        public MES_WO_NODE_ACT NodeAct { get; set; }
        public MES_WO_ACTION Setting { get; set; }
        #endregion
        #endregion Propertys & Variables
        #region Functions
@@ -29,10 +31,15 @@
        /// <returns></returns>
        public void Init(IWorkStep curStep, IPosition position, MES_WO_NODE_ACT nodeAct, MES_WO_ACTION setting)
        {
            #region 固定写法,给默认变量赋值
            CurStep = curStep;
            CurPosition = position;
            NodeAct = nodeAct;
            Setting = setting;
            #endregion
            CurStep.Message = Biz.L("等待测试结果");
            CurStep.Status = StepStatus.Normal;
        }
        /// <summary>
@@ -154,6 +161,7 @@
                    ACT_VALUE_4 = "",
                    ACT_VALUE_5 = "",
                    ACT_RESULT = "Y",
                    ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(),
                    TRACE_INFO = $"执行成功",
                };
                wipActs.Add(wipAct);