mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
24 lines
945 B
C#
24 lines
945 B
C#
using System;
|
|
|
|
namespace TINK.Model.State
|
|
{
|
|
public interface IStateInfoMutable
|
|
{
|
|
InUseStateEnum Value { get; }
|
|
|
|
/// <summary> Updates state from web server. </summary>
|
|
/// <param name="state">State of the bike.</param>
|
|
/// <param name="from">Date time when bike was reserved/ booked.</param>
|
|
/// <param name="reservationTimeSpan">Time span for which a bike can be reserved.</param>
|
|
/// <param name="mailAddress">Mail address of the one which reserved/ booked.</param>
|
|
/// <param name="code">Booking code if bike is booked or reserved.</param>
|
|
/// <param name="notifyLevel">Controls whether notify property changed events are fired or not.</param>
|
|
void Load(
|
|
InUseStateEnum state,
|
|
DateTime? from = null,
|
|
TimeSpan? reservationTimeSpan = null,
|
|
string mailAddress = null,
|
|
string code = null,
|
|
Bikes.BikeInfoNS.BC.NotifyPropertyChangedLevel notifyLevel = Bikes.BikeInfoNS.BC.NotifyPropertyChangedLevel.All);
|
|
}
|
|
}
|