initial commit
This commit is contained in:
28
TrendCtrlII/CTimeinfo.cs
Normal file
28
TrendCtrlII/CTimeinfo.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace TrendCtrlII
|
||||
{
|
||||
public partial class CTimeinfo
|
||||
{
|
||||
|
||||
public Int64 Value { get; set; }
|
||||
public UInt32 idx { get; set; }
|
||||
|
||||
public CTimeinfo(UInt32 _idx, Int64 _val)
|
||||
{
|
||||
Value = _val;
|
||||
idx = _idx;
|
||||
}
|
||||
|
||||
public DateTime DateTimeData
|
||||
{
|
||||
get
|
||||
{
|
||||
return DateTime.FromFileTime(Value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user