using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static NPOI.HSSF.Util.HSSFColor;

namespace MesWork
{
    /// <summary>
    /// OnlineCheckData
    /// </summary>

    public class OnlineCheckData
    {
        /// <summary>
        /// MsgId
        /// </summary>
        public string MsgId { get; set; } = "";
        /// <summary>
        /// OpCode
        /// </summary>
        public string OpCode { get; set; } = "";
        /// <summary>
        /// ProductionCode
        /// </summary>
        public string ProductionCode { get; set; } = "";
        /// <summary>
        /// CheckTime
        /// </summary>
        public string ScanTime { get; set; } = "";

        /// <summary>
        /// CheckPerson
        /// </summary>
        public string CheckPerson { get; set; } = "";

        /// <summary>
        /// QualityMark
        /// </summary>
        public int QualityMark { get; set; } = 1;

        public List<OnlineCheckData_CheckData> CheckData { get; set; } = new List<OnlineCheckData_CheckData>();
    }

    public class OnlineCheckData_CheckData
    {
        /// <summary>
        /// CheckCode
        /// </summary>
        public string CheckCode { get; set; } = "";
        /// <summary>
        /// CheckName
        /// </summary>
        public string CheckName { get; set; } = "";
        /// <summary>
        /// ProductionCode
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// StandardValue
        /// </summary>
        public string StandardValue { get; set; } = "";
        /// <summary>
        /// MinValue
        /// </summary>
        public string MinValue { get; set; } = "";
        /// <summary>
        /// MaxValue
        /// </summary>
        public string MaxValue { get; set; } = "";
        /// <summary>
        /// CheckValue
        /// </summary>
        public string CheckValue { get; set; } = "";
        /// <summary>
        /// QualityMark
        /// </summary>
        public int QualityMark { get; set; } = 1;
    }
    public class PrintTaskData
    {
        ///       string msg = $"MARK|{printTemplete}|{productCode},{printDate}";

        /// <summary>
        /// printTemplete
        /// </summary>
        public string printTemplete { get; set; } = "";
        /// <summary>
        /// productCode
        /// </summary>
        public string productCode { get; set; } = "";
        /// <summary>
        /// printDate
        /// </summary>
        public string printDate { get; set; } = "";
       
    }




}
