63 lines
1.5 KiB
C#
63 lines
1.5 KiB
C#
namespace MP.SPEC.Data
|
|
{
|
|
public class SelectFluxParams
|
|
{
|
|
#region Public Constructors
|
|
|
|
public SelectFluxParams()
|
|
{ }
|
|
|
|
#endregion Public Constructors
|
|
|
|
#region Public Properties
|
|
|
|
public string CodFlux { get; set; } = "*";
|
|
public string IdxMacchina { get; set; } = "*";
|
|
public bool LiveUpdate { get; set; } = true;
|
|
|
|
public int MaxRecord { get; set; } = 100;
|
|
public int TempoAgg { get; set; } = 2000;
|
|
public int CurrPage { get; set; } = 1;
|
|
public string lastUpdate { get; set; } = "-";
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Public Methods
|
|
|
|
public override bool Equals(object obj)
|
|
{
|
|
if (!(obj is SelectFluxParams item))
|
|
return false;
|
|
|
|
if (IdxMacchina != item.IdxMacchina)
|
|
return false;
|
|
|
|
if (CodFlux != item.CodFlux)
|
|
return false;
|
|
|
|
if (LiveUpdate != item.LiveUpdate)
|
|
return false;
|
|
|
|
if (MaxRecord != item.MaxRecord)
|
|
return false;
|
|
|
|
if (TempoAgg != item.TempoAgg)
|
|
return false;
|
|
|
|
if (CurrPage != item.CurrPage)
|
|
return false;
|
|
|
|
if (lastUpdate != item.lastUpdate)
|
|
return false;
|
|
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode()
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |