mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 05:47:28 +02:00
Version 3.0.370
This commit is contained in:
parent
f5cf9bb22f
commit
bdb2dec1c1
233 changed files with 10252 additions and 6779 deletions
|
@ -13,7 +13,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public BluetoothDisconnectedException() : base(
|
||||
LockingState.UnknownDisconnected,
|
||||
MultilingualResources.Resources.ErrorBluetoothDisconnectedException)
|
||||
MultilingualResources.Resources.LockItExceptionBluetoothDisconnected)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,8 +10,8 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
/// </remarks>
|
||||
public class ConnectBluetoothNotOnException : System.Exception
|
||||
{
|
||||
public ConnectBluetoothNotOnException() : base(Resources.ErrorConnectLockBluetoothOffException) { }
|
||||
public ConnectBluetoothNotOnException() : base(Resources.LockItExceptionConnectLockBluetoothOffException) { }
|
||||
|
||||
public ConnectBluetoothNotOnException(object state) : base(string.Format(Resources.ErrorConnectLockBluetoothNotOnException, state.ToString())) { }
|
||||
public ConnectBluetoothNotOnException(object state) : base(string.Format(Resources.LockItExceptionConnectLockBluetoothNotOnException, state.ToString())) { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public class ConnectLocationOffException : System.Exception
|
||||
{
|
||||
public ConnectLocationOffException() : base(Resources.ErrorConnectLockLocationOffException) { }
|
||||
public ConnectLocationOffException() : base(Resources.LockItExceptionConnectLockLocationOffException) { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public class ConnectLocationPermissionMissingException : System.Exception
|
||||
{
|
||||
public ConnectLocationPermissionMissingException() : base(Resources.ErrorConnectLockLocationPermissingMissingException) { }
|
||||
public ConnectLocationPermissionMissingException() : base(Resources.LockItExceptionConnectLockLocationPermissingMissingException) { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
|||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
public class CouldntCloseBoldBlockedException : StateAwareException
|
||||
public class CouldntCloseBoltBlockedException : StateAwareException
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs a bold blocked exception.
|
||||
|
@ -13,9 +13,9 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
/// <param name="state">State of the lock while/ after bold blocked event.</param>
|
||||
/// <remarks>
|
||||
/// </remarks>
|
||||
public CouldntCloseBoldBlockedException(LockingState state = LockingState.UnknownFromHardwareError) : base(
|
||||
public CouldntCloseBoltBlockedException(LockingState state = LockingState.UnknownFromHardwareError) : base(
|
||||
state,
|
||||
MultilingualResources.Resources.ErrorCloseLockBoldBlocked)
|
||||
MultilingualResources.Resources.LockItExceptionCloseLockBoltBlocked)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
||||
using TINK.MultilingualResources;
|
||||
|
||||
|
@ -10,8 +10,8 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
base(
|
||||
state,
|
||||
state != LockingState.UnknownFromHardwareError
|
||||
? string.Format(Resources.ErrorCloseLockUnexpectedState, state)
|
||||
: Resources.ErrorCloseLockUnknownPosition)
|
||||
? string.Format(Resources.LockItExceptionCloseLockUnexpectedLockState, state)
|
||||
: Resources.LockItExceptionCloseLockUnknownPosition)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
||||
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
||||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
|
@ -6,7 +6,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public CouldntCloseMovingException() : base(
|
||||
LockingState.Open, // Locking bold is probable (according to haveltec) still open.
|
||||
MultilingualResources.Resources.ErrorCloseLockBikeMoving)
|
||||
MultilingualResources.Resources.LockItExceptionCloseLockMoving)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public CouldntOpenBoldIsBlockedException() : base(
|
||||
LockingState.UnknownFromHardwareError,
|
||||
MultilingualResources.Resources.ErrorOpenLockBoldIsBlocked)
|
||||
MultilingualResources.Resources.LockItExceptionOpenLockBoltBlocked)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
{
|
||||
public CouldntOpenBoldStatusIsUnknownException() : base(
|
||||
LockingState.UnknownFromHardwareError,
|
||||
MultilingualResources.Resources.ErrorOpenLockBoldStatusIsUnknown)
|
||||
MultilingualResources.Resources.LockItExceptionOpenLockBoldStatusIsUnknown)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
|
||||
using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
||||
using TINK.MultilingualResources;
|
||||
|
||||
|
@ -9,7 +9,7 @@ namespace TINK.Services.BluetoothLock.Exception
|
|||
public CouldntOpenInconsistentStateExecption(LockingState state) :
|
||||
base(
|
||||
state,
|
||||
string.Format(Resources.ErrorOpenLockUnexpectedState, state))
|
||||
string.Format(Resources.LockItExceptionOpenLockUnexpectedState, state))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
namespace TINK.Services.BluetoothLock.Exception
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
/// <summary> Thrown whenever lock is out of reach.</summary>
|
||||
/// <remarks> If fired when scan for devices does not result in lock beeing found.</remarks>
|
||||
/// <remarks> If fired when scan for devices does not result in lock being found.</remarks>
|
||||
public class OutOfReachException : System.Exception
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue