using TINK.Model.State;
namespace TINK.ViewModel.Bikes.Bike
{
///
/// Base interface for Copri and ILockIt request handler.
/// Copri communication is used by both handlers.
///
public interface IRequestHandlerBase
{
/// Gets the bike state.
InUseStateEnum State { get; }
///
/// Gets a value indicating whether the copri button which is managed by request handler is visible or not.
///
bool IsButtonVisible { get; }
/// View model to be used for progress report and unlocking/ locking view.
IBikesViewModel BikesViewModel { get; }
///
/// Gets the text of the copri button which is managed by request handler.
///
string ButtonText { get; }
/// Gets the is connected state.
bool IsConnected { get; }
/// Gets if the bike has to be remvoed after action has been completed.
bool IsRemoveBikeRequired { get; }
}
}