adding timer cfgs
This commit is contained in:
@@ -33,6 +33,9 @@ public class LocationResponse
|
||||
public string? Label { get; set; }
|
||||
public int Level { get; set; }
|
||||
public string? BuildingType { get; set; }
|
||||
public string? BuildingStatus { get; set; }
|
||||
public DateTime? BuildingStartedAtUtc { get; set; }
|
||||
public DateTime? BuildingCompletesAtUtc { get; set; }
|
||||
public DateTime? BuildingBuiltAtUtc { get; set; }
|
||||
public DateTime? HomeAssignedAtUtc { get; set; }
|
||||
public DateTime UpdatedAtUtc { get; set; }
|
||||
@@ -49,6 +52,11 @@ public class LocationResponse
|
||||
Label = location.Label,
|
||||
Level = location.Level,
|
||||
BuildingType = location.BuildingType,
|
||||
BuildingStatus = location.BuildingType == "LogCamp" && string.IsNullOrWhiteSpace(location.BuildingStatus)
|
||||
? "Built"
|
||||
: location.BuildingStatus,
|
||||
BuildingStartedAtUtc = location.BuildingStartedAtUtc,
|
||||
BuildingCompletesAtUtc = location.BuildingCompletesAtUtc,
|
||||
BuildingBuiltAtUtc = location.BuildingBuiltAtUtc,
|
||||
HomeAssignedAtUtc = location.HomeAssignedAtUtc,
|
||||
UpdatedAtUtc = location.UpdatedAtUtc,
|
||||
|
||||
Reference in New Issue
Block a user