12345678910111213141516171819202122232425262728293031323334353637383940 |
- /****************************************************************************
- * 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<StepListProxy>();
- OperationStepDataInfo tmpInfo = tmpProxy.GetOperationStepDataInfoById(element.id);
- StepDesctript.text = tmpInfo.stepName;
- if (element.finish && element.result)
- {
- ScoreSituation.text = "<color=green>²Ù×÷ÕýÈ·</color>";
- }
- else if (element.finish && !element.result)
- {
- ScoreSituation.text = "<color=red>²Ù×÷´íÎó</color>";
- }
- else
- {
- ScoreSituation.text = "<color=red>δ²Ù×÷</color>";
- }
- }
- }
- }
|