69998ac20e
- Modificata pagina bilanciamento macchine
31 lines
784 B
C#
31 lines
784 B
C#
using EgwCoreLib.Lux.Core.Generic;
|
|
|
|
namespace Lux.UI.Components.Compo.Planner
|
|
{
|
|
public partial class OdlDetail
|
|
{
|
|
[Parameter]
|
|
public OdlAssignDto CurrRecord { get; set; } = null!;
|
|
|
|
[Parameter]
|
|
public bool ShowDetail { get; set; } = false;
|
|
|
|
[Parameter]
|
|
public EventCallback<int> EC_DoBalance { get; set; }
|
|
|
|
private string CssDetail => ShowDetail ? "fa-chevron-up" : "fa-chevron-down";
|
|
|
|
private void ToggleDetail()
|
|
{
|
|
ShowDetail = !ShowDetail;
|
|
}
|
|
|
|
protected string FormatEstTime(decimal totSeconds)
|
|
{
|
|
var tSpan = TimeSpan.FromSeconds((double)totSeconds);
|
|
string answ = DateTimeUtils.FormatDateTime(tSpan);
|
|
return answ;
|
|
}
|
|
|
|
}
|
|
} |