mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 12:56:29 +02:00
Initial version.
This commit is contained in:
parent
193aaa1a56
commit
b72c67a53e
228 changed files with 25924 additions and 0 deletions
33
TINKLib/ViewModel/Bikes/Bike/IRequestHandlerBase.cs
Normal file
33
TINKLib/ViewModel/Bikes/Bike/IRequestHandlerBase.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using TINK.Model.State;
|
||||
|
||||
namespace TINK.ViewModel.Bikes.Bike
|
||||
{
|
||||
/// <summary>
|
||||
/// Base interface for Copri and ILockIt request handler.
|
||||
/// Copri communication is used by both handlers.
|
||||
/// </summary>
|
||||
public interface IRequestHandlerBase
|
||||
{
|
||||
/// <summary> Gets the bike state. </summary>
|
||||
InUseStateEnum State { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the copri button which is managed by request handler is visible or not.
|
||||
/// </summary>
|
||||
bool IsButtonVisible { get; }
|
||||
|
||||
/// <summary>View model to be used for progress report and unlocking/ locking view.</summary>
|
||||
IBikesViewModel BikesViewModel { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the text of the copri button which is managed by request handler.
|
||||
/// </summary>
|
||||
string ButtonText { get; }
|
||||
|
||||
/// <summary>Gets the is connected state. </summary>
|
||||
bool IsConnected { get; }
|
||||
|
||||
/// <summary> Gets if the bike has to be remvoed after action has been completed. </summary>
|
||||
bool IsRemoveBikeRequired { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue