using Siger.Middlelayer.Common.ModuleEnum;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace Siger.Middlelayer.Redis.RedisEntities
{
    /// <summary>
    /// 刀具寿命
    /// </summary>
    public class SetToolData : RedisEntityBase
    {
        /// <summary>
        /// 设备id
        /// </summary>
        public int MID { get; set; }
        /// <summary>
        /// 刀具号
        /// </summary>
        public string ToolNumber { get; set; }
        public string ToolNumber2 { get; set; }
        /// <summary>
        /// 当前刀具剩余寿命
        /// </summary>
        public double Life { get; set; }
        public double Life2 { get; set; }
        /// <summary>
        /// 1 Inactive 2 Ready 3 Running 4 Stopped 5 Currently resetting 6 A part program is compiled and checked 7 Errors
        /// </summary>
        public ChannelState ChannelState { get; set; }
        /// <summary>
        /// 步骤号
        /// </summary>
        public string Step { get; set; }
    }
}
