mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-28 07:16:27 +02:00
Initial version.
This commit is contained in:
parent
193aaa1a56
commit
b72c67a53e
228 changed files with 25924 additions and 0 deletions
20
TINKLib/Model/State/BaseState.cs
Normal file
20
TINKLib/Model/State/BaseState.cs
Normal file
|
@ -0,0 +1,20 @@
|
|||
using System.Runtime.Serialization;
|
||||
|
||||
namespace TINK.Model.State
|
||||
{
|
||||
/// <summary>
|
||||
/// Base type for serialization purposes.
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
[KnownType(typeof(StateAvailableInfo))]
|
||||
[KnownType(typeof(StateRequestedInfo))]
|
||||
[KnownType(typeof(StateOccupiedInfo))]
|
||||
public abstract class BaseState
|
||||
{
|
||||
/// <summary> Constructor for Json serialization. </summary>
|
||||
/// <param name="p_eValue">State value.</param>
|
||||
protected BaseState(InUseStateEnum p_eValue) {}
|
||||
|
||||
public abstract InUseStateEnum Value { get; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue