mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
24 lines
1 KiB
C#
24 lines
1 KiB
C#
|
using System;
|
|||
|
|
|||
|
namespace TINK.Model.State
|
|||
|
{
|
|||
|
public interface IStateInfoMutable
|
|||
|
{
|
|||
|
InUseStateEnum Value { get; }
|
|||
|
|
|||
|
/// <summary> Updates state from webserver. </summary>
|
|||
|
/// <param name="p_oState">State of the bike.</param>
|
|||
|
/// <param name="p_oFrom">Date time when bike was reserved/ booked.</param>
|
|||
|
/// <param name="p_oDuration">Lenght of time span for which bike remains booked.</param>
|
|||
|
/// <param name="p_strMailAddress">Mailaddress of the one which reserved/ booked.</param>
|
|||
|
/// <param name="p_strCode">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 p_oState,
|
|||
|
DateTime? p_oFrom = null,
|
|||
|
string p_strMailAddress = null,
|
|||
|
string p_strCode = null,
|
|||
|
Bikes.Bike.BC.NotifyPropertyChangedLevel notifyLevel = Bikes.Bike.BC.NotifyPropertyChangedLevel.All);
|
|||
|
}
|
|||
|
}
|