fix(HarassCalculator) Travel time UX now makes sense. Fixed divide by zero errors

This commit is contained in:
2022-04-18 20:30:52 -04:00
parent fd160d1ba3
commit ab9bffc23f
5 changed files with 97 additions and 21 deletions
+15
View File
@@ -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;
}
}