/**************************************************************************** * 2024.6 LXD ****************************************************************************/ using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using QFramework; namespace QFramework { public partial class PranticeResultItem : UIComponent { public void Init(PranticeProcessElement element) { StepID.text = element.id.ToString(); StepListProxy tmpProxy = DAL.Instance.Get(); OperationStepDataInfo tmpInfo = tmpProxy.GetOperationStepDataInfoById(element.id); StepDesctript.text = tmpInfo.stepName; if (element.finish && element.result) { ScoreSituation.text = "操作正确"; } else if (element.finish && !element.result) { ScoreSituation.text = "操作错误"; } else { ScoreSituation.text = "未操作"; } } } }