增加时间处理
diff --git a/src/Apache.IoTDB/DataStructure/RowRecord.cs b/src/Apache.IoTDB/DataStructure/RowRecord.cs index 1000d53..902c442 100644 --- a/src/Apache.IoTDB/DataStructure/RowRecord.cs +++ b/src/Apache.IoTDB/DataStructure/RowRecord.cs
@@ -9,8 +9,12 @@ { public long Timestamps { get; } public List<object> Values { get; } - public List<string> Measurements { get; } - + public List<string> Measurements { get; } + + public RowRecord(DateTime timestamp, List<object> values, List<string> measurements) + :this(new DateTimeOffset(timestamp.ToUniversalTime()).ToUnixTimeMilliseconds(), values,measurements) + { + } public RowRecord(long timestamps, List<object> values, List<string> measurements) { Timestamps = timestamps;