Files
EnglewoodLAB/Assets/Scripts/Command/DataCommand/SetMachineInfoDataCommand.cs

22 lines
605 B
C#
Raw Normal View History

using EnglewoodLAB.Management;
using System.Collections.Generic;
using UVC.UI.Commands;
namespace EnglewoodLAB.UI.Command
{
public class SetMachineInfoDataCommand : ICommand
{
private List<CompleteInfo> machineInfos;
public SetMachineInfoDataCommand(List<CompleteInfo> machineInfos)
{
this.machineInfos = machineInfos;
}
public void Execute(object? parameter = null)
{
var machineInfoItemManager = SceneMain.Instance.machineInfoItemManager;
machineInfoItemManager.SetMachineKPI(machineInfos);
}
}
}