mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 07:06:33 +01:00
21 lines
600 B
C#
21 lines
600 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|