forked from dk307/HSPI_InfluxDBPersistence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RecordData.cs
27 lines (25 loc) · 866 Bytes
/
RecordData.cs
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
using System;
namespace Hspi
{
internal readonly struct RecordData
{
public RecordData(int deviceRefId, in double deviceValue, string deviceString,
string name, string location1, string location2, in DateTime timeStamp)
{
this.DeviceRefId = deviceRefId;
this.DeviceValue = deviceValue;
this.DeviceString = deviceString;
this.Name = name;
this.Location1 = location1;
this.Location2 = location2;
this.TimeStamp = timeStamp;
}
public int DeviceRefId { get; }
public double DeviceValue { get; }
public string DeviceString { get; }
public string Name { get; }
public string Location1 { get; }
public string Location2 { get; }
public DateTime TimeStamp { get; }
}
}