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);
            }
        }
    }
}
