Version 3.0.360

This commit is contained in:
Anja 2023-02-22 14:03:35 +01:00
parent 5c0b2e70c9
commit faf68061f4
160 changed files with 2114 additions and 1932 deletions

View file

@ -1,4 +1,4 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
@ -144,18 +144,18 @@ namespace TINK.MultilingualResources {
/// <summary>
/// Looks up a localized string similar to Bold is blocked..
/// </summary>
internal static string ErrorOpenLockBoldBlocked {
internal static string ErrorOpenLockBoldIsBlocked {
get {
return ResourceManager.GetString("ErrorOpenLockBoldBlocked", resourceCulture);
return ResourceManager.GetString("ErrorOpenLockBoldIsBlocked", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Bold was or is blocked..
/// Looks up a localized string similar to Bold status is unknown..
/// </summary>
internal static string ErrorOpenLockBoldWasBlocked {
internal static string ErrorOpenLockBoldStatusIsUnknown {
get {
return ResourceManager.GetString("ErrorOpenLockBoldWasBlocked", resourceCulture);
return ResourceManager.GetString("ErrorOpenLockBoldStatusIsUnknown", resourceCulture);
}
}

View file

@ -1,11 +1,20 @@
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
namespace TINK.Services.BluetoothLock.Exception
{
public class CouldntCloseBoldBlockedException : StateAwareException
{
public CouldntCloseBoldBlockedException() : base(
LockingState.UnknownFromHardwareError, // Lock is closed in most cases, but this is not guaranteed according to haveltec.
/// <summary>
/// Constructs a bold blocked exception.
/// </summary>
/// <remarks>
/// Lock is closed in most cases, but this is not guaranteed according to haveltec.
/// </remarks>
/// <param name="state">State of the lock while/ after bold blocked event.</param>
/// <remarks>
/// </remarks>
public CouldntCloseBoldBlockedException(LockingState state = LockingState.UnknownFromHardwareError) : base(
state,
MultilingualResources.Resources.ErrorCloseLockBoldBlocked)
{
}

View file

@ -1,4 +1,4 @@
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
namespace TINK.Services.BluetoothLock.Exception
{
@ -9,7 +9,7 @@ namespace TINK.Services.BluetoothLock.Exception
{
public CouldntOpenBoldIsBlockedException() : base(
LockingState.UnknownFromHardwareError,
MultilingualResources.Resources.ErrorOpenLockBoldBlocked)
MultilingualResources.Resources.ErrorOpenLockBoldIsBlocked)
{
}
}

View file

@ -1,15 +1,15 @@
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
namespace TINK.Services.BluetoothLock.Exception
{
/// <summary>
/// Lock can not be opened, because bold is/ was blocked. Obstacle might no more block but lock could not be opened completely to obstacle.
/// </summary>
public class CouldntOpenBoldWasBlockedException : StateAwareException
public class CouldntOpenBoldStatusIsUnknownException : StateAwareException
{
public CouldntOpenBoldWasBlockedException() : base(
public CouldntOpenBoldStatusIsUnknownException() : base(
LockingState.UnknownFromHardwareError,
MultilingualResources.Resources.ErrorOpenLockBoldWasBlocked)
MultilingualResources.Resources.ErrorOpenLockBoldStatusIsUnknown)
{
}
}