using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IStation.Model.Monitor;
namespace IStation.Server
{
///
/// 常规实时测点Model
///
public class GeneralRealMonitorPointModel:Model.MonitorPoint
{
///
///
///
public GeneralRealMonitorPointModel() { }
///
///
///
public GeneralRealMonitorPointModel(Model.MonitorPoint rhs) : base(rhs)
{
this.Slot = Model.Monitor.RealSlot.ToModel(rhs.CronParas);
if (this.Slot == null)
{
this.Slot = new RealSlot();
}
}
///
///
///
public GeneralRealMonitorPointModel(Model.MonitorPoint rhs, Model.Monitor.RealSlot slot) : base(rhs)
{
this.Slot = slot;
if (this.Slot == null)
{
this.Slot = new RealSlot();
}
}
///
/// Slot
///
public RealSlot Slot { get; set; }
}
}