24 lines
741 B
C#
24 lines
741 B
C#
using EnglewoodLAB.Management;
|
|
using System.Collections.Generic;
|
|
using UVC.UI.Commands;
|
|
|
|
namespace EnglewoodLAB.UI.Command
|
|
{
|
|
public class SetProductionProgressDataCommand : ICommand
|
|
{
|
|
private List<CompleteInfo> productionProgressData;
|
|
|
|
public SetProductionProgressDataCommand(List<CompleteInfo> productionProgressData)
|
|
{
|
|
this.productionProgressData = productionProgressData;
|
|
}
|
|
|
|
public void Execute(object? parameter = null)
|
|
{
|
|
var uiManager = SceneMain.Instance.uiManager;
|
|
var popupCanvas = uiManager.GetCanvas<PopupCanvas>();
|
|
|
|
popupCanvas.GetPanel<ManufactoringOrderPanel>().SetProductionStatus(productionProgressData);
|
|
}
|
|
}
|
|
} |