sharee.bike-App/TINKLib/Model/Connector/IConnector.cs

15 lines
390 B
C#
Raw Normal View History

2023-11-06 12:23:09 +01:00
namespace TINK.Model.Connector
2021-05-13 20:03:07 +02:00
{
2022-09-06 16:08:19 +02:00
public interface IConnector
{
2023-11-06 12:23:09 +01:00
/// <summary> Object for querying stations and bikes.</summary>
2022-09-06 16:08:19 +02:00
ICommand Command { get; }
2021-05-13 20:03:07 +02:00
2023-11-06 12:23:09 +01:00
/// <summary> Object for querying stations and bikes.</summary>
2022-09-06 16:08:19 +02:00
IQuery Query { get; }
2021-05-13 20:03:07 +02:00
2022-09-06 16:08:19 +02:00
/// <summary> True if connector has access to copri server, false if cached values are used. </summary>
bool IsConnected { get; }
}
2021-05-13 20:03:07 +02:00
}