mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 21:06:30 +02:00
Version 3.0.365
This commit is contained in:
parent
0b9196a78d
commit
0eb7362cb8
64 changed files with 1423 additions and 1045 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
|
||||
namespace TINK.Model.State
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ namespace TINK.Model.State
|
|||
Reserved,
|
||||
|
||||
/// <summary>
|
||||
/// Bike is booked. Corresponding COPRI statie is "occupied".
|
||||
/// Bike is booked. Corresponding COPRI state is "occupied".
|
||||
/// </summary>
|
||||
Booked
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ namespace TINK.Model.State
|
|||
/// <summary>
|
||||
/// Constructs a state info object when state is available.
|
||||
/// </summary>
|
||||
/// <param name="isFeedbackPending">Specifieds whether feedback is pending or not.</param>
|
||||
/// <param name="isFeedbackPending">Specifies whether feedback is pending or not.</param>
|
||||
public StateInfo(bool isFeedbackPending = false)
|
||||
{
|
||||
_InUseState = isFeedbackPending
|
||||
|
@ -54,7 +54,7 @@ namespace TINK.Model.State
|
|||
/// <param name="requestedAt">Date time when bike was requested</param>
|
||||
/// <param name="mailAddress">Mail address of user which requested bike.</param>
|
||||
/// <param name="code">Booking code.</param>
|
||||
/// <param name="dateTimeNowProvider">Date time provider to calculate reaining time.</param>
|
||||
/// <param name="dateTimeNowProvider">Date time provider to calculate remaining time.</param>
|
||||
public StateInfo(
|
||||
Func<DateTime> dateTimeNowProvider,
|
||||
DateTime requestedAt,
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace TINK.Model.State
|
|||
public class StateInfoMutable : INotifyPropertyChanged, IStateInfoMutable
|
||||
{
|
||||
/// <summary>
|
||||
/// Provider for current date time to calculate remainig time on demand for state of type reserved.
|
||||
/// Provider for current date time to calculate remaining time on demand for state of type reserved.
|
||||
/// </summary>
|
||||
private readonly Func<DateTime> _DateTimeNowProvider;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue