28 lines
894 B
C#
28 lines
894 B
C#
namespace KLHZ.Trader.Core.Declisions.Models
|
|
{
|
|
public readonly struct TwoPeriodsProcessingData
|
|
{
|
|
public readonly int Start;
|
|
public readonly int Bound;
|
|
public readonly int End;
|
|
public readonly float DiffStart;
|
|
public readonly float DiffEnd;
|
|
public readonly bool Success;
|
|
public readonly TimeSpan PeriodStart;
|
|
public readonly TimeSpan PeriodEnd;
|
|
|
|
public TwoPeriodsProcessingData(bool success, float diffStart, float diffEnd, int start, int bound, int end,
|
|
TimeSpan periodStart, TimeSpan periodEnd)
|
|
{
|
|
Success = success;
|
|
DiffStart = diffStart;
|
|
DiffEnd = diffEnd;
|
|
Start = start;
|
|
Bound = bound;
|
|
End = end;
|
|
PeriodStart = periodStart;
|
|
PeriodEnd = periodEnd;
|
|
}
|
|
}
|
|
}
|