fix(HarassCalculator) Travel time UX now makes sense. Fixed divide by zero errors
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Model;
|
||||
|
||||
public class TravelTime
|
||||
{
|
||||
public int Index { get; set; } = 0;
|
||||
public int Value { get; set; } = 0;
|
||||
|
||||
public TravelTime(int index, int value)
|
||||
{
|
||||
Index = index;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user