Files
XRLib/Assets/Scripts/Simulator/UI/PropertyWindow/PlayPropertyData.cs
2026-02-25 16:30:12 +09:00

67 lines
1.4 KiB
C#

using System;
public class PlayPropertyData
{
public event Action<PlayPropertyData> onDataUpdated;
string _simulation_State = "서버 응답 대기 중";
int _total_Generate = 0;
int _total_Use = 0;
int _agv_Total = 0;
int _agv_Moving = 0;
int _agv_Idle = 0;
int _agv_Loading = 0;
public string simulation_State
{
get { return _simulation_State; }
set
{
_simulation_State = value;
onDataUpdated?.Invoke(this);
}
}
public int total_Generate
{
get { return _total_Generate; }
set { _total_Generate = value;
onDataUpdated?.Invoke(this);
}
}
public int total_Use
{
get { return _total_Use; }
set { _total_Use = value;
onDataUpdated?.Invoke(this);
}
}
public int agv_Total
{
get { return _agv_Total; }
set { _agv_Total = value;
onDataUpdated?.Invoke(this);
}
}
public int agv_Moving
{
get { return _agv_Moving; }
set { _agv_Moving = value;
onDataUpdated?.Invoke(this);
}
}
public int agv_Idle
{
get { return _agv_Idle; }
set { _agv_Idle = value;
onDataUpdated?.Invoke(this);
}
}
public int agv_Loading
{
get { return _agv_Loading; }
set { _agv_Loading = value;
onDataUpdated?.Invoke(this);
}
}
}