using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace IStation.DataProvider
{
///
/// 城投恩普特振动记录 插入
///
public class SrcRecord
{
public SrcRecord(string objectId, DebugRecord rhs)
{
this.ObjectId = objectId;
this.DataTime = DateTime.Now;
this.SendTime = DateTime.Now;
this.InstrumentIp = rhs.InstrumentIp;
this.InstrumentType = rhs.InstrumentType;
this.SensorType = rhs.SensorType;
this.PointLenOfGroup = rhs.PointLenOfGroup;
this.PointLenOfPeriod = rhs.PointLenOfPeriod;
this.ChMagnification = rhs.ChMagnification;
this.ChCalParams = rhs.ChCalParams;
this.ChCoffParams= rhs.ChCoffParams;
this.ChIntegType= rhs.ChIntegType;
this.ChSencivity= rhs.ChSencivity;
this.ChCoefficient1X = rhs.ChCoefficient1X;
this.ChCoefficient2X=rhs.ChCoefficient2X;
this.Rpm = rhs.Rpm;
this.Frequency = rhs.Frequency;
this.DcValue = rhs.DcValue;
this.Wave = rhs.Wave;
}
///
/// 测试标识
///
public string ObjectId { get; set; }
///
/// 采集时间
///
public DateTime DataTime { get; set; }
///
/// 发送时间
///
public DateTime SendTime { get; set; }
#region 配置
///
/// 采集器IP地址
///
public string InstrumentIp { get; set; }
///
/// 采集器类型
///
public string InstrumentType { get; set; }
///
/// 传感器类型
///
public int SensorType { get; set; }
///
/// 每周期采样点数
///
public int PointLenOfPeriod { get; set; }
///
/// 每组数据采样点数
///
public int PointLenOfGroup { get; set; }
///
/// 通道放大倍数
///
public double ChMagnification { get; set; }
///
/// 通道校准系数
///
public double ChCalParams { get; set; }
///
/// 积分系数
///
public double ChCoffParams { get; set; }
///
/// 通道积分类型
///
public int ChIntegType { get; set; }
///
/// 通道灵敏度
///
public double ChSencivity { get; set; }
///
/// 一次积分系数
///
public double ChCoefficient1X { get; set; }
///
/// 二次积分系数
///
public double ChCoefficient2X { get; set; }
#endregion
#region 数据
///
/// 转速
///
public double Rpm { get; set; }
///
/// 频率
///
public double Frequency { get; set; }
///
/// 直流量
///
public double DcValue { get; set; }
#endregion
///
/// 波形数据
///
public string Wave { get; set; }
}
}