using System.Runtime.Serialization;
namespace TINK.Model.State
{
///
/// Base type for serialization purposes.
///
[DataContract]
[KnownType(typeof(StateAvailableInfo))]
[KnownType(typeof(StateRequestedInfo))]
[KnownType(typeof(StateOccupiedInfo))]
public abstract class BaseState
{
/// Constructor for Json serialization.
/// State value.
protected BaseState(InUseStateEnum p_eValue) {}
public abstract InUseStateEnum Value { get; }
}
}