mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 23:56:26 +01:00
37 lines
1,013 B
C#
37 lines
1,013 B
C#
using System;
|
|
using TINK.Services.Geolocation;
|
|
|
|
namespace TINK.Model.Bikes.BikeInfoNS.BluetoothLock
|
|
{
|
|
public interface ILockInfoMutable
|
|
{
|
|
/// <summary> Identification number of bluetooth lock.</summary>
|
|
int Id { get; }
|
|
|
|
/// <summary> Gets the user key.</summary>
|
|
byte[] UserKey { get; }
|
|
|
|
LockingState State { get; set; }
|
|
|
|
/// <summary> Holds the percentage of lock battery.</summary>
|
|
double BatteryPercentage { get; set; }
|
|
|
|
/// <summary> Changes during runtime: Can be unknown when set from copri and chang to a valid value when set from lock.</summary>
|
|
Guid Guid { get; set; }
|
|
|
|
byte[] Seed { get; }
|
|
|
|
/// <summary> Timestamp of the last locking state change.</summary>
|
|
DateTime? LastLockingStateChange { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the current location of the bike, null if location is unknown.
|
|
/// </summary>
|
|
IGeolocation Location { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets the version info of the locks.
|
|
/// </summary>
|
|
IVersionInfo VersionInfo { get; set; }
|
|
}
|
|
}
|