LocalDB.cs 1.03 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FLY.Thick.Blowing.Server.Model
{
    /// <summary>
    /// 正在生产的数据,或之前生产完的数据
    /// </summary>
潘栩锋's avatar
潘栩锋 committed
13
    public class LocalDb : INotifyPropertyChanged
14
    {
潘栩锋's avatar
潘栩锋 committed
15
        public Db_Profile CurrProfile;
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

        /// <summary>
        /// 当前生产,开始产生数据时间
        /// </summary>
        public DateTime ProfileStartTime { get; set; }

        /// <summary>
        /// 当前生产,最后产生数据时间
        /// </summary>
        public DateTime ProfileEndTime { get; set; }

        /// <summary>
        /// 当前生产,已经结束,已经下辊了
        /// </summary>
        public bool IsProfileFinished { get; set; }

潘栩锋's avatar
潘栩锋 committed
32
        public LocalDb()
33 34 35 36 37 38 39 40 41 42 43
        {
            Init();
        }
        void Init()
        {
            CurrProfile = null;
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}