ningshuxia
2022-11-14 e4680615a852b2eb115b32c8bcbc3b788c3f9ef4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace IStation.DataProvider
{
    /// <summary>
    /// 城投恩普特振动记录 插入
    /// </summary>
    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;
        }
 
        /// <summary>
        /// 测试标识
        /// </summary>
        public string ObjectId { get; set; }
 
        /// <summary>
        /// 采集时间
        /// </summary>
        public DateTime DataTime { get; set; }
 
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SendTime { get; set; }
 
        #region 配置
 
        /// <summary>
        /// 采集器IP地址
        /// </summary>
        public string InstrumentIp { get; set; }
 
        /// <summary>
        /// 采集器类型
        /// </summary>
        public string InstrumentType { get; set; }
 
        /// <summary>
        /// 传感器类型
        /// </summary>
        public int SensorType { get; set; }
 
        /// <summary>
        /// 每周期采样点数
        /// </summary>
        public int PointLenOfPeriod { get; set; }
 
        /// <summary>
        /// 每组数据采样点数
        /// </summary>
        public int PointLenOfGroup { get; set; }
 
        /// <summary>
        /// 通道放大倍数
        /// </summary>
        public double ChMagnification { get; set; }
 
        /// <summary>
        /// 通道校准系数
        /// </summary>
        public double ChCalParams { get; set; }
 
        /// <summary>
        /// 积分系数
        /// </summary>
        public double ChCoffParams { get; set; }
 
        /// <summary>
        /// 通道积分类型
        /// </summary>
        public int ChIntegType { get; set; }
 
        /// <summary>
        /// 通道灵敏度
        /// </summary>
        public double ChSencivity { get; set; }
 
        /// <summary>
        /// 一次积分系数
        /// </summary>
        public double ChCoefficient1X { get; set; }
 
        /// <summary>
        /// 二次积分系数
        /// </summary>
        public double ChCoefficient2X { get; set; }
 
        #endregion
 
        #region 数据
 
        /// <summary>
        /// 转速
        /// </summary>
        public double Rpm { get; set; }
 
        /// <summary>
        /// 频率
        /// </summary>
        public double Frequency { get; set; }
 
        /// <summary>
        /// 直流量
        /// </summary>
        public double DcValue { get; set; }
 
        #endregion
 
 
        /// <summary>
        /// 波形数据
        /// </summary>
        public string Wave { get; set; }
 
    }
}