using Cysharp.Threading.Tasks; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using EnglewoodLAB.Constants; using EnglewoodLAB.Management; namespace EnglewoodLAB.UI { public class ProductionProgressPanel : UIPanel { private TextMeshProUGUI selectedData; private List data = new(); public TextMeshProUGUI CurrentDate; public TextMeshProUGUI CurrentTime; public Button Button_Close; public RectTransform Content; public float maxBarHeight; public Image barChart_plan; public Image barChart_actual; public Image barChart_passed; public Image barChart_rejected; public Panel_Effect effect; public Dictionary progressContents = new Dictionary(); private ProgressContent progressContent; public int statusItemsCount; private int currentContentIndex; private bool isChangedData; public float changeDataTime; public override async UniTask Init() { selectedData = GetElement(nameof(selectedData)); CurrentDate = GetElement(nameof(CurrentDate)); CurrentTime = GetElement(nameof(CurrentTime)); Button_Close = GetElement