using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class ObjectMapInfo<T> : ObjectMapInfo
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public ObjectMapInfo() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public ObjectMapInfo(ObjectMapInfo<T> rhs) : base(rhs)
|
{
|
this.Position = rhs.Position;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public ObjectMapInfo(ObjectMapInfo rhs) : base(rhs)
|
{
|
this.Position = JsonHelper.Json2Object<T>(rhs.Position);
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public ObjectMapInfo(ObjectMapInfo rhs, T position) : base(rhs)
|
{
|
this.Position = position;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public new T Position { get; set; }
|
|
}
|
}
|