진행 현황판 가동 시간 데이터 오류 수정 및 KPI UI 수정
This commit is contained in:
@@ -76,9 +76,12 @@ namespace CHN
|
||||
}
|
||||
private void OnClickMachineKPI(UI_MachineKPI machineKPI)
|
||||
{
|
||||
if (current_MachineKPI != null)
|
||||
foreach(var machine in machines)
|
||||
{
|
||||
current_MachineKPI.Shrink();
|
||||
if (machine.machineKPI != null)
|
||||
{
|
||||
machine.machineKPI.Shrink();
|
||||
}
|
||||
}
|
||||
current_MachineKPI = machineKPI;
|
||||
current_MachineKPI.Expand();
|
||||
|
||||
@@ -25,11 +25,13 @@ public class UI_StatusContent : MonoBehaviour
|
||||
|
||||
if (odd)
|
||||
{
|
||||
machineStatuses[machineInfo.worknm].SetStatusData(machineInfo, new Color(0.07058824f, 0.1294118f, 0.2941177f));
|
||||
var backgroundColor = new Color(0.07058824f, 0.1294118f, 0.2941177f);
|
||||
machineStatuses[machineInfo.worknm].SetStatusData(machineInfo, backgroundColor);
|
||||
}
|
||||
else
|
||||
{
|
||||
machineStatuses[machineInfo.worknm].SetStatusData(machineInfo, new Color(0.04313726f, 0.09019608f, 0.2235294f));
|
||||
var backgroundColor = new Color(0.04313726f, 0.09019608f, 0.2235294f);
|
||||
machineStatuses[machineInfo.worknm].SetStatusData(machineInfo, backgroundColor);
|
||||
}
|
||||
odd = !odd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user